-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly indicate to MSBuild and the .NET SDK whether we're producing…
… a separate PDB.
- Loading branch information
Showing
6 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<Project> | ||
<!-- | ||
This file is meant to be imported in regular .NET SDK projects. It injects | ||
some build logic to make ZigReference items work as expected. | ||
This file is meant to be imported in regular Microsoft.NET.Sdk projects. It | ||
injects some build logic to make ZigReference items work as expected. | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<Project> | ||
<!-- | ||
We need to set these properties up here since Microsoft.NET.Sdk defaults | ||
them very early and sets _DebugSymbolsProduced to indicate whether a | ||
separate PDB file is produced. | ||
--> | ||
|
||
<PropertyGroup Condition="'$(DebugSymbols)' == ''"> | ||
<DebugSymbols>false</DebugSymbols> | ||
<DebugSymbols Condition="'$(Configuration)' == 'Debug'">true</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(DebugSymbols)' == 'true'"> | ||
<DebugType>embedded</DebugType> | ||
<DebugType Condition="'$(TargetSystem)' == 'windows'">full</DebugType> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters