-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
26 lines (23 loc) · 903 Bytes
/
Directory.Build.props
File metadata and controls
26 lines (23 loc) · 903 Bytes
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
<Project>
<PropertyGroup>
<OutputPath>..\$(Configuration)\</OutputPath>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<OutputPath>..\$(Configuration)\</OutputPath>
<LangVersion>Latest</LangVersion>
<OptionStrict>On</OptionStrict>
<DelaySign>false</DelaySign>
<RollForward>LatestMajor</RollForward>
<Nullable>enable</Nullable>
</PropertyGroup>
<Target Name="EnsureExeConfigFile" AfterTargets="Build" Condition="$(OutputFile.EndsWith(`.exe`))">
<ItemGroup>
<_ExeConfig Include="$(OutputPath)$(AssemblyName).exe.config" />
</ItemGroup>
<WriteLinesToFile
File="@(_ExeConfig)"
Lines="<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>"
Overwrite="false"
Encoding="UTF-8" />
</Target>
</Project>