SLaks / Ref12

Sends F12 in Visual Studio to the new .Net Reference Source Browser
http://visualstudiogallery.msdn.microsoft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e
74 stars 24 forks source link

NetStandard support #34

Open sirphilliptubell opened 6 years ago

sirphilliptubell commented 6 years ago

Could we get support for netstandard? F12 on a clr type in a project that's using netstandard brings you to the metadata information.

SLaks commented 5 years ago

This is tricky, because VS reports types as they're defined in Reference Assemblies, which does not match the actual source.

There is no way for the extension to bring you to projects like System.Private.CorLib.

See https://github.com/KirillOsenkov/SourceBrowser/issues/106

Gav-Brown commented 5 years ago

Suggested interim solution, change request for Ref12, on https://github.com/KirillOsenkov/SourceBrowser/issues/106#issuecomment-497938177

Gav-Brown commented 5 years ago

@SLaks As an interim solution, for .NET Standard and .NET Core projects, could Ref12 be altered to open source.dot.net with the search parameter set to the fully qualified method name System.IO.Path.Combine e.g. https://source.dot.net/#q=System.IO.Path.Combine

This isn't as streamlined as opening the source page directly, but is close, and adds more value than the metadata.

mikernet commented 5 years ago

This is desperately needed.

efreykongcn commented 2 years ago

Suggested interim solution, change request for Ref12, on KirillOsenkov/SourceBrowser#106 (comment)

Ref12 with NetCore Support for VS 2017/2019/2022 are available on Visual Studio Marketplace now, searching in the marketplace with keywords Ref12 NetCore Support for VS 2017/2019, and Ref12 2022 for VS 2022.