question

Rayaprol avatar image
0 Votes"
Rayaprol asked DylanZhu-MSFT commented

Visual Studio 2019 .razor file Code Editor F1 Help

I am unable to navigate to the documentation (F1 Key) by selecting any element in the .razor file. However, F1 command works fine in both html and CS file.
Could you please help in resolving this issue?

Project: Blazor Web Assembly
IDE: Visual studio 2019

vs-generaldotnet-aspnet-core-blazorvs-setup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered DylanZhu-MSFT commented

Hi Rayaprol,

You can open visual studio installer, then check if the ASP.NET and web development tool has been installed.
84600-image.png

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (11.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks Dylan. I can confirm that the component "Asp.net and web development tools" is already installed on my machine.

Best Regards,
Chandra Mohan


0 Votes 0 ·

Hi @Rayaprol, what is the pop-up page on your side?

  • If it is a all-documents page, it means that document library doesn't contain selected elements
    84745-image.png

  • If it is a introduction about F1 help, maybe you need to repair your visual studio.
    84733-image.png

0 Votes 0 ·
image.png (42.6 KiB)
image.png (31.3 KiB)
Rayaprol avatar image
0 Votes"
Rayaprol answered DylanZhu-MSFT commented

Hi @DylanZhu-MSFT ,

I got the Code F1 Help Pop up page and as suggested repaired the visual studio 2019. This resolved the issue and now navigating smoothly to the relevant html tag help page. Thank your for your support.


Just also want to list similar issue. I am unable to navigate to the Microsoft Predefined razor component <AuthorizeView> help reference. The Razor file and pop up page image attached for your reference. Your expert suggestions in resolving this issue will be greatly appreciated.

Best Regards,
Chandra Mohan


[1]: /answers/storage/attachments/84892-razorcomponentpopup.png

[2]: /answers/storage/attachments/84847-razorfile.png


razorfile.png (144.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Rayaprol, I got the same result on my side. We suggest you report it in developer community: https://developercommunity.visualstudio.com/report?space=8&entry=problem

1 Vote 1 ·