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

貢獻者指南