-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Cannot use DebugType=embedded in normal csproj #19066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
The problem is in the msbuild target where we force to override everything to portable this is wrong. /cc @radical |
We needed to do that earlier. If embedded works fine now, then we can remove the override. What branches should this be done for? |
The fix for embedded pdbs is in master, 2020-02, 2019-12. |
Waiting on:
|
All the PRs have been merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to Reproduce
Current Behavior
Microsoft.CSharp.Mono.targets overrides the
DebugType
value.Expected Behavior
It should let either embedded or portable be valid options.
On which platforms did you notice this
[*] macOS
[ ] Linux
[ ] Windows
Version Used:
Workarounds
If you set the DebugType in a targets file that's imported after the Mono one, you can successfully build with embedded PDBs.
The text was updated successfully, but these errors were encountered: