-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
25 lines (22 loc) · 873 Bytes
/
Directory.Build.targets
File metadata and controls
25 lines (22 loc) · 873 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
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
<PublishReadyToRun>true</PublishReadyToRun>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>0</WarningLevel>
<NoWarn>$(NoWarn);NU1701;WFO1000</NoWarn>
<WarningsAsErrors></WarningsAsErrors>
</PropertyGroup>
<Target Name="RemoveReferencedProjectXmlDocs" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<ItemGroup>
<XmlDocsToRemove Include="$(OutputPath)*.xml" Exclude="$(OutputPath)$(AssemblyName).xml" />
</ItemGroup>
<Delete Files="@(XmlDocsToRemove)" />
</Target>
</Project>