Skip to content

Commit 05671d2

Browse files
committed
🔧 WADL project now w/o PDBs in Release mode
1 parent 26506f7 commit 05671d2

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

‎jwl.wadl/WadlParameter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class WadlParameter
2020

2121
[XmlAttribute("style")]
2222
public string? Style { get; set; }
23-
23+
2424
[XmlAttribute("type")]
2525
public string? Type { get; set; }
2626

‎jwl.wadl/jwl.wadl.csproj

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,28 @@
66
<OutputType>Library</OutputType>
77
</PropertyGroup>
88

9+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
10+
<DebugType>none</DebugType>
11+
<DebugSymbols>false</DebugSymbols>
12+
</PropertyGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="*">
16+
<PrivateAssets>all</PrivateAssets>
17+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18+
</PackageReference>
19+
<PackageReference Include="StyleCop.Analyzers" Version="*">
20+
<PrivateAssets>all</PrivateAssets>
21+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
22+
</PackageReference>
23+
<Compile Include="..\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
24+
</ItemGroup>
25+
26+
<Target Name="PostClean" AfterTargets="Clean">
27+
<RemoveDir Directories="$(BaseIntermediateOutputPath)" />
28+
<!-- obj -->
29+
<RemoveDir Directories="$(BaseOutputPath)" />
30+
<!-- bin -->
31+
</Target>
32+
933
</Project>

0 commit comments

Comments
 (0)