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 | |
| parent | f26403f12ba828f188673decaedb360843a3e6a7 (diff) | |
| download | wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.tar.gz wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.tar.bz2 wix-df3a3eba860a853495579bdb32ec6e00aa7a67f2.zip | |
Update dependencies.
| -rw-r--r-- | NetFx.wixext.sln | 2 | ||||
| -rw-r--r-- | appveyor.cmd | 5 | ||||
| -rw-r--r-- | global.json | 2 | ||||
| -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 |
8 files changed, 65 insertions, 7 deletions
diff --git a/NetFx.wixext.sln b/NetFx.wixext.sln index 94047f8d..e830aeea 100644 --- a/NetFx.wixext.sln +++ b/NetFx.wixext.sln | |||
| @@ -27,6 +27,7 @@ Global | |||
| 27 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Debug|x86.ActiveCfg = Debug|Win32 | 27 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Debug|x86.ActiveCfg = Debug|Win32 |
| 28 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Debug|x86.Build.0 = Debug|Win32 | 28 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Debug|x86.Build.0 = Debug|Win32 |
| 29 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|Any CPU.ActiveCfg = Release|Win32 | 29 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|Any CPU.ActiveCfg = Release|Win32 |
| 30 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|Any CPU.Build.0 = Release|Win32 | ||
| 30 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x64.ActiveCfg = Release|Win32 | 31 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x64.ActiveCfg = Release|Win32 |
| 31 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x86.ActiveCfg = Release|Win32 | 32 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x86.ActiveCfg = Release|Win32 |
| 32 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x86.Build.0 = Release|Win32 | 33 | {F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}.Release|x86.Build.0 = Release|Win32 |
| @@ -36,6 +37,7 @@ Global | |||
| 36 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Debug|x86.ActiveCfg = Debug|x86 | 37 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Debug|x86.ActiveCfg = Debug|x86 |
| 37 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Debug|x86.Build.0 = Debug|x86 | 38 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Debug|x86.Build.0 = Debug|x86 |
| 38 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|Any CPU.ActiveCfg = Release|x86 | 39 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|Any CPU.ActiveCfg = Release|x86 |
| 40 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|Any CPU.Build.0 = Release|x86 | ||
| 39 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x64.ActiveCfg = Release|x86 | 41 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x64.ActiveCfg = Release|x86 |
| 40 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x86.ActiveCfg = Release|x86 | 42 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x86.ActiveCfg = Release|x86 |
| 41 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x86.Build.0 = Release|x86 | 43 | {45E4A6AC-3190-4E17-83F0-9935FFA5DC2B}.Release|x86.Build.0 = Release|x86 |
diff --git a/appveyor.cmd b/appveyor.cmd index 50bd492d..2e91654b 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
| @@ -3,12 +3,11 @@ | |||
| 3 | 3 | ||
| 4 | nuget restore || exit /b | 4 | nuget restore || exit /b |
| 5 | 5 | ||
| 6 | msbuild -p:Configuration=Release -t:Restore || exit /b | 6 | msbuild -p:Configuration=Release -Restore || exit /b |
| 7 | 7 | ||
| 8 | msbuild -p:Configuration=Release src\test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj || exit /b | ||
| 9 | dotnet test -c Release --no-build src\test\WixToolsetTest.Netfx || exit /b | 8 | dotnet test -c Release --no-build src\test\WixToolsetTest.Netfx || exit /b |
| 10 | 9 | ||
| 11 | msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.NetFx.wixext.csproj || exit /b | 10 | msbuild -p:Configuration=Release -p:NoBuild=true -t:Pack src\wixext\WixToolset.NetFx.wixext.csproj || exit /b |
| 12 | 11 | ||
| 13 | @popd | 12 | @popd |
| 14 | @endlocal \ No newline at end of file | 13 | @endlocal \ No newline at end of file |
diff --git a/global.json b/global.json index 6d38bce4..70abf3dd 100644 --- a/global.json +++ b/global.json | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | { | 1 | { |
| 2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
| 3 | "WixToolset.Sdk": "4.0.0-build-0175" | 3 | "WixToolset.Sdk": "4.0.0-build-0176" |
| 4 | } | 4 | } |
| 5 | } | 5 | } |
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> |
