Enable XML doc, but disable warning since this is an internal project.
Sean Hall committed
Dec 18, 2020 at 16:54 UTC
2c1f4a40640536f52d7eff717980e9be7785672a
5 files changed
+19
-3
src/CSharp.Build.props
+2
@@ -5,7 +5,9 @@
5
-->
6
<Project>
7
<PropertyGroup>
8
+ <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
9
<SignAssembly>true</SignAssembly>
10
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)wix.snk))</AssemblyOriginatorKeyFile>
11
+ <NBGV_EmitThisAssemblyClass>false</NBGV_EmitThisAssemblyClass>
12
</PropertyGroup>
13
</Project>
src/Directory.Build.targets
+8
@@ -9,6 +9,11 @@
9
See the original here: https://github.com/dotnet/sdk/issues/1151#issuecomment-385133284
10
-->
11
<Project>
12
+ <PropertyGroup>
13
+ <CreateDocumentation Condition=" '$(CreateDocumentationFile)'!='true' ">false</CreateDocumentation>
14
+ <DocumentationFile Condition=" '$(CreateDocumentationFile)'=='true' ">$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
15
+ </PropertyGroup>
16
+
17
<PropertyGroup>
18
<ReplacePackageReferences>true</ReplacePackageReferences>
19
<TheSolutionPath Condition=" '$(NCrunch)'=='' ">$(SolutionPath)</TheSolutionPath>
@@ -45,4 +50,7 @@
50
51
</When>
52
</Choose>
53
+
54
+ <Import Project="Wix.Build.targets" Condition=" Exists('Wix.Build.targets') And '$(MSBuildProjectExtension)'=='.wixproj' " />
55
+ <Import Project="Custom.Build.targets" Condition=" Exists('Custom.Build.targets') " />
56
</Project>
src/WixBuildTools.MsgGen/WixBuildTools.MsgGen.csproj
+2
@@ -4,8 +4,10 @@
4
<OutputType>Exe</OutputType>
5
<TargetFramework>net461</TargetFramework>
6
<IsTool>true</IsTool>
7
+ <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
8
<DebugType>embedded</DebugType>
9
<PublishRepositoryUrl>true</PublishRepositoryUrl>
10
+ <NoWarn>CS0618</NoWarn>
11
</PropertyGroup>
12
13
<ItemGroup>
src/WixBuildTools.TestSupport/WixBuildTools.TestSupport.csproj
+5
-3
@@ -8,13 +8,15 @@
8
<IsPackable>true</IsPackable>
9
<DebugType>embedded</DebugType>
10
<PublishRepositoryUrl>true</PublishRepositoryUrl>
11
+ <CreateDocumentationFile>true</CreateDocumentationFile>
12
+ <NoWarn>CS1591</NoWarn>
13
</PropertyGroup>
14
15
<ItemGroup>
16
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="14.3" />
15
- <PackageReference Include="WixToolset.Dtf.WindowsInstaller" Version="4.0.*" NoWarn="NU1701" />
16
- <PackageReference Include="WixToolset.Dtf.Compression" Version="4.0.*" NoWarn="NU1701" />
17
- <PackageReference Include="WixToolset.Dtf.Compression.Cab" Version="4.0.*" NoWarn="NU1701" />
17
+ <PackageReference Include="WixToolset.Dtf.WindowsInstaller" Version="4.0.*" />
18
+ <PackageReference Include="WixToolset.Dtf.Compression" Version="4.0.*" />
19
+ <PackageReference Include="WixToolset.Dtf.Compression.Cab" Version="4.0.*" />
20
</ItemGroup>
21
22
<ItemGroup>
src/WixBuildTools.XsdGen/WixBuildTools.XsdGen.csproj
+2
@@ -6,8 +6,10 @@
6
<TargetFrameworks>net461</TargetFrameworks>
7
<IsTool>true</IsTool>
8
<IncludeBuildOutput>false</IncludeBuildOutput>
9
+ <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
10
<DebugType>embedded</DebugType>
11
<PublishRepositoryUrl>true</PublishRepositoryUrl>
12
+ <NoWarn>CS0618</NoWarn>
13
</PropertyGroup>
14
15
<ItemGroup>