Skip to content

Commit 390a3e1

Browse files
committed
#216 - improve build props
1 parent b1872cb commit 390a3e1

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
88
<LangVersion>latest</LangVersion>
99
<BuildInParallel>false</BuildInParallel>
10+
<IsPackable>false</IsPackable>
1011
</PropertyGroup>
1112

1213
<PropertyGroup Condition="'$(Configuration)'=='Release'">
1314
<DebugType>none</DebugType>
1415
<DebugSymbols>false</DebugSymbols>
16+
<OptimizationPreference>Size</OptimizationPreference>
17+
<InvariantGlobalization>true</InvariantGlobalization>
18+
<StackTraceSupport>false</StackTraceSupport>
19+
<UseSystemResourceKeys>true</UseSystemResourceKeys>
1520
</PropertyGroup>
1621

1722
<PropertyGroup>

src/HydraScript/HydraScript.csproj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
<PublishSingleFile>true</PublishSingleFile>
77
</PropertyGroup>
88

9-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
10-
<OptimizationPreference>Size</OptimizationPreference>
11-
<InvariantGlobalization>true</InvariantGlobalization>
12-
<StackTraceSupport>false</StackTraceSupport>
13-
<UseSystemResourceKeys>true</UseSystemResourceKeys>
14-
</PropertyGroup>
15-
169
<ItemGroup>
1710
<ProjectReference Include="..\Infrastructure\HydraScript.Infrastructure.LexerRegexGenerator\HydraScript.Infrastructure.LexerRegexGenerator.csproj"
1811
OutputItemType="Analyzer"

0 commit comments

Comments
 (0)