Ask A Question

View Question

Hi Guys!

I've already took a look at the following questions, but I can't figure out my problem.

Question 1

Question 2

I have a problem reguarding the source files and symbols using ProGet and VS2017.

My scenario is the following

  • Develop test assembly on my pc
  • Push mod files on our git server
  • Get mod files in our TeamCity (2018.2.4)
  • Build source in Release mode, pack and publish the AssemblyTest.symbols.nupkg on ProGet
  • In VS2017 I've create a test console app, install the AssemblyTest via Package Reference and I've tried simply to press F12 on the class in my code to show the source code.

I've configure VS2017 as the guide suggests here

The nuget pack command was launched with -symbols command line parameter and the symbol.nupkg was created with the following stucture

  • package
    • service
      • metadata
      • ...
  • lib
    • net472
      • TestAssembly.dll
      • TestAssembly.pdb
      • TestAssembly.xml
  • src
    • Properties
      • AssemblyInfo.cs
    • TestClass.cs

Pressing F12 on TestClass in my code the pdb was correctly downloaded in


and selecting ReSharper item form the drop down list on the output window in Visual Studio I see

PdbNavigator: Downloader: -> The remote server returned an error: (500) Internal Server Error. <= OK, it's MS symbol server

PdbNavigator: Downloader: http://myproget/symbols/dev/testassembly.pdb/bf5be5cd155e4400b9b18c0e1e6a05941/testassembly.pdb -> ok, 15.5 KB <= OK, it's our ProGet server

PdbNavigator: Searching for 'TestAssembly.TestClass' type sources in C:\Users\me\AppData\Local\Temp\SymbolCache\TestAssembly.pdb\bf5be5cd155e4400b9b18c0e1e6a05941\TestAssembly.pdb

PdbNavigator: Downloader: http://myproget/source-files/dev/TestAssembly/ -> The remote server returned an error: (404) Not Found. <= Here we come :(

PdbNavigator: No sources found in debugging information for 'TestAssembly.TestClass' in assembly 'TestAssembly, Version=, Culture=neutral, PublicKeyToken=null'

In my symbolcache folder there is a subfolder with this path


but there's no source file instead.

Taking a look inside the pdb file and I've found

SRCSRV: ini ------------------------------------------------
SRCSRV: variables ------------------------------------------
SRCSRV: source files ---------------------------------------
SRCSRV: end ------------------------------------------------

So, my question is: how can I download correctly the source file from ProGet? What's wrong in my scenario?

Thank you!

Product: ProGet
Version: 5.1.23

Hi Fabrizio,
It appears that the ProGet source code is fine but the issue is with NuGet symbol & source server.

Hi Jason,
thank you for your reply!
So, the problem is how I pack my assebly?
How can I solve the problem?

Thank you!

Answer Question