diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 14:55:59 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 14:55:59 -0600 |
commit | a46b1cf9bd6f7dfca72b238a1bb1c838dde558ae (patch) | |
tree | b856ea98eb37178aa93b1ce4f20475098fa20c7b /src | |
parent | 81c5b5b271306e505b853ec2df284f276c86bf5a (diff) | |
download | wix-a46b1cf9bd6f7dfca72b238a1bb1c838dde558ae.tar.gz wix-a46b1cf9bd6f7dfca72b238a1bb1c838dde558ae.tar.bz2 wix-a46b1cf9bd6f7dfca72b238a1bb1c838dde558ae.zip |
Update dependencies.
Diffstat (limited to 'src')
-rw-r--r-- | src/CSharp.Build.props | 2 | ||||
-rw-r--r-- | src/Cpp.Build.props | 8 | ||||
-rw-r--r-- | src/CustomizedNativeRecommendedRules.ruleset | 8 | ||||
-rw-r--r-- | src/Directory.Build.targets | 8 | ||||
-rw-r--r-- | src/wixext/WixToolset.Util.wixext.csproj | 2 | ||||
-rw-r--r-- | src/wixlib/util.wixproj | 6 |
6 files changed, 33 insertions, 1 deletions
diff --git a/src/CSharp.Build.props b/src/CSharp.Build.props index b12f4c6e..81d24ad1 100644 --- a/src/CSharp.Build.props +++ b/src/CSharp.Build.props | |||
@@ -5,7 +5,9 @@ | |||
5 | --> | 5 | --> |
6 | <Project> | 6 | <Project> |
7 | <PropertyGroup> | 7 | <PropertyGroup> |
8 | <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> | ||
8 | <SignAssembly>true</SignAssembly> | 9 | <SignAssembly>true</SignAssembly> |
9 | <AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)wix.snk))</AssemblyOriginatorKeyFile> | 10 | <AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)wix.snk))</AssemblyOriginatorKeyFile> |
11 | <NBGV_EmitThisAssemblyClass>false</NBGV_EmitThisAssemblyClass> | ||
10 | </PropertyGroup> | 12 | </PropertyGroup> |
11 | </Project> | 13 | </Project> |
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props index 9b7a1bb5..e7bba117 100644 --- a/src/Cpp.Build.props +++ b/src/Cpp.Build.props | |||
@@ -6,12 +6,20 @@ | |||
6 | <Platform Condition=" '$(Platform)' == '' OR '$(Platform)' == 'AnyCPU' ">Win32</Platform> | 6 | <Platform Condition=" '$(Platform)' == '' OR '$(Platform)' == 'AnyCPU' ">Win32</Platform> |
7 | <IntDir>$(BaseIntermediateOutputPath)$(Configuration)\$(Platform)\</IntDir> | 7 | <IntDir>$(BaseIntermediateOutputPath)$(Configuration)\$(Platform)\</IntDir> |
8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> | 8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> |
9 | |||
10 | <!-- NBGV properties --> | ||
11 | <AssemblyCompany>$(Company)</AssemblyCompany> | ||
12 | <AssemblyCopyright>$(Copyright)</AssemblyCopyright> | ||
9 | </PropertyGroup> | 13 | </PropertyGroup> |
10 | 14 | ||
11 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' AND '$(VisualStudioVersion)'>='15.0'"> | 15 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' AND '$(VisualStudioVersion)'>='15.0'"> |
12 | <WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> | 16 | <WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> |
13 | </PropertyGroup> | 17 | </PropertyGroup> |
14 | 18 | ||
19 | <PropertyGroup> | ||
20 | <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CustomizedNativeRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
21 | </PropertyGroup> | ||
22 | |||
15 | <ItemDefinitionGroup> | 23 | <ItemDefinitionGroup> |
16 | <ClCompile> | 24 | <ClCompile> |
17 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> | 25 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> |
diff --git a/src/CustomizedNativeRecommendedRules.ruleset b/src/CustomizedNativeRecommendedRules.ruleset new file mode 100644 index 00000000..142b141c --- /dev/null +++ b/src/CustomizedNativeRecommendedRules.ruleset | |||
@@ -0,0 +1,8 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <RuleSet Name="Customized Microsoft Native Recommended Rules" Description="Microsoft Native Recommended Rules, -C26812" ToolsVersion="16.0"> | ||
3 | <Include Path="nativerecommendedrules.ruleset" Action="Default" /> | ||
4 | <Rules AnalyzerId="Microsoft.Analyzers.NativeCodeAnalysis" RuleNamespace="Microsoft.Rules.Native"> | ||
5 | <!-- We need C style enums since we support BAs written in C --> | ||
6 | <Rule Id="C26812" Action="None" /> | ||
7 | </Rules> | ||
8 | </RuleSet> \ No newline at end of file | ||
diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index dac7452a..cb988931 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets | |||
@@ -10,6 +10,11 @@ | |||
10 | --> | 10 | --> |
11 | <Project> | 11 | <Project> |
12 | <PropertyGroup> | 12 | <PropertyGroup> |
13 | <CreateDocumentation Condition=" '$(CreateDocumentationFile)'!='true' ">false</CreateDocumentation> | ||
14 | <DocumentationFile Condition=" '$(CreateDocumentationFile)'=='true' ">$(OutputPath)\$(AssemblyName).xml</DocumentationFile> | ||
15 | </PropertyGroup> | ||
16 | |||
17 | <PropertyGroup> | ||
13 | <ReplacePackageReferences>true</ReplacePackageReferences> | 18 | <ReplacePackageReferences>true</ReplacePackageReferences> |
14 | <TheSolutionPath Condition=" '$(NCrunch)'=='' ">$(SolutionPath)</TheSolutionPath> | 19 | <TheSolutionPath Condition=" '$(NCrunch)'=='' ">$(SolutionPath)</TheSolutionPath> |
15 | <TheSolutionPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalSolutionPath)</TheSolutionPath> | 20 | <TheSolutionPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalSolutionPath)</TheSolutionPath> |
@@ -45,4 +50,7 @@ | |||
45 | 50 | ||
46 | </When> | 51 | </When> |
47 | </Choose> | 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') " /> | ||
48 | </Project> | 56 | </Project> |
diff --git a/src/wixext/WixToolset.Util.wixext.csproj b/src/wixext/WixToolset.Util.wixext.csproj index c3eff490..b90c9035 100644 --- a/src/wixext/WixToolset.Util.wixext.csproj +++ b/src/wixext/WixToolset.Util.wixext.csproj | |||
@@ -32,7 +32,7 @@ | |||
32 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 32 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> |
33 | </ItemGroup> | 33 | </ItemGroup> |
34 | 34 | ||
35 | <Target Name="SetNuspecProperties" AfterTargets="CoreBuild"> | 35 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> |
36 | <PropertyGroup> | 36 | <PropertyGroup> |
37 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | 37 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> |
38 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | 38 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> |
diff --git a/src/wixlib/util.wixproj b/src/wixlib/util.wixproj index f806087e..4aeb09f2 100644 --- a/src/wixlib/util.wixproj +++ b/src/wixlib/util.wixproj | |||
@@ -25,4 +25,10 @@ | |||
25 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 25 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> |
26 | </ItemGroup> | 26 | </ItemGroup> |
27 | 27 | ||
28 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> | ||
29 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> | ||
30 | <PropertyGroup> | ||
31 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> | ||
32 | </PropertyGroup> | ||
33 | </Target> | ||
28 | </Project> | 34 | </Project> |