Closed
Description
Steps to Reproduce
- Create a project
- Assign DebugType to embedded
- Observe portable is written
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:
➜ ~ mono --version
Mono JIT compiler version 6.10.0.87 (2019-12/b33fa1d00ed Wed Feb 26 21:46:15 EST 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)
Workarounds
If you set the DebugType in a targets file that's imported after the Mono one, you can successfully build with embedded PDBs.