question

TWallace-7835 avatar image
3 Votes"
TWallace-7835 asked DeanGoddard-0932 commented

Visual Studio 2019 “Solution Explorer” “View Code” icon C#

Does anyone else have this issue? There does not seem to be a way to edit the Solution Explorer toolbar. One of the icons for Solution Explorer is missing in my C# projects.
I am using Version 16.10.3 of Visual Studio 2019.

Missing View Code button


113386-2021-07-09-10-31-53.jpg


vs-general
· 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.

You can customize Visual Studio Solution Explorer Toolbar.
Add a command to the Solution Explorer toolbar

There is already a discussion going on here, might help!
Solution Explorer: View Code (F7) missing from context menu on Compile items in sdk style projects


0 Votes 0 ·

Have you selected a source file before ?

0 Votes 0 ·
AnnaXiu-MSFT avatar image
1 Vote"
AnnaXiu-MSFT answered

Hi @TWallace-7835,

Do you have any update?
It seems to have been reported here:
https://developercommunity.visualstudio.com/t/View-Code-Icon-missing-from-Solution-Exp/1405966

You can also add your comments in there to track the process.

Thank you for your understanding.

Sincerely,
Anna


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.



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.

TWallace-7835 avatar image
0 Votes"
TWallace-7835 answered DeanGoddard-0932 commented


I think that I have discovered the issue. When you create a (.NET Core 3.1 or .NET Core 5.0) project the VS environment is setup different. I deleted the .NET 5.0 project and recreated as a .NET Standard project & solution with the same name and the icon showed up again.


· 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.

Correct Wallace. But I want the View Code button back for .NET 5.0 projects.

1 Vote 1 ·