Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio help system targets wrong framework version

Sometimes, when I press F1 in Visual Studio Code Editor, it opens browser with MSDN page for .NET Micro Framework. My projects are using .NET Framework 4.5 and there is no trace of Micro Framework in them.

For example pressing F1 over MulticastDelegate in my code editor opens this link instead of this link.

Anybody has the same issues?

UPDATE:
As Jeff Braaten suggested, I checked Debug help context and it seems fine. There is no difference (except the keyword) between context for Action and MulticastDelegate, for example.

And the same tells generated URL For Action:

http://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1
&l=EN-US&k=k(System.Action);
k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);
k(DevLang-csharp)&rd=true

For MulticastDelegate:

http://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1
&l=EN-US&k=k(System.MulticastDelegate);
k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);
k(DevLang-csharp)&rd=true

So, most likely, it's not how VS generates request, it's how MSDN search engine interprets it.

like image 725
Anri Avatar asked Jan 22 '13 19:01

Anri


People also ask

How do I change my target framework to .NET standard?

In Visual Studio select Analyze and then Portability Analyzer Settings. In the General Settings window, select . NET Standard 2.0 under Target Platforms, and then choose OK.


1 Answers

This is a known issue with F1 and Visual Studio 2012. We are working on it, and there is no workaround at this time. For now, you'll need to use search to find the correct topic. Robin Reynolds-Haertle, Documentation Manager

like image 163
user2012556 Avatar answered Nov 12 '22 02:11

user2012556