-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathBuildShared.props
27 lines (23 loc) · 1.01 KB
/
BuildShared.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Project>
<PropertyGroup>
<AssemblyVersion>$(Version)</AssemblyVersion>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<OutputPath>../../build</OutputPath>
<SelfContained>true</SelfContained>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>partial</TrimMode>
<!-- Disable trim warnings - these are prooooobably okay -->
<NoWarn>IL2026,IL2104</NoWarn>
<UseCommonOutputDirectory>true</UseCommonOutputDirectory>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)\resources\NLog.config" CopyToOutputDirectory="Always"/>
<None Include="$(MSBuildThisFileDirectory)\resources\RegisterLumperURLProtocol.ps1" CopyToOutputDirectory="Always"/>
</ItemGroup>
</Project>