Open vsfeedback opened 1 year ago
This issue has been moved from a ticket on Developer Community.
Please see the attached picture.
In .Net Blazor server with .Net 6.0 Long Term Support, the following problem happens.
Repro steps:
Create a new .Net Blazor project wiht .Net 6.0, Windows Auth (in case that matters) in Visual Studio 2022 17.6.
In the project, create "Components" subfolder in Solution Explorer.
Create a new Blazor component in the Components subfolder.
Introduce an error of any kind that Error List would list as an error, such as Method must have a return type, CS1250.
Right-Click, Copy the file to the same Components folder in Solution Exolorer
Error List (appropriately) lists two errors in two files now.
Rename the file, now named as TheOriginal - Copy.razor, as TheActualNameYouWant.razor
Fix the bug in the the original file.
Fix the bug in the newly copied, TheActualNameYouWant.razor
The error list should now be clear, but, the error by the pre-rename file remains and does not go away.
(private comment, text removed)
(no solutions)
The fix here is to deal with workspace pull diagnostics, and return null for any documents that have been removed from the project since the previous workspace pull diagnostics request.
null
This issue has been moved from a ticket on Developer Community.
Please see the attached picture.
In .Net Blazor server with .Net 6.0 Long Term Support, the following problem happens.
Repro steps:
Create a new .Net Blazor project wiht .Net 6.0, Windows Auth (in case that matters) in Visual Studio 2022 17.6.
In the project, create "Components" subfolder in Solution Explorer.
Create a new Blazor component in the Components subfolder.
Introduce an error of any kind that Error List would list as an error, such as Method must have a return type, CS1250.
Right-Click, Copy the file to the same Components folder in Solution Exolorer
Error List (appropriately) lists two errors in two files now.
Rename the file, now named as TheOriginal - Copy.razor, as TheActualNameYouWant.razor
Fix the bug in the the original file.
Fix the bug in the newly copied, TheActualNameYouWant.razor
The error list should now be clear, but, the error by the pre-rename file remains and does not go away.
Original Comments
Feedback Bot on 14/07/2023, 01:06 PM:
(private comment, text removed)
Original Solutions
(no solutions)