diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 15:25:43 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 15:25:43 -0600 |
| commit | df3a3eba860a853495579bdb32ec6e00aa7a67f2 (patch) | |
| tree | 1b623f6acfe94c174779471ea35f76094ca45f3f /src | |
| parent | f26403f12ba828f188673decaedb360843a3e6a7 (diff) | |
| download | wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.tar.gz wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.tar.bz2 wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.zip | |
Update dependencies.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Cpp.Build.props | 8 | ||||
| -rw-r--r-- | src/CustomizedNativeRecommendedRules.ruleset | 8 | ||||
| -rw-r--r-- | src/wixext/WixToolset.Netfx.wixext.csproj | 15 | ||||
| -rw-r--r-- | src/wixext/WixToolset.Netfx.wixext.nuspec | 26 | ||||
| -rw-r--r-- | src/wixlib/netfx.wixproj | 6 |
5 files changed, 60 insertions, 3 deletions
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/wixext/WixToolset.Netfx.wixext.csproj b/src/wixext/WixToolset.Netfx.wixext.csproj index 725b9c39..2e59f0c4 100644 --- a/src/wixext/WixToolset.Netfx.wixext.csproj +++ b/src/wixext/WixToolset.Netfx.wixext.csproj | |||
| @@ -7,9 +7,10 @@ | |||
| 7 | <RootNamespace>WixToolset.Netfx</RootNamespace> | 7 | <RootNamespace>WixToolset.Netfx</RootNamespace> |
| 8 | <Description>WiX Toolset .NET Framework Extension</Description> | 8 | <Description>WiX Toolset .NET Framework Extension</Description> |
| 9 | <Title>WiX Toolset .NET Framework Extension</Title> | 9 | <Title>WiX Toolset .NET Framework Extension</Title> |
| 10 | <IsTool>true</IsTool> | 10 | <DebugType>embedded</DebugType> |
| 11 | <SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking> | 11 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> |
| 12 | <ContentTargetFolders>build</ContentTargetFolders> | 12 | <IncludeSymbols>true</IncludeSymbols> |
| 13 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);Title=$(Title)</NuspecProperties> | ||
| 13 | </PropertyGroup> | 14 | </PropertyGroup> |
| 14 | 15 | ||
| 15 | <ItemGroup> | 16 | <ItemGroup> |
| @@ -18,6 +19,7 @@ | |||
| 18 | </ItemGroup> | 19 | </ItemGroup> |
| 19 | 20 | ||
| 20 | <ItemGroup> | 21 | <ItemGroup> |
| 22 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> | ||
| 21 | <PackageReference Include="WixToolset.Data" Version="4.0.*" PrivateAssets="all" /> | 23 | <PackageReference Include="WixToolset.Data" Version="4.0.*" PrivateAssets="all" /> |
| 22 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> | 24 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> |
| 23 | </ItemGroup> | 25 | </ItemGroup> |
| @@ -29,4 +31,11 @@ | |||
| 29 | <ItemGroup> | 31 | <ItemGroup> |
| 30 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 32 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> |
| 31 | </ItemGroup> | 33 | </ItemGroup> |
| 34 | |||
| 35 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> | ||
| 36 | <PropertyGroup> | ||
| 37 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | ||
| 38 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | ||
| 39 | </PropertyGroup> | ||
| 40 | </Target> | ||
| 32 | </Project> | 41 | </Project> |
diff --git a/src/wixext/WixToolset.Netfx.wixext.nuspec b/src/wixext/WixToolset.Netfx.wixext.nuspec new file mode 100644 index 00000000..280ccad5 --- /dev/null +++ b/src/wixext/WixToolset.Netfx.wixext.nuspec | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | <?xml version="1.0"?> | ||
| 2 | <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
| 3 | <metadata minClientVersion="4.0"> | ||
| 4 | <id>$id$</id> | ||
| 5 | <version>$version$</version> | ||
| 6 | <authors>$authors$</authors> | ||
| 7 | <owners>$authors$</owners> | ||
| 8 | <license type="expression">MS-RL</license> | ||
| 9 | <projectUrl>https://github.com/wixtoolset/Netfx.wixext</projectUrl> | ||
| 10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
| 11 | <title>$title$</title> | ||
| 12 | <description>$description$</description> | ||
| 13 | <copyright>$copyright$</copyright> | ||
| 14 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> | ||
| 15 | </metadata> | ||
| 16 | |||
| 17 | <files> | ||
| 18 | <file src="$projectFolder$$id$.targets" target="build" /> | ||
| 19 | |||
| 20 | <file src="netstandard2.0\$id$.dll" target="tools" /> | ||
| 21 | |||
| 22 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> | ||
| 23 | <file src="x86\*.pdb" target="pdbs\x86" /> | ||
| 24 | <file src="x64\*.pdb" target="pdbs\x64" /> | ||
| 25 | </files> | ||
| 26 | </package> | ||
diff --git a/src/wixlib/netfx.wixproj b/src/wixlib/netfx.wixproj index 8ee73326..efe66e8e 100644 --- a/src/wixlib/netfx.wixproj +++ b/src/wixlib/netfx.wixproj | |||
| @@ -27,4 +27,10 @@ | |||
| 27 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 27 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> |
| 28 | </ItemGroup> | 28 | </ItemGroup> |
| 29 | 29 | ||
| 30 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> | ||
| 31 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> | ||
| 32 | <PropertyGroup> | ||
| 33 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> | ||
| 34 | </PropertyGroup> | ||
| 35 | </Target> | ||
| 30 | </Project> | 36 | </Project> |
