Debugging using PDB and source files in Symbol package

I am trying to enable debugging and source stepping on .NET code compiled and released as a nuget package. For this, I am using myGet where I publish 2 nuget packages - a binary and a symbol package.

The symbol package includes the *.PDB and source files. I have set up Visual Studio to use the symbols server from myGet but it seems that the source path in the pdb files points to my local copy of code - the one used for building instead of the one present in the symbols package.

I have read that I need to enable source indexing in order to achieve my goal - and I am trying to use MsBuild Community Tasks for this purpose. However, I cannot find documentation on how to point at the source code present in a nuget package and not to TFS/Git code. Can anybody help me with this?

Thank you in advance!

链接地址: http://www.djcxy.com/p/74570.html

上一篇: 如何在Android应用程序中使用现有的数据库

下一篇: 在Symbol包中使用PDB和源文件进行调试