I've read this: How to debug into my nuget package deployed from TeamCity? but for some reason my project cannot be debugged, without asking me to specify for the location of the source file. Using the following commands i was able to properly create a package (without having to add any of it in the .csproj) with symbols
The package in question is located on a local nuget feed.
It will prompt me for the source file during debugging, despite the nupkg containing debugging symbols+sources it isn't working
Commands used to produce the package:
dotnet clean "../$path"
dotnet pack "../$path" -o "$outputRoot" -v $verbosity -c $configuration -symbols --include-symbols --include-source /p:PackageVersion=$version
Invoke-Expression "& $nugetPath push $outputRoot\$path.$version.symbols.nupkg -source $localFeed"
Structure in local repo:
contents of local nuget feed
contents of package.id/$version/
contents of lib/net462
To me it looks like the package is in a state where this should be working - shouldn't it?