I'm trying to create a debugger nuget package. So, I start with "Creating symbol packages". Create package using
nuget pack PackageARM.nuspec -Symbols
PackageARM.nuspec:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>PackageARM</id>
<version>1.0.15</version>
<authors>PackageARM</authors>
<owners>PackageARM</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Package Description</description>
<dependencies>
<group targetFramework=".NETStandard2.0" />
</dependencies>
</metadata>
<files>
<file src="bin\Release\netstandard2.0\*.pdb" target="lib\netstandard2.0" />
<file src="bin\Release\netstandard2.0\*.dll" target="lib\netstandard2.0" />
<file src="**\*.cs" target="src" />
</files>
</package>
And push it to nuget: https://www.nuget.org/packages/PackageARM/1.0.15
Then uncheck Enable Just My Code
and check Enable source server support
in VS 2017. Also I tried to add symbol servers: https://www.nuget.org, https://nuget.smbsrc.net/ but no result.
When I try step into method from package using F11 it just step to the next line. What I missed?
My pdb file contains path to .cs file that is 'C:\project\ProjectARM\Class1.cs' it is ok? how can other users debug if the doesn't have that path with source?