dotnet/roslyn
MoveTypeCodeRefactoringProvider doesn't work for linked code
Aperta
#39.733 aperta il 8 nov 2019
Area-IDEBugIDE-CodeStylehelp wanted
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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