8000 Cannot use DebugType=embedded in normal csproj · Issue #19066 · mono/mono · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot use DebugType=embedded in normal csproj #19066
Closed
@Therzok

Description

@Therzok

Steps to Reproduce

  1. Create a project
  2. Assign DebugType to embedded
  3. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0