I use Visual Studio 2019 (16.7.7). I created new ASP.NET Web Application (.NET Framework) with web forms. But in code behind “Find All References” doesn’t work for setter. And in .aspx-file I can’t “drill down” to user control definition. It seems like a plain text.
I can’t use a previous visual studio version. My current project contains a lot of web forms and also projects with PackageReference format
I had installed visual studio 2017 before. But I unistalled it according to https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2017 and https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio?view=vs-2017 Also I several times have reinstalled visual studio 2019 but problem remains
Here are steps to reproduce:
- Create ASP.NET WEB Application (.Net Framework) C#
- Select Web Forms Template
- At ViewSwitcher.aspx.cs file I have added public property
public string SomeProp { get; set; }
- At Site.Mobile.Master file I have added value. Here intellisense works. It suggests property SomeProp.
<friendlyUrls:ViewSwitcher SomeProp="someValue" runat="server" />
- Build.
- Return to ViewSwitcher.aspx.cs. I do right mouse click on
set
ofSomeProp
and click "Find All References". But it doesn't show using from Site.Mobile.Master.
It is too difficult make any refactoring and rename without it
Maybe, visual studio have never had such feature. Previously I have used Resharper but now I can't use it.
The same true for visual studio 2017. windows 10