File tree Expand file tree Collapse file tree 6 files changed +27
-9
lines changed Expand file tree Collapse file tree 6 files changed +27
-9
lines changed Original file line number Diff line number Diff line change 88
99 <Import Project =" ../build/Zig.Sdk.Overrides.targets" />
1010 <Import Project =" ../build/Zig.Sdk.Cross.targets" />
11+ <Import Project =" ../build/Zig.Sdk.Symbols.targets" />
1112 <Import Project =" Sdk.targets"
1213 Sdk =" Microsoft.NET.Sdk" />
1314 <Import Project =" ../build/Zig.Sdk.Hacks.targets" />
Original file line number Diff line number Diff line change 11<Project >
22 <!--
3- This file is meant to be imported in regular .NET SDK projects. It injects
4- some build logic to make ZigReference items work as expected.
3+ This file is meant to be imported in regular Microsoft .NET.Sdk projects. It
4+ injects some build logic to make ZigReference items work as expected.
55 -->
66</Project >
Original file line number Diff line number Diff line change 11<Project >
22 <!--
3- The .NET SDK unconditionally sets TargetExt to force a .dll suffix. We work
4- around that nonsense here.
3+ Microsoft .NET.Sdk unconditionally sets TargetExt to force a .dll suffix. We
4+ work around that nonsense here.
55 -->
66 <PropertyGroup >
77 <TargetExt >$(TargetSuffix)</TargetExt >
Original file line number Diff line number Diff line change 2121 </Target >
2222
2323 <!--
24- Unfortunately, the publish logic in the .NET SDK is not factored as well as
25- the build and clean logic in MSBuild, so we have to duplicate some of the
26- logic in the default Publish target here.
24+ Unfortunately, the publish logic in Microsoft .NET.Sdk is not factored as
25+ well as the build and clean logic in MSBuild, so we have to duplicate some
26+ of the logic in the default Publish target here.
2727 -->
2828 <Target Name =" _InnerPublish"
2929 DependsOnTargets =" _PublishBuildAlternative; _PublishNoBuildAlternative" >
Original file line number Diff line number Diff line change 1+ <Project >
2+ <!--
3+ We need to set these properties up here since Microsoft.NET.Sdk defaults
4+ them very early and sets _DebugSymbolsProduced to indicate whether a
5+ separate PDB file is produced.
6+ -->
7+
8+ <PropertyGroup Condition =" '$(DebugSymbols)' == ''" >
9+ <DebugSymbols >false</DebugSymbols >
10+ <DebugSymbols Condition =" '$(Configuration)' == 'Debug'" >true</DebugSymbols >
11+ </PropertyGroup >
12+
13+ <PropertyGroup Condition =" '$(DebugSymbols)' == 'true'" >
14+ <DebugType >embedded</DebugType >
15+ <DebugType Condition =" '$(TargetSystem)' == 'windows'" >full</DebugType >
16+ </PropertyGroup >
17+ </Project >
Original file line number Diff line number Diff line change 44 </ItemGroup >
55
66 <!--
7- Most of the test logic in the .NET SDK is superfluous for our purposes, so
8- we will just override the target entirely.
7+ Most of the test logic in Microsoft .NET.Sdk is superfluous for our purposes,
8+ so we will just override the target entirely.
99 -->
1010 <Target Name =" VSTest"
1111 DependsOnTargets =" $(VSTestDependsOn)"
You can’t perform that action at this time.
0 commit comments