VisualStudio: Find implementation inside my nuget package
I am afraid there is no such out-of-box way to do this at this moment.
As we know, the symbol server is used for debugging. We could step into the source code by the Debugger and symbol.
But if we use Ctrl
+ F12
directly from your code, it would only search for implementations in your code. It does not invoke the debug mechanism, so it can not find the implementation in the nuget package, even if we provide the symbol server.
So, if you still want to find implementation inside nuget package, as workaround, you can try to add the source code into the reference project, we could include the source code in to the content folder in the .nuspec
file,like:
<files>
<file src="TestDemo.cs" target="content\Implementation" />
</files>
In this case, the source code will be added to the reference project, we could use Ctrl+F12 to find implementation.
Hope this helps.