razor icon indicating copy to clipboard operation
razor copied to clipboard

Renamed component not recognized

Open vsfeedback opened this issue 4 years ago • 0 comments

This issue has been moved from a ticket on Developer Community.


I renamed my Counter.razor component to App.razor and then updated my root component registration to refer to App instead of Counter, but App wasn't recognized:

Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?) BlazorApp1.Client C:\Users\daroth\source\repos\BlazorApp1\BlazorApp1\Client\Program.cs 6 Active

The project builds cleanly in spite of this intellisense error.

image.png

Rebuilding didn't help, but restarting VS resolved the issue


Original Comments

Feedback Bot on 10/7/2021, 11:38 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

vsfeedback avatar Oct 14 '21 21:10 vsfeedback