You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal was to add .pdb as an extension, so that if someone was using SourceLink, it would pack the .pdb files by default. It works when the project is using TargetFramework, but not when it uses TargetFrameworks. The problem is easy to reproduce and is well documented already in ctaggart/SourceLink#291, but let me we know I need to transfer over more info to this issue.
Briefly, when dotnet pack is run and TargetFrameworks is used instead of TargetFramework, this generated code does not import the props. Please make it so that the props are imported.
@ctaggart the properties need to go in the outer build, so you might want to consider putting the same props files in the buildCrossTargeting folder alogn with build folder
My goal was to add
.pdb
as an extension, so that if someone was using SourceLink, it would pack the .pdb files by default. It works when the project is usingTargetFramework
, but not when it usesTargetFrameworks
. The problem is easy to reproduce and is well documented already in ctaggart/SourceLink#291, but let me we know I need to transfer over more info to this issue.Briefly, when
dotnet pack
is run andTargetFrameworks
is used instead ofTargetFramework
, this generated code does not import the props. Please make it so that the props are imported.Versions
Related Issues
msbuild /t:Pack always creates seperate symbols package #4142
Improve NuGet package debugging and symbols experience #6104
The text was updated successfully, but these errors were encountered: