dotnet/roslyn

MoveTypeCodeRefactoringProvider doesn't work for linked code

开放

#39,733 创建于 2019年11月8日

 (2 条评论) (0 个反应) (0 位负责人)C# (4,257 个派生)batch import
Area-IDEBugIDE-CodeStylehelp wanted

仓库指标

星标
 (20,414 个星标)
PR 合并指标
 (平均合并 6天 17小时) (30 天内合并 256 个 PR)

描述

My csproj file refers to a particular file via:

  <ItemGroup>
    <Compile Include="..\..\Some\Other\Place\**\*.cs" LinkBase="FooBar" />
  </ItemGroup>

But when I try to use the refactor command to move classes in these files into their own .cs files, it crashes and the stack trace indicates it couldn't find the new file in "FooBar" directory, which doesn't actually exist. v16.2.3

贡献者指南