Skip to content

Commit 6bf4405

Browse files
committed
Remove DebugSymbols based on condition if it is Release #1
1 parent ad67571 commit 6bf4405

File tree

1 file changed

+27
-22
lines changed

1 file changed

+27
-22
lines changed
Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
88

9-
<ItemGroup>
10-
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.0" />
11-
<PackageReference Include="FlowSynx.PluginCore" Version="1.2.0" />
12-
</ItemGroup>
9+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
10+
<DebugSymbols>False</DebugSymbols>
11+
<DebugType>None</DebugType>
12+
</PropertyGroup>
1313

14-
<ItemGroup>
15-
<Compile Update="Resources.Designer.cs">
16-
<DesignTime>True</DesignTime>
17-
<AutoGen>True</AutoGen>
18-
<DependentUpon>Resources.resx</DependentUpon>
19-
</Compile>
20-
</ItemGroup>
14+
<ItemGroup>
15+
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.0" />
16+
<PackageReference Include="FlowSynx.PluginCore" Version="1.2.0" />
17+
</ItemGroup>
2118

22-
<ItemGroup>
23-
<EmbeddedResource Update="Resources.resx">
24-
<Generator>ResXFileCodeGenerator</Generator>
25-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
26-
</EmbeddedResource>
27-
</ItemGroup>
19+
<ItemGroup>
20+
<Compile Update="Resources.Designer.cs">
21+
<DesignTime>True</DesignTime>
22+
<AutoGen>True</AutoGen>
23+
<DependentUpon>Resources.resx</DependentUpon>
24+
</Compile>
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<EmbeddedResource Update="Resources.resx">
29+
<Generator>ResXFileCodeGenerator</Generator>
30+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
31+
</EmbeddedResource>
32+
</ItemGroup>
2833

2934
</Project>

0 commit comments

Comments
 (0)