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 8
8
9
9
<Import Project =" ../build/Zig.Sdk.Overrides.targets" />
10
10
<Import Project =" ../build/Zig.Sdk.Cross.targets" />
11
+ <Import Project =" ../build/Zig.Sdk.Symbols.targets" />
11
12
<Import Project =" Sdk.targets"
12
13
Sdk =" Microsoft.NET.Sdk" />
13
14
<Import Project =" ../build/Zig.Sdk.Hacks.targets" />
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<!--
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.
5
5
-->
6
6
</Project >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<!--
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.
5
5
-->
6
6
<PropertyGroup >
7
7
<TargetExt >$(TargetSuffix)</TargetExt >
Original file line number Diff line number Diff line change 21
21
</Target >
22
22
23
23
<!--
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.
27
27
-->
28
28
<Target Name =" _InnerPublish"
29
29
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 4
4
</ItemGroup >
5
5
6
6
<!--
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.
9
9
-->
10
10
<Target Name =" VSTest"
11
11
DependsOnTargets =" $(VSTestDependsOn)"
You can’t perform that action at this time.
0 commit comments