diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-26 11:31:05 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 11:14:01 -0700 |
commit | df016066100df955d5ff98811e113fb2b1bd4b8a (patch) | |
tree | a27b35a3651ca7b1d8c4bb7c7483ec2f92583e08 /src/ext/Bal | |
parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip |
Implement integrated build process
Diffstat (limited to 'src/ext/Bal')
45 files changed, 228 insertions, 577 deletions
diff --git a/src/ext/Bal/Bal.wixext.sln b/src/ext/Bal/Bal.wixext.sln index 0b4c5afa..ddf9ef88 100644 --- a/src/ext/Bal/Bal.wixext.sln +++ b/src/ext/Bal/Bal.wixext.sln | |||
@@ -5,37 +5,37 @@ VisualStudioVersion = 16.0.29503.13 | |||
5 | MinimumVisualStudioVersion = 10.0.40219.1 | 5 | MinimumVisualStudioVersion = 10.0.40219.1 |
6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{C70E3534-A018-4D0A-A340-916C9777EEF7}" | 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{C70E3534-A018-4D0A-A340-916C9777EEF7}" |
7 | EndProject | 7 | EndProject |
8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bafunctions", "src\Samples\bafunctions\bafunctions.vcxproj", "{EB0A7D51-2133-4EE7-B6CA-87DBEAC67E02}" | 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bafunctions", "Samples\bafunctions\bafunctions.vcxproj", "{EB0A7D51-2133-4EE7-B6CA-87DBEAC67E02}" |
9 | EndProject | 9 | EndProject |
10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbahost", "src\mbahost\mbahost.vcxproj", "{12C87C77-3547-44F8-8134-29BC915CB19D}" | 10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbahost", "mbahost\mbahost.vcxproj", "{12C87C77-3547-44F8-8134-29BC915CB19D}" |
11 | EndProject | 11 | EndProject |
12 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wixstdba", "src\wixstdba\wixstdba.vcxproj", "{41085A22-E6AA-4E8B-AB1B-DDEE0DC89DFA}" | 12 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wixstdba", "wixstdba\wixstdba.vcxproj", "{41085A22-E6AA-4E8B-AB1B-DDEE0DC89DFA}" |
13 | EndProject | 13 | EndProject |
14 | Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "bal", "src\wixlib\bal.wixproj", "{3444D952-F21C-496F-AB6B-56435BFD0787}" | 14 | Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "bal", "wixlib\bal.wixproj", "{3444D952-F21C-496F-AB6B-56435BFD0787}" |
15 | EndProject | 15 | EndProject |
16 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Bal.wixext", "src\wixext\WixToolset.Bal.wixext.csproj", "{BF720A63-9D7B-456E-B60C-8122852D9FED}" | 16 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Bal.wixext", "wixext\WixToolset.Bal.wixext.csproj", "{BF720A63-9D7B-456E-B60C-8122852D9FED}" |
17 | EndProject | 17 | EndProject |
18 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Dnc.Host", "src\WixToolset.Dnc.Host\WixToolset.Dnc.Host.csproj", "{0D780900-C2FF-4FA2-8CB5-8A19768724C5}" | 18 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Dnc.Host", "WixToolset.Dnc.Host\WixToolset.Dnc.Host.csproj", "{0D780900-C2FF-4FA2-8CB5-8A19768724C5}" |
19 | EndProject | 19 | EndProject |
20 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WixToolset.Mba.Host", "src\WixToolset.Mba.Host\WixToolset.Mba.Host.csproj", "{F2BA1935-70FA-4156-B161-FD03850B4FAA}" | 20 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WixToolset.Mba.Host", "WixToolset.Mba.Host\WixToolset.Mba.Host.csproj", "{F2BA1935-70FA-4156-B161-FD03850B4FAA}" |
21 | EndProject | 21 | EndProject |
22 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.FullFramework2MBA", "src\test\examples\FullFramework2MBA\Example.FullFramework2MBA.csproj", "{CC4236FC-226E-4232-AB50-24CBEC4D314D}" | 22 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.FullFramework2MBA", "test\examples\FullFramework2MBA\Example.FullFramework2MBA.csproj", "{CC4236FC-226E-4232-AB50-24CBEC4D314D}" |
23 | EndProject | 23 | EndProject |
24 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Example.TestEngine", "src\test\examples\TestEngine\Example.TestEngine.vcxproj", "{3D44B67D-A475-49BA-8310-E39F6C117CC9}" | 24 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Example.TestEngine", "test\examples\TestEngine\Example.TestEngine.vcxproj", "{3D44B67D-A475-49BA-8310-E39F6C117CC9}" |
25 | EndProject | 25 | EndProject |
26 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.ManagedHost", "src\test\WixToolsetTest.ManagedHost\WixToolsetTest.ManagedHost.csproj", "{FED9D707-E5C3-4867-87B0-FABDB5EB0823}" | 26 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.ManagedHost", "test\WixToolsetTest.ManagedHost\WixToolsetTest.ManagedHost.csproj", "{FED9D707-E5C3-4867-87B0-FABDB5EB0823}" |
27 | EndProject | 27 | EndProject |
28 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.FullFramework4MBA", "src\test\examples\FullFramework4MBA\Example.FullFramework4MBA.csproj", "{44297646-706D-4508-8E96-1B35B109694C}" | 28 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.FullFramework4MBA", "test\examples\FullFramework4MBA\Example.FullFramework4MBA.csproj", "{44297646-706D-4508-8E96-1B35B109694C}" |
29 | EndProject | 29 | EndProject |
30 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.Bal", "src\test\WixToolsetTest.Bal\WixToolsetTest.Bal.csproj", "{89D479FC-20DA-44D8-AE38-48F063223498}" | 30 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.Bal", "test\WixToolsetTest.Bal\WixToolsetTest.Bal.csproj", "{89D479FC-20DA-44D8-AE38-48F063223498}" |
31 | EndProject | 31 | EndProject |
32 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.EarliestCoreMBA", "src\test\examples\EarliestCoreMBA\Example.EarliestCoreMBA.csproj", "{1E86D8DF-DABD-4B6E-A812-64CD2040C73A}" | 32 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.EarliestCoreMBA", "test\examples\EarliestCoreMBA\Example.EarliestCoreMBA.csproj", "{1E86D8DF-DABD-4B6E-A812-64CD2040C73A}" |
33 | EndProject | 33 | EndProject |
34 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dnchost", "src\dnchost\dnchost.vcxproj", "{B6F70281-6583-4138-BB7F-AABFEBBB3CA2}" | 34 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dnchost", "dnchost\dnchost.vcxproj", "{B6F70281-6583-4138-BB7F-AABFEBBB3CA2}" |
35 | EndProject | 35 | EndProject |
36 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.LatestCoreMBA", "src\test\examples\LatestCoreMBA\Example.LatestCoreMBA.csproj", "{A4247D9D-3CC9-4BE1-B23A-BEC166AF3618}" | 36 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.LatestCoreMBA", "test\examples\LatestCoreMBA\Example.LatestCoreMBA.csproj", "{A4247D9D-3CC9-4BE1-B23A-BEC166AF3618}" |
37 | EndProject | 37 | EndProject |
38 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.WPFCoreMBA", "src\test\examples\WPFCoreMBA\Example.WPFCoreMBA.csproj", "{8E707BF2-FD72-4649-8727-BA5955D48D40}" | 38 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.WPFCoreMBA", "test\examples\WPFCoreMBA\Example.WPFCoreMBA.csproj", "{8E707BF2-FD72-4649-8727-BA5955D48D40}" |
39 | EndProject | 39 | EndProject |
40 | Global | 40 | Global |
41 | GlobalSection(SolutionConfigurationPlatforms) = preSolution | 41 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
diff --git a/src/ext/Bal/CSharp.Build.props b/src/ext/Bal/CSharp.Build.props deleted file mode 100644 index 81d24ad1..00000000 --- a/src/ext/Bal/CSharp.Build.props +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
2 | <!-- | ||
3 | Do NOT modify this file. Update the canonical version in Home\repo-template\src\CSharp.Build.props | ||
4 | then update all of the repos. | ||
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> | ||
diff --git a/src/ext/Bal/Cpp.Build.props b/src/ext/Bal/Cpp.Build.props deleted file mode 100644 index e7bba117..00000000 --- a/src/ext/Bal/Cpp.Build.props +++ /dev/null | |||
@@ -1,94 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | <Project> | ||
5 | <PropertyGroup> | ||
6 | <Platform Condition=" '$(Platform)' == '' OR '$(Platform)' == 'AnyCPU' ">Win32</Platform> | ||
7 | <IntDir>$(BaseIntermediateOutputPath)$(Configuration)\$(Platform)\</IntDir> | ||
8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> | ||
9 | |||
10 | <!-- NBGV properties --> | ||
11 | <AssemblyCompany>$(Company)</AssemblyCompany> | ||
12 | <AssemblyCopyright>$(Copyright)</AssemblyCopyright> | ||
13 | </PropertyGroup> | ||
14 | |||
15 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' AND '$(VisualStudioVersion)'>='15.0'"> | ||
16 | <WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> | ||
17 | </PropertyGroup> | ||
18 | |||
19 | <PropertyGroup> | ||
20 | <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CustomizedNativeRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
21 | </PropertyGroup> | ||
22 | |||
23 | <ItemDefinitionGroup> | ||
24 | <ClCompile> | ||
25 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> | ||
26 | <WarningLevel>Level4</WarningLevel> | ||
27 | <AdditionalIncludeDirectories>$(ProjectDir)inc;$(MSBuildProjectDirectory);$(IntDir);$(SqlCESdkIncludePath);$(ProjectAdditionalIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
28 | <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
29 | <PrecompiledHeader>Use</PrecompiledHeader> | ||
30 | <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> | ||
31 | <CallingConvention Condition="'$(Platform)'=='Win32'">StdCall</CallingConvention> | ||
32 | <TreatWarningAsError>true</TreatWarningAsError> | ||
33 | <ExceptionHandling>false</ExceptionHandling> | ||
34 | <AdditionalOptions>-YlprecompDefine</AdditionalOptions> | ||
35 | <AdditionalOptions Condition=" $(PlatformToolset.StartsWith('v14')) ">/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> | ||
36 | <MultiProcessorCompilation Condition=" $(NUMBER_OF_PROCESSORS) > 4 ">true</MultiProcessorCompilation> | ||
37 | </ClCompile> | ||
38 | <ResourceCompile> | ||
39 | <PreprocessorDefinitions>$(ArmPreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
40 | <AdditionalIncludeDirectories>$(ProjectAdditionalResourceIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
41 | </ResourceCompile> | ||
42 | <Lib> | ||
43 | <AdditionalLibraryDirectories>$(OutDir);$(AdditionalMultiTargetLibraryPath);$(ProjectAdditionalLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
44 | </Lib> | ||
45 | <Link> | ||
46 | <SubSystem>$(ProjectSubSystem)</SubSystem> | ||
47 | <ModuleDefinitionFile>$(ProjectModuleDefinitionFile)</ModuleDefinitionFile> | ||
48 | <NoEntryPoint>$(ResourceOnlyDll)</NoEntryPoint> | ||
49 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
50 | <AdditionalDependencies>$(ProjectAdditionalLinkLibraries);advapi32.lib;comdlg32.lib;user32.lib;oleaut32.lib;gdi32.lib;shell32.lib;ole32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
51 | <AdditionalLibraryDirectories>$(OutDir);$(AdditionalMultiTargetLibraryPath);$(ArmLibraryDirectories);$(ProjectAdditionalLinkLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
52 | <AdditionalOptions Condition=" $(PlatformToolset.StartsWith('v14')) ">/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions> | ||
53 | </Link> | ||
54 | </ItemDefinitionGroup> | ||
55 | |||
56 | <ItemDefinitionGroup Condition=" '$(Platform)'=='Win32' and '$(PlatformToolset)'!='v100'"> | ||
57 | <ClCompile> | ||
58 | <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet> | ||
59 | </ClCompile> | ||
60 | </ItemDefinitionGroup> | ||
61 | <ItemDefinitionGroup Condition=" '$(Platform)'=='arm' "> | ||
62 | <ClCompile> | ||
63 | <CallingConvention>CDecl</CallingConvention> | ||
64 | </ClCompile> | ||
65 | </ItemDefinitionGroup> | ||
66 | <ItemDefinitionGroup Condition=" '$(ConfigurationType)'=='StaticLibrary' "> | ||
67 | <ClCompile> | ||
68 | <DebugInformationFormat>OldStyle</DebugInformationFormat> | ||
69 | <OmitDefaultLibName>true</OmitDefaultLibName> | ||
70 | <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries> | ||
71 | </ClCompile> | ||
72 | </ItemDefinitionGroup> | ||
73 | <ItemDefinitionGroup Condition=" '$(Configuration)'=='Debug' "> | ||
74 | <ClCompile> | ||
75 | <Optimization>Disabled</Optimization> | ||
76 | <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | ||
77 | <PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
78 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | ||
79 | </ClCompile> | ||
80 | </ItemDefinitionGroup> | ||
81 | <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' "> | ||
82 | <ClCompile> | ||
83 | <Optimization>MinSpace</Optimization> | ||
84 | <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
85 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
86 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
87 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
88 | </ClCompile> | ||
89 | <Link> | ||
90 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
91 | <OptimizeReferences>true</OptimizeReferences> | ||
92 | </Link> | ||
93 | </ItemDefinitionGroup> | ||
94 | </Project> | ||
diff --git a/src/ext/Bal/Custom.Build.props b/src/ext/Bal/Custom.Build.props deleted file mode 100644 index 66e74d81..00000000 --- a/src/ext/Bal/Custom.Build.props +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
5 | <PropertyGroup Condition="$(ProjectName.StartsWith('Example.')) And '$(MSBuildProjectExtension)'=='.csproj' "> | ||
6 | <OutputPath>$(OutputPath)examples\$(ProjectName)\</OutputPath> | ||
7 | </PropertyGroup> | ||
8 | <PropertyGroup Condition="$(ProjectName.StartsWith('Example.')) And '$(MSBuildProjectExtension)'=='.vcxproj' "> | ||
9 | <OutDir>$(OutDir)examples\$(ProjectName)\</OutDir> | ||
10 | </PropertyGroup> | ||
11 | </Project> | ||
diff --git a/src/ext/Bal/Directory.Build.props b/src/ext/Bal/Directory.Build.props index f83cc154..ee59ca34 100644 --- a/src/ext/Bal/Directory.Build.props +++ b/src/ext/Bal/Directory.Build.props | |||
@@ -1,29 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | <!-- | 3 | |
4 | Do NOT modify this file. Update the canonical version in Home\repo-template\src\Directory.Build.props | ||
5 | then update all of the repos. | ||
6 | --> | ||
7 | <Project> | 4 | <Project> |
8 | <PropertyGroup> | 5 | <PropertyGroup> |
9 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | 6 | <SegmentName>Bal.wixext</SegmentName> |
10 | <EnableSourceLink Condition=" '$(NCrunch)' == '1' ">false</EnableSourceLink> | 7 | </PropertyGroup> |
11 | <MSBuildWarningsAsMessages>MSB3246</MSBuildWarningsAsMessages> | ||
12 | 8 | ||
13 | <ProjectName Condition=" '$(ProjectName)' == '' ">$(MSBuildProjectName)</ProjectName> | 9 | <Import Project="..\..\Directory.Build.props" /> |
14 | <BaseOutputPath>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\build\))</BaseOutputPath> | ||
15 | <BaseIntermediateOutputPath>$(BaseOutputPath)obj\$(ProjectName)\</BaseIntermediateOutputPath> | ||
16 | <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath> | ||
17 | 10 | ||
18 | <Authors>WiX Toolset Team</Authors> | 11 | <PropertyGroup Condition="$(ProjectName.StartsWith('Example.')) And '$(MSBuildProjectExtension)'=='.csproj' "> |
19 | <Company>WiX Toolset</Company> | 12 | <OutputPath>$(OutputPath)examples\$(ProjectName)\</OutputPath> |
20 | <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright> | 13 | </PropertyGroup> |
21 | <PackageLicenseExpression>MS-RL</PackageLicenseExpression> | 14 | <PropertyGroup Condition="$(ProjectName.StartsWith('Example.')) And '$(MSBuildProjectExtension)'=='.vcxproj' "> |
22 | <Product>WiX Toolset</Product> | 15 | <OutDir>$(OutDir)examples\$(ProjectName)\</OutDir> |
23 | </PropertyGroup> | 16 | </PropertyGroup> |
24 | |||
25 | <Import Project="CSharp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.csproj' and Exists('CSharp.Build.props') " /> | ||
26 | <Import Project="Cpp.Build.props" Condition=" Exists('Cpp.Build.props') And '$(MSBuildProjectExtension)'=='.vcxproj' " /> | ||
27 | <Import Project="Wix.Build.props" Condition=" Exists('Wix.Build.props') And '$(MSBuildProjectExtension)'=='.wixproj' " /> | ||
28 | <Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " /> | ||
29 | </Project> | 17 | </Project> |
diff --git a/src/ext/Bal/Directory.Build.targets b/src/ext/Bal/Directory.Build.targets deleted file mode 100644 index cb988931..00000000 --- a/src/ext/Bal/Directory.Build.targets +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | <!-- | ||
4 | Do NOT modify this file. Update the canonical version in Home\repo-template\src\Directory.Build.targets | ||
5 | then update all of the repos. | ||
6 | --> | ||
7 | <!-- | ||
8 | Replace PackageReferences with ProjectReferences when the projects can be found in .sln. | ||
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> | ||
20 | <TheSolutionPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalSolutionPath)</TheSolutionPath> | ||
21 | </PropertyGroup> | ||
22 | |||
23 | <Choose> | ||
24 | <When Condition="$(ReplacePackageReferences) AND '$(TheSolutionPath)' != '' AND '$(TheSolutionPath)' != '*undefined*' AND Exists('$(TheSolutionPath)')"> | ||
25 | |||
26 | <PropertyGroup> | ||
27 | <SolutionFileContent>$([System.IO.File]::ReadAllText($(TheSolutionPath)))</SolutionFileContent> | ||
28 | <SmartSolutionDir>$([System.IO.Path]::GetDirectoryName( $(TheSolutionPath) ))</SmartSolutionDir> | ||
29 | <RegexPattern>(?<="[PackageName]", ")(.*)(?=", ")</RegexPattern> | ||
30 | </PropertyGroup> | ||
31 | |||
32 | <ItemGroup> | ||
33 | <!-- Keep the identity of the PackageReference --> | ||
34 | <SmartPackageReference Include="@(PackageReference)"> | ||
35 | <PackageName>%(Identity)</PackageName> | ||
36 | <InSolution>$(SolutionFileContent.Contains('\%(Identity).csproj'))</InSolution> | ||
37 | </SmartPackageReference> | ||
38 | |||
39 | <!-- Filter them by mapping them to another ItemGroup using the WithMetadataValue item function --> | ||
40 | <PackageInSolution Include="@(SmartPackageReference->WithMetadataValue('InSolution', True))"> | ||
41 | <Pattern>$(RegexPattern.Replace('[PackageName]','%(PackageName)') )</Pattern> | ||
42 | <SmartPath>$([System.Text.RegularExpressions.Regex]::Match('$(SolutionFileContent)', '%(Pattern)'))</SmartPath> | ||
43 | </PackageInSolution> | ||
44 | |||
45 | <ProjectReference Include="@(PackageInSolution->'$(SmartSolutionDir)\%(SmartPath)' )"/> | ||
46 | |||
47 | <!-- Remove the package references that are now referenced as projects --> | ||
48 | <PackageReference Remove="@(PackageInSolution->'%(PackageName)' )"/> | ||
49 | </ItemGroup> | ||
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> | ||
diff --git a/src/ext/Bal/Samples/bafunctions/bafunctions.vcxproj b/src/ext/Bal/Samples/bafunctions/bafunctions.vcxproj index 640c812d..6aac6943 100644 --- a/src/ext/Bal/Samples/bafunctions/bafunctions.vcxproj +++ b/src/ext/Bal/Samples/bafunctions/bafunctions.vcxproj | |||
@@ -1,11 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" Toolsxmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props" Condition="Exists('..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" /> | ||
6 | <Import Project="..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
7 | <Import Project="..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | ||
8 | |||
9 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
10 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
11 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -64,18 +60,13 @@ | |||
64 | </ItemGroup> | 60 | </ItemGroup> |
65 | 61 | ||
66 | <ItemGroup> | 62 | <ItemGroup> |
67 | <None Include="packages.config" /> | 63 | <PackageReference Include="WixToolset.Dutil" /> |
64 | <PackageReference Include="WixToolset.BalUtil" /> | ||
65 | <PackageReference Include="WixToolset.BootstrapperCore.Native" /> | ||
66 | |||
67 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
68 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
68 | </ItemGroup> | 69 | </ItemGroup> |
69 | 70 | ||
70 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 71 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
71 | <Import Project="..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
72 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
73 | <PropertyGroup> | ||
74 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
75 | </PropertyGroup> | ||
76 | <Error Condition="!Exists('..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props'))" /> | ||
77 | <Error Condition="!Exists('..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
78 | <Error Condition="!Exists('..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | ||
79 | <Error Condition="!Exists('..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
80 | </Target> | ||
81 | </Project> | 72 | </Project> |
diff --git a/src/ext/Bal/Samples/bafunctions/packages.config b/src/ext/Bal/Samples/bafunctions/packages.config deleted file mode 100644 index 548ddb48..00000000 --- a/src/ext/Bal/Samples/bafunctions/packages.config +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.141" targetFramework="native" /> | ||
5 | <package id="WixToolset.BalUtil" version="4.0.58" targetFramework="native" /> | ||
6 | <package id="WixToolset.DUtil" version="4.0.72" targetFramework="native" /> | ||
7 | </packages> \ No newline at end of file | ||
diff --git a/src/ext/Bal/WixToolset.Dnc.Host/WixToolset.Dnc.Host.csproj b/src/ext/Bal/WixToolset.Dnc.Host/WixToolset.Dnc.Host.csproj index f347ca0b..a2f0d8ec 100644 --- a/src/ext/Bal/WixToolset.Dnc.Host/WixToolset.Dnc.Host.csproj +++ b/src/ext/Bal/WixToolset.Dnc.Host/WixToolset.Dnc.Host.csproj | |||
@@ -36,9 +36,4 @@ | |||
36 | <FileWrites Include="@(HeaderPath)" /> | 36 | <FileWrites Include="@(HeaderPath)" /> |
37 | </ItemGroup> | 37 | </ItemGroup> |
38 | </Target> | 38 | </Target> |
39 | |||
40 | <ItemGroup> | ||
41 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> | ||
42 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | ||
43 | </ItemGroup> | ||
44 | </Project> | 39 | </Project> |
diff --git a/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj b/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj index 3ee0ad1e..0bcd523c 100644 --- a/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj +++ b/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj | |||
@@ -15,14 +15,15 @@ | |||
15 | <ItemGroup> | 15 | <ItemGroup> |
16 | <None Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" /> | 16 | <None Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" /> |
17 | </ItemGroup> | 17 | </ItemGroup> |
18 | |||
18 | <ItemGroup> | 19 | <ItemGroup> |
19 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> | 20 | <Reference Include="System.Configuration" /> |
20 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | ||
21 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" /> | ||
22 | </ItemGroup> | 21 | </ItemGroup> |
22 | |||
23 | <ItemGroup> | 23 | <ItemGroup> |
24 | <Reference Include="System.Configuration" /> | 24 | <PackageReference Include="WixToolset.Mba.Core" /> |
25 | </ItemGroup> | 25 | </ItemGroup> |
26 | |||
26 | <ItemGroup> | 27 | <ItemGroup> |
27 | <HeaderPath Include="$(BaseOutputPath)obj\$(AssemblyName).h"> | 28 | <HeaderPath Include="$(BaseOutputPath)obj\$(AssemblyName).h"> |
28 | <Visible>False</Visible> | 29 | <Visible>False</Visible> |
@@ -44,11 +45,4 @@ | |||
44 | <FileWrites Include="@(HeaderPath)" /> | 45 | <FileWrites Include="@(HeaderPath)" /> |
45 | </ItemGroup> | 46 | </ItemGroup> |
46 | </Target> | 47 | </Target> |
47 | 48 | </Project> | |
48 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> | ||
49 | <PropertyGroup> | ||
50 | <NuspecBasePath>$(OutputPath)</NuspecBasePath> | ||
51 | <NuspecProperties>Id=$(AssemblyName);Version=$(BuildVersionSimple);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl)</NuspecProperties> | ||
52 | </PropertyGroup> | ||
53 | </Target> | ||
54 | </Project> \ No newline at end of file | ||
diff --git a/src/ext/Bal/appveyor.cmd b/src/ext/Bal/appveyor.cmd deleted file mode 100644 index f4e9c26e..00000000 --- a/src/ext/Bal/appveyor.cmd +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | @set _C=Release | ||
4 | |||
5 | nuget restore || exit /b | ||
6 | |||
7 | msbuild -p:Configuration=%_C% -Restore || exit /b | ||
8 | msbuild -p:Configuration=%_C% src\test\examples\examples.proj || exit /b | ||
9 | |||
10 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.Bal || exit /b | ||
11 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.ManagedHost || exit /b | ||
12 | |||
13 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\wixext\WixToolset.Bal.wixext.csproj || exit /b | ||
14 | msbuild -p:Configuration=%_C% -p:NoBuild=true -t:Pack src\WixToolset.Mba.Host\WixToolset.Mba.Host.csproj || exit /b | ||
15 | |||
16 | @popd | ||
17 | @endlocal | ||
diff --git a/src/ext/Bal/appveyor.yml b/src/ext/Bal/appveyor.yml deleted file mode 100644 index 7c686b04..00000000 --- a/src/ext/Bal/appveyor.yml +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | # Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | # | ||
3 | # Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml | ||
4 | # then update all of the repos. | ||
5 | |||
6 | branches: | ||
7 | only: | ||
8 | - master | ||
9 | - develop | ||
10 | |||
11 | image: Visual Studio 2019 | ||
12 | |||
13 | version: 0.0.0.{build} | ||
14 | configuration: Release | ||
15 | |||
16 | environment: | ||
17 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
18 | DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
19 | NUGET_XMLDOC_MODE: skip | ||
20 | |||
21 | build_script: | ||
22 | - appveyor.cmd | ||
23 | |||
24 | pull_requests: | ||
25 | do_not_increment_build_number: true | ||
26 | |||
27 | nuget: | ||
28 | disable_publish_on_pr: true | ||
29 | |||
30 | skip_branch_with_pr: true | ||
31 | skip_tags: true | ||
32 | |||
33 | artifacts: | ||
34 | - path: build\Release\**\*.nupkg | ||
35 | name: nuget | ||
36 | |||
37 | notifications: | ||
38 | - provider: Slack | ||
39 | incoming_webhook: | ||
40 | secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA= | ||
diff --git a/src/ext/Bal/bal.cmd b/src/ext/Bal/bal.cmd new file mode 100644 index 00000000..0bc55dfb --- /dev/null +++ b/src/ext/Bal/bal.cmd | |||
@@ -0,0 +1,36 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | |||
4 | @set _C=Debug | ||
5 | :parse_args | ||
6 | @if /i "%1"=="release" set _C=Release& shift | ||
7 | @if not "%1"=="" shift & goto parse_args | ||
8 | |||
9 | @echo Building ext\Util %_C% using %_N% | ||
10 | |||
11 | :: Restore | ||
12 | nuget restore dnchost\packages.config || exit /b | ||
13 | msbuild -t:Restore -p:Configuration=%_C% || exit /b | ||
14 | |||
15 | :: Build | ||
16 | msbuild -p:Configuration=%_C%;Platform=x86 dnchost\dnchost.vcxproj || exit /b | ||
17 | msbuild -p:Configuration=%_C%;Platform=x64 dnchost\dnchost.vcxproj || exit /b | ||
18 | msbuild -p:Configuration=%_C%;Platform=ARM64 dnchost\dnchost.vcxproj || exit /b | ||
19 | |||
20 | msbuild -p:Configuration=%_C%;Platform=x86 mbahost\mbahost.vcxproj || exit /b | ||
21 | msbuild -p:Configuration=%_C%;Platform=x64 mbahost\mbahost.vcxproj || exit /b | ||
22 | msbuild -p:Configuration=%_C%;Platform=ARM64 mbahost\mbahost.vcxproj || exit /b | ||
23 | |||
24 | msbuild -p:Configuration=%_C% || exit /b | ||
25 | msbuild -p:Configuration=%_C% test\examples\examples.proj || exit /b | ||
26 | |||
27 | :: Test | ||
28 | dotnet test -c %_C% --no-build test\WixToolsetTest.Bal || exit /b | ||
29 | dotnet test -c %_C% --no-build test\WixToolsetTest.ManagedHost || exit /b | ||
30 | |||
31 | :: Pack | ||
32 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true wixext\WixToolset.Bal.wixext.csproj || exit /b | ||
33 | msbuild -t:Pack -p:Configuration=%_C% -p:NoBuild=true WixToolset.Mba.Host\WixToolset.Mba.Host.csproj || exit /b | ||
34 | |||
35 | @popd | ||
36 | @endlocal | ||
diff --git a/src/ext/Bal/dnchost/dnchost.vcxproj b/src/ext/Bal/dnchost/dnchost.vcxproj index bef3f77e..6bc89427 100644 --- a/src/ext/Bal/dnchost/dnchost.vcxproj +++ b/src/ext/Bal/dnchost/dnchost.vcxproj | |||
@@ -1,12 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
4 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | ||
5 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
7 | <Import Project="..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
9 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | ||
10 | <ItemGroup Label="ProjectConfigurations"> | 4 | <ItemGroup Label="ProjectConfigurations"> |
11 | <ProjectConfiguration Include="Debug|ARM64"> | 5 | <ProjectConfiguration Include="Debug|ARM64"> |
12 | <Configuration>Debug</Configuration> | 6 | <Configuration>Debug</Configuration> |
@@ -33,6 +27,7 @@ | |||
33 | <Platform>x64</Platform> | 27 | <Platform>x64</Platform> |
34 | </ProjectConfiguration> | 28 | </ProjectConfiguration> |
35 | </ItemGroup> | 29 | </ItemGroup> |
30 | |||
36 | <PropertyGroup Label="Globals"> | 31 | <PropertyGroup Label="Globals"> |
37 | <ProjectGuid>{B6F70281-6583-4138-BB7F-AABFEBBB3CA2}</ProjectGuid> | 32 | <ProjectGuid>{B6F70281-6583-4138-BB7F-AABFEBBB3CA2}</ProjectGuid> |
38 | <ConfigurationType>DynamicLibrary</ConfigurationType> | 33 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
@@ -41,14 +36,18 @@ | |||
41 | <TargetName>dnchost</TargetName> | 36 | <TargetName>dnchost</TargetName> |
42 | <ProjectModuleDefinitionFile>dnchost.def</ProjectModuleDefinitionFile> | 37 | <ProjectModuleDefinitionFile>dnchost.def</ProjectModuleDefinitionFile> |
43 | </PropertyGroup> | 38 | </PropertyGroup> |
39 | |||
44 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 40 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
45 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 41 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
42 | |||
46 | <PropertyGroup> | 43 | <PropertyGroup> |
47 | <NetHostPlatform>$(Platform)</NetHostPlatform> | 44 | <NetHostPlatform>$(Platform)</NetHostPlatform> |
48 | <NetHostPlatform Condition=" '$(NetHostPlatform)'=='Win32' ">x86</NetHostPlatform> | 45 | <NetHostPlatform Condition=" '$(NetHostPlatform)'=='Win32' ">x86</NetHostPlatform> |
49 | <NetHostPath>..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.5.0.0\runtimes\win-$(NetHostPlatform)\native\</NetHostPath> | 46 | <NetHostPath>..\..\..\..\packages\runtime.win-$(NetHostPlatform).Microsoft.NETCore.DotNetAppHost.5.0.0\runtimes\win-$(NetHostPlatform)\native\</NetHostPath> |
47 | <ProjectAdditionalIncludeDirectories>$(BaseOutputPath)obj;$(NetHostPath)</ProjectAdditionalIncludeDirectories> | ||
50 | <ProjectAdditionalLinkLibraries>shlwapi.lib;$(NetHostPath)libnethost.lib</ProjectAdditionalLinkLibraries> | 48 | <ProjectAdditionalLinkLibraries>shlwapi.lib;$(NetHostPath)libnethost.lib</ProjectAdditionalLinkLibraries> |
51 | </PropertyGroup> | 49 | </PropertyGroup> |
50 | |||
52 | <ItemGroup> | 51 | <ItemGroup> |
53 | <ClCompile Include="dnchost.cpp" /> | 52 | <ClCompile Include="dnchost.cpp" /> |
54 | <ClCompile Include="dncutil.cpp" /> | 53 | <ClCompile Include="dncutil.cpp" /> |
@@ -56,26 +55,27 @@ | |||
56 | <PrecompiledHeader>Create</PrecompiledHeader> | 55 | <PrecompiledHeader>Create</PrecompiledHeader> |
57 | </ClCompile> | 56 | </ClCompile> |
58 | </ItemGroup> | 57 | </ItemGroup> |
58 | |||
59 | <ItemGroup> | 59 | <ItemGroup> |
60 | <ClInclude Include="coreclrhost.h" /> | 60 | <ClInclude Include="coreclrhost.h" /> |
61 | <ClInclude Include="dnchost.h" /> | 61 | <ClInclude Include="dnchost.h" /> |
62 | <ClInclude Include="dncutil.h" /> | 62 | <ClInclude Include="dncutil.h" /> |
63 | <ClInclude Include="precomp.h" /> | 63 | <ClInclude Include="precomp.h" /> |
64 | </ItemGroup> | 64 | </ItemGroup> |
65 | |||
65 | <ItemGroup> | 66 | <ItemGroup> |
66 | <None Include="dnchost.def" /> | 67 | <None Include="dnchost.def" /> |
67 | </ItemGroup> | 68 | </ItemGroup> |
68 | <ItemGroup> | 69 | |
69 | <None Include="packages.config" /> | ||
70 | </ItemGroup> | ||
71 | <ItemDefinitionGroup> | 70 | <ItemDefinitionGroup> |
72 | <ClCompile> | 71 | <!-- <ClCompile> |
73 | <AdditionalIncludeDirectories>$(BaseOutputPath)obj;$(NetHostPath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | 72 | <AdditionalIncludeDirectories>$(BaseOutputPath)obj;$(NetHostPath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
74 | </ClCompile> | 73 | </ClCompile> --> |
75 | <Link> | 74 | <Link> |
76 | <AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions> | 75 | <AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions> |
77 | </Link> | 76 | </Link> |
78 | </ItemDefinitionGroup> | 77 | </ItemDefinitionGroup> |
78 | |||
79 | <ItemGroup> | 79 | <ItemGroup> |
80 | <ProjectReference Include="..\WixToolset.Dnc.Host\WixToolset.Dnc.Host.csproj"> | 80 | <ProjectReference Include="..\WixToolset.Dnc.Host\WixToolset.Dnc.Host.csproj"> |
81 | <Project>{0D780900-C2FF-4FA2-8CB5-8A19768724C5}</Project> | 81 | <Project>{0D780900-C2FF-4FA2-8CB5-8A19768724C5}</Project> |
@@ -83,24 +83,15 @@ | |||
83 | <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties> | 83 | <SkipGetTargetFrameworkProperties>true</SkipGetTargetFrameworkProperties> |
84 | </ProjectReference> | 84 | </ProjectReference> |
85 | </ItemGroup> | 85 | </ItemGroup> |
86 | |||
87 | <ItemGroup> | ||
88 | <PackageReference Include="WixToolset.Dutil" /> | ||
89 | <PackageReference Include="WixToolset.BalUtil" /> | ||
90 | <PackageReference Include="WixToolset.BootstrapperCore.Native" /> | ||
91 | |||
92 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
93 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
94 | </ItemGroup> | ||
95 | |||
86 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 96 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
87 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 97 | </Project> |
88 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
89 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
90 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
91 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
92 | <PropertyGroup> | ||
93 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
94 | </PropertyGroup> | ||
95 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
96 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
97 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
98 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
99 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
100 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
101 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
102 | <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props'))" /> | ||
103 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
104 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | ||
105 | </Target> | ||
106 | </Project> \ No newline at end of file | ||
diff --git a/src/ext/Bal/dnchost/packages.config b/src/ext/Bal/dnchost/packages.config index 6c369364..78fa970f 100644 --- a/src/ext/Bal/dnchost/packages.config +++ b/src/ext/Bal/dnchost/packages.config | |||
@@ -1,13 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <packages> | 2 | <packages> |
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
7 | <package id="runtime.win-arm64.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> | 3 | <package id="runtime.win-arm64.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> |
8 | <package id="runtime.win-x64.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> | 4 | <package id="runtime.win-x64.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> |
9 | <package id="runtime.win-x86.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> | 5 | <package id="runtime.win-x86.Microsoft.NETCore.DotNetAppHost" version="5.0.0" targetFramework="native" /> |
10 | <package id="WixToolset.BalUtil" version="4.0.58" targetFramework="native" /> | ||
11 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.141" targetFramework="native" /> | ||
12 | <package id="WixToolset.DUtil" version="4.0.72" targetFramework="native" /> | ||
13 | </packages> \ No newline at end of file | 6 | </packages> \ No newline at end of file |
diff --git a/src/ext/Bal/mbahost/mbahost.vcxproj b/src/ext/Bal/mbahost/mbahost.vcxproj index 6457b4e0..5edb2562 100644 --- a/src/ext/Bal/mbahost/mbahost.vcxproj +++ b/src/ext/Bal/mbahost/mbahost.vcxproj | |||
@@ -1,14 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" Toolsxmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" /> | ||
9 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
10 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | ||
11 | |||
12 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
13 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
14 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -49,6 +42,7 @@ | |||
49 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
50 | 43 | ||
51 | <PropertyGroup> | 44 | <PropertyGroup> |
45 | <ProjectAdditionalIncludeDirectories>$(BaseOutputPath)obj</ProjectAdditionalIncludeDirectories> | ||
52 | <ProjectAdditionalLinkLibraries>shlwapi.lib</ProjectAdditionalLinkLibraries> | 46 | <ProjectAdditionalLinkLibraries>shlwapi.lib</ProjectAdditionalLinkLibraries> |
53 | </PropertyGroup> | 47 | </PropertyGroup> |
54 | 48 | ||
@@ -66,16 +60,6 @@ | |||
66 | </ItemGroup> | 60 | </ItemGroup> |
67 | 61 | ||
68 | <ItemGroup> | 62 | <ItemGroup> |
69 | <None Include="packages.config" /> | ||
70 | </ItemGroup> | ||
71 | |||
72 | <ItemDefinitionGroup> | ||
73 | <ClCompile> | ||
74 | <AdditionalIncludeDirectories>$(BaseOutputPath)obj;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
75 | </ClCompile> | ||
76 | </ItemDefinitionGroup> | ||
77 | |||
78 | <ItemGroup> | ||
79 | <ProjectReference Include="..\WixToolset.Mba.Host\WixToolset.Mba.Host.csproj"> | 63 | <ProjectReference Include="..\WixToolset.Mba.Host\WixToolset.Mba.Host.csproj"> |
80 | <Project>{f2ba1935-70fa-4156-b161-fd03850b4faa}</Project> | 64 | <Project>{f2ba1935-70fa-4156-b161-fd03850b4faa}</Project> |
81 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | 65 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
@@ -83,24 +67,14 @@ | |||
83 | </ProjectReference> | 67 | </ProjectReference> |
84 | </ItemGroup> | 68 | </ItemGroup> |
85 | 69 | ||
70 | <ItemGroup> | ||
71 | <PackageReference Include="WixToolset.Dutil" /> | ||
72 | <PackageReference Include="WixToolset.BalUtil" /> | ||
73 | <PackageReference Include="WixToolset.BootstrapperCore.Native" /> | ||
74 | |||
75 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
76 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
77 | </ItemGroup> | ||
78 | |||
86 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 79 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
87 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 80 | </Project> |
88 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
89 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
90 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
91 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
92 | <PropertyGroup> | ||
93 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
94 | </PropertyGroup> | ||
95 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
96 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
97 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
98 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
99 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
100 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
101 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
102 | <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props'))" /> | ||
103 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
104 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | ||
105 | </Target> | ||
106 | </Project> \ No newline at end of file | ||
diff --git a/src/ext/Bal/mbahost/packages.config b/src/ext/Bal/mbahost/packages.config deleted file mode 100644 index 071284ac..00000000 --- a/src/ext/Bal/mbahost/packages.config +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
7 | <package id="WixToolset.BalUtil" version="4.0.58" targetFramework="native" /> | ||
8 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.141" targetFramework="native" /> | ||
9 | <package id="WixToolset.DUtil" version="4.0.72" targetFramework="native" /> | ||
10 | </packages> \ No newline at end of file | ||
diff --git a/src/ext/Bal/nuget.config b/src/ext/Bal/nuget.config deleted file mode 100644 index f3277bc4..00000000 --- a/src/ext/Bal/nuget.config +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <configuration> | ||
3 | <packageSources> | ||
4 | <clear /> | ||
5 | <add key="wixtoolset-burn" value="https://ci.appveyor.com/nuget/wixtoolset-burn" /> | ||
6 | <add key="wixtoolset-data" value="https://ci.appveyor.com/nuget/wixtoolset-data" /> | ||
7 | <add key="wixtoolset-extensibility" value="https://ci.appveyor.com/nuget/wixtoolset-extensibility" /> | ||
8 | <add key="wixtoolset-core" value="https://ci.appveyor.com/nuget/wixtoolset-core" /> | ||
9 | <add key="wixtoolset-core-native" value="https://ci.appveyor.com/nuget/wixtoolset-core-native" /> | ||
10 | <add key="wixtoolset-dtf" value="https://ci.appveyor.com/nuget/wixtoolset-dtf" /> | ||
11 | <add key="wixtoolset-balutil" value="https://ci.appveyor.com/nuget/wixtoolset-balutil" /> | ||
12 | <add key="wixtoolset-dutil" value="https://ci.appveyor.com/nuget/wixtoolset-dutil" /> | ||
13 | <add key="wixtoolset-netfx-wixext" value="https://ci.appveyor.com/nuget/wixtoolset-netfx-wixext" /> | ||
14 | <add key="wixtoolset-wcautil" value="https://ci.appveyor.com/nuget/wixtoolset-wcautil" /> | ||
15 | <add key="wixtoolset-tools" value="https://ci.appveyor.com/nuget/wixtoolset-tools" /> | ||
16 | <add key="wixbuildtools" value="https://ci.appveyor.com/nuget/wixbuildtools" /> | ||
17 | <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | ||
18 | </packageSources> | ||
19 | </configuration> \ No newline at end of file | ||
diff --git a/src/ext/Bal/test/WixToolsetTest.Bal/WixToolsetTest.Bal.csproj b/src/ext/Bal/test/WixToolsetTest.Bal/WixToolsetTest.Bal.csproj index c9ab4219..f00a8eff 100644 --- a/src/ext/Bal/test/WixToolsetTest.Bal/WixToolsetTest.Bal.csproj +++ b/src/ext/Bal/test/WixToolsetTest.Bal/WixToolsetTest.Bal.csproj | |||
@@ -5,6 +5,7 @@ | |||
5 | <PropertyGroup> | 5 | <PropertyGroup> |
6 | <TargetFramework>netcoreapp3.1</TargetFramework> | 6 | <TargetFramework>netcoreapp3.1</TargetFramework> |
7 | <IsPackable>false</IsPackable> | 7 | <IsPackable>false</IsPackable> |
8 | <SignOutput>false</SignOutput> | ||
8 | </PropertyGroup> | 9 | </PropertyGroup> |
9 | 10 | ||
10 | <ItemGroup> | 11 | <ItemGroup> |
@@ -24,20 +25,12 @@ | |||
24 | </ItemGroup> | 25 | </ItemGroup> |
25 | 26 | ||
26 | <ItemGroup> | 27 | <ItemGroup> |
27 | <PackageReference Include="WixToolset.Core" Version="4.0.*" /> | 28 | <PackageReference Include="WixToolset.Core.TestPackage" /> |
28 | <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" /> | ||
29 | <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" /> | ||
30 | <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" /> | ||
31 | <PackageReference Include="WixToolset.Data" Version="4.0.*" /> | ||
32 | </ItemGroup> | 29 | </ItemGroup> |
33 | 30 | ||
34 | <ItemGroup> | 31 | <ItemGroup> |
35 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.*" /> | 32 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
36 | </ItemGroup> | 33 | <PackageReference Include="xunit" /> |
37 | 34 | <PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" /> | |
38 | <ItemGroup> | ||
39 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" /> | ||
40 | <PackageReference Include="xunit" Version="2.4.1" /> | ||
41 | <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" PrivateAssets="All" /> | ||
42 | </ItemGroup> | 35 | </ItemGroup> |
43 | </Project> | 36 | </Project> |
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs b/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs index 44538227..9d7fc9db 100644 --- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs +++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/TestEngine.cs | |||
@@ -10,7 +10,7 @@ namespace WixToolsetTest.ManagedHost | |||
10 | 10 | ||
11 | public class TestEngine | 11 | public class TestEngine |
12 | { | 12 | { |
13 | private static readonly string TestEngineFile = TestData.Get(@"..\Win32\examples\Example.TestEngine\Example.TestEngine.exe"); | 13 | private static readonly string TestEngineFile = TestData.Get(@"..\x86\examples\Example.TestEngine\Example.TestEngine.exe"); |
14 | 14 | ||
15 | public TestEngineResult RunReloadEngine(string bundleFilePath, string tempFolderPath) | 15 | public TestEngineResult RunReloadEngine(string bundleFilePath, string tempFolderPath) |
16 | { | 16 | { |
diff --git a/src/ext/Bal/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj b/src/ext/Bal/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj index 38c8926c..16dbec94 100644 --- a/src/ext/Bal/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj +++ b/src/ext/Bal/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj | |||
@@ -4,22 +4,21 @@ | |||
4 | <Project Sdk="Microsoft.NET.Sdk"> | 4 | <Project Sdk="Microsoft.NET.Sdk"> |
5 | <PropertyGroup> | 5 | <PropertyGroup> |
6 | <TargetFramework>netcoreapp3.1</TargetFramework> | 6 | <TargetFramework>netcoreapp3.1</TargetFramework> |
7 | <IsPackable>false</IsPackable> | ||
8 | <SignOutput>false</SignOutput> | ||
7 | </PropertyGroup> | 9 | </PropertyGroup> |
8 | 10 | ||
9 | <ItemGroup> | 11 | <ItemGroup> |
10 | <ProjectReference Include="..\examples\TestEngine\Example.TestEngine.vcxproj" /> | 12 | <ProjectReference Include="..\examples\TestEngine\Example.TestEngine.vcxproj" ReferenceOutputAssembly="false" /> |
11 | </ItemGroup> | 13 | </ItemGroup> |
12 | 14 | ||
13 | <ItemGroup> | 15 | <ItemGroup> |
14 | <PackageReference Include="WixBuildTools.TestSupport" Version="4.0.*" /> | 16 | <PackageReference Include="WixToolset.Core.TestPackage" /> |
15 | <PackageReference Include="WixToolset.Core.Burn" Version="4.0.*" /> | ||
16 | <PackageReference Include="WixToolset.Core.WindowsInstaller" Version="4.0.*" /> | ||
17 | <PackageReference Include="WixToolset.Core.TestPackage" Version="4.0.*" /> | ||
18 | </ItemGroup> | 17 | </ItemGroup> |
19 | 18 | ||
20 | <ItemGroup> | 19 | <ItemGroup> |
21 | <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.3.0" /> | 20 | <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
22 | <PackageReference Include="xunit" Version="2.4.1" /> | 21 | <PackageReference Include="xunit" /> |
23 | <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" PrivateAssets="All" /> | 22 | <PackageReference Include="xunit.runner.visualstudio" PrivateAssets="All" /> |
24 | </ItemGroup> | 23 | </ItemGroup> |
25 | </Project> | 24 | </Project> |
diff --git a/src/ext/Bal/test/examples/Directory.Build.props b/src/ext/Bal/test/examples/Directory.Build.props index 3d5870a5..52b931f6 100644 --- a/src/ext/Bal/test/examples/Directory.Build.props +++ b/src/ext/Bal/test/examples/Directory.Build.props | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | <Project> | 3 | <Project> |
4 | <Import Project="..\..\Directory.Build.props" /> | 4 | <Import Project="$(MsbuildThisFileDirectory)..\..\Directory.Build.props" /> |
5 | <Import Project="Wix.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.wixproj' " /> | 5 | <Import Project="Wix.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.wixproj' " /> |
6 | </Project> | 6 | </Project> |
diff --git a/src/ext/Bal/test/examples/Directory.Build.targets b/src/ext/Bal/test/examples/Directory.Build.targets index 6dcf402b..35946585 100644 --- a/src/ext/Bal/test/examples/Directory.Build.targets +++ b/src/ext/Bal/test/examples/Directory.Build.targets | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | <Project> | 3 | <Project> |
4 | <Import Project="..\..\Directory.Build.targets" /> | 4 | <Import Project="$(MsbuildThisFileDirectory)..\..\..\..\Directory.Build.targets" /> |
5 | <Import Project="Wix.Build.targets" Condition=" '$(MSBuildProjectExtension)'=='.wixproj' " /> | 5 | <Import Project="Wix.Build.targets" Condition=" '$(MSBuildProjectExtension)'=='.wixproj' " /> |
6 | </Project> | 6 | </Project> |
diff --git a/src/ext/Bal/test/examples/EarliestCoreBundleFDD/FrameworkDependentBundle.wxs b/src/ext/Bal/test/examples/EarliestCoreBundleFDD/FrameworkDependentBundle.wxs index d146845c..d7b06f6a 100644 --- a/src/ext/Bal/test/examples/EarliestCoreBundleFDD/FrameworkDependentBundle.wxs +++ b/src/ext/Bal/test/examples/EarliestCoreBundleFDD/FrameworkDependentBundle.wxs | |||
@@ -3,7 +3,6 @@ | |||
3 | <BootstrapperApplication> | 3 | <BootstrapperApplication> |
4 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.deps.json" Name="Example.EarliestCoreMBA.deps.json" /> | 4 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.deps.json" Name="Example.EarliestCoreMBA.deps.json" /> |
5 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.dll" Name="Example.EarliestCoreMBA.dll" bal:BAFactoryAssembly="yes" /> | 5 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.dll" Name="Example.EarliestCoreMBA.dll" bal:BAFactoryAssembly="yes" /> |
6 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.pdb" Name="Example.EarliestCoreMBA.pdb" /> | ||
7 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.runtimeconfig.json" Name="Example.EarliestCoreMBA.runtimeconfig.json" /> | 6 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.runtimeconfig.json" Name="Example.EarliestCoreMBA.runtimeconfig.json" /> |
8 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> | 7 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> |
9 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> | 8 | <Payload SourceFile="publish\Example.EarliestCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> |
diff --git a/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj b/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj index cb66c138..8069df45 100644 --- a/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj +++ b/src/ext/Bal/test/examples/EarliestCoreMBA/Example.EarliestCoreMBA.csproj | |||
@@ -12,7 +12,6 @@ | |||
12 | </ItemGroup> | 12 | </ItemGroup> |
13 | 13 | ||
14 | <ItemGroup> | 14 | <ItemGroup> |
15 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 15 | <PackageReference Include="WixToolset.Mba.Core" /> |
16 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" /> | ||
17 | </ItemGroup> | 16 | </ItemGroup> |
18 | </Project> \ No newline at end of file | 17 | </Project> |
diff --git a/src/ext/Bal/test/examples/FullFramework2MBA/Example.FullFramework2MBA.csproj b/src/ext/Bal/test/examples/FullFramework2MBA/Example.FullFramework2MBA.csproj index 21079ed1..7e0e4881 100644 --- a/src/ext/Bal/test/examples/FullFramework2MBA/Example.FullFramework2MBA.csproj +++ b/src/ext/Bal/test/examples/FullFramework2MBA/Example.FullFramework2MBA.csproj | |||
@@ -15,6 +15,11 @@ | |||
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | 16 | ||
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" /> | 18 | <PackageReference Include="WixToolset.Mba.Core" /> |
19 | </ItemGroup> | 19 | </ItemGroup> |
20 | </Project> \ No newline at end of file | 20 | |
21 | <ItemGroup> | ||
22 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
23 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
24 | </ItemGroup> | ||
25 | </Project> | ||
diff --git a/src/ext/Bal/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj b/src/ext/Bal/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj index a05e7888..ae0d4cc8 100644 --- a/src/ext/Bal/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj +++ b/src/ext/Bal/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj | |||
@@ -9,11 +9,10 @@ | |||
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 12 | <Content Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" /> |
13 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" PrivateAssets="All" /> | ||
14 | </ItemGroup> | 13 | </ItemGroup> |
15 | 14 | ||
16 | <ItemGroup> | 15 | <ItemGroup> |
17 | <Content Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" /> | 16 | <PackageReference Include="WixToolset.Mba.Core" /> |
18 | </ItemGroup> | 17 | </ItemGroup> |
19 | </Project> \ No newline at end of file | 18 | </Project> |
diff --git a/src/ext/Bal/test/examples/LatestCoreBundleFDD/FrameworkDependentBundle.wxs b/src/ext/Bal/test/examples/LatestCoreBundleFDD/FrameworkDependentBundle.wxs index d5b543e8..c569442a 100644 --- a/src/ext/Bal/test/examples/LatestCoreBundleFDD/FrameworkDependentBundle.wxs +++ b/src/ext/Bal/test/examples/LatestCoreBundleFDD/FrameworkDependentBundle.wxs | |||
@@ -3,7 +3,6 @@ | |||
3 | <BootstrapperApplication> | 3 | <BootstrapperApplication> |
4 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.deps.json" Name="Example.LatestCoreMBA.deps.json" /> | 4 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.deps.json" Name="Example.LatestCoreMBA.deps.json" /> |
5 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.dll" Name="Example.LatestCoreMBA.dll" bal:BAFactoryAssembly="yes" /> | 5 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.dll" Name="Example.LatestCoreMBA.dll" bal:BAFactoryAssembly="yes" /> |
6 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.pdb" Name="Example.LatestCoreMBA.pdb" /> | ||
7 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.runtimeconfig.json" Name="Example.LatestCoreMBA.runtimeconfig.json" /> | 6 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.runtimeconfig.json" Name="Example.LatestCoreMBA.runtimeconfig.json" /> |
8 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> | 7 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> |
9 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> | 8 | <Payload SourceFile="publish\Example.LatestCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> |
diff --git a/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj b/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj index 9f3f02d9..aad56a3e 100644 --- a/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj +++ b/src/ext/Bal/test/examples/LatestCoreMBA/Example.LatestCoreMBA.csproj | |||
@@ -15,7 +15,6 @@ | |||
15 | </ItemGroup> | 15 | </ItemGroup> |
16 | 16 | ||
17 | <ItemGroup> | 17 | <ItemGroup> |
18 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 18 | <PackageReference Include="WixToolset.Mba.Core" /> |
19 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" /> | ||
20 | </ItemGroup> | 19 | </ItemGroup> |
21 | </Project> \ No newline at end of file | 20 | </Project> |
diff --git a/src/ext/Bal/test/examples/TestEngine/Example.TestEngine.vcxproj b/src/ext/Bal/test/examples/TestEngine/Example.TestEngine.vcxproj index 99eb917e..39207d77 100644 --- a/src/ext/Bal/test/examples/TestEngine/Example.TestEngine.vcxproj +++ b/src/ext/Bal/test/examples/TestEngine/Example.TestEngine.vcxproj | |||
@@ -1,9 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 3 | |
4 | <Import Project="..\..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props" Condition="Exists('..\..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" /> | 4 | <Project DefaultTargets="Build" Toolsxmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
6 | <Import Project="..\..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | ||
7 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
8 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
9 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -30,6 +28,7 @@ | |||
30 | <Platform>x64</Platform> | 28 | <Platform>x64</Platform> |
31 | </ProjectConfiguration> | 29 | </ProjectConfiguration> |
32 | </ItemGroup> | 30 | </ItemGroup> |
31 | |||
33 | <PropertyGroup Label="Globals"> | 32 | <PropertyGroup Label="Globals"> |
34 | <ProjectGuid>{3D44B67D-A475-49BA-8310-E39F6C117CC9}</ProjectGuid> | 33 | <ProjectGuid>{3D44B67D-A475-49BA-8310-E39F6C117CC9}</ProjectGuid> |
35 | <ConfigurationType>Application</ConfigurationType> | 34 | <ConfigurationType>Application</ConfigurationType> |
@@ -39,17 +38,10 @@ | |||
39 | <CharacterSet>Unicode</CharacterSet> | 38 | <CharacterSet>Unicode</CharacterSet> |
40 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | 39 | <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> |
41 | </PropertyGroup> | 40 | </PropertyGroup> |
41 | |||
42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
44 | <ImportGroup Label="ExtensionSettings"> | 44 | |
45 | </ImportGroup> | ||
46 | <ImportGroup Label="Shared"> | ||
47 | <Import Project="..\..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
48 | </ImportGroup> | ||
49 | <PropertyGroup> | ||
50 | <ProjectAdditionalLinkLibraries> | ||
51 | </ProjectAdditionalLinkLibraries> | ||
52 | </PropertyGroup> | ||
53 | <ItemGroup> | 45 | <ItemGroup> |
54 | <ClCompile Include="precomp.cpp"> | 46 | <ClCompile Include="precomp.cpp"> |
55 | <PrecompiledHeader>Create</PrecompiledHeader> | 47 | <PrecompiledHeader>Create</PrecompiledHeader> |
@@ -60,6 +52,7 @@ | |||
60 | <ClCompile Include="TestEngine.cpp" /> | 52 | <ClCompile Include="TestEngine.cpp" /> |
61 | <ClCompile Include="WaitForQuitEngine.cpp" /> | 53 | <ClCompile Include="WaitForQuitEngine.cpp" /> |
62 | </ItemGroup> | 54 | </ItemGroup> |
55 | |||
63 | <ItemGroup> | 56 | <ItemGroup> |
64 | <ClInclude Include="precomp.h" /> | 57 | <ClInclude Include="precomp.h" /> |
65 | <ClInclude Include="ReloadEngine.h" /> | 58 | <ClInclude Include="ReloadEngine.h" /> |
@@ -67,17 +60,15 @@ | |||
67 | <ClInclude Include="TestEngine.h" /> | 60 | <ClInclude Include="TestEngine.h" /> |
68 | <ClInclude Include="WaitForQuitEngine.h" /> | 61 | <ClInclude Include="WaitForQuitEngine.h" /> |
69 | </ItemGroup> | 62 | </ItemGroup> |
63 | |||
70 | <ItemGroup> | 64 | <ItemGroup> |
71 | <None Include="packages.config" /> | 65 | <PackageReference Include="WixToolset.Dutil" /> |
66 | <PackageReference Include="WixToolset.BalUtil" /> | ||
67 | <PackageReference Include="WixToolset.BootstrapperCore.Native" /> | ||
68 | |||
69 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
70 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
72 | </ItemGroup> | 71 | </ItemGroup> |
72 | |||
73 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 73 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
74 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | 74 | </Project> |
75 | <PropertyGroup> | ||
76 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
77 | </PropertyGroup> | ||
78 | <Error Condition="!Exists('..\..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
79 | <Error Condition="!Exists('..\..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props'))" /> | ||
80 | <Error Condition="!Exists('..\..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
81 | <Error Condition="!Exists('..\..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | ||
82 | </Target> | ||
83 | </Project> \ No newline at end of file | ||
diff --git a/src/ext/Bal/test/examples/TestEngine/packages.config b/src/ext/Bal/test/examples/TestEngine/packages.config deleted file mode 100644 index 548ddb48..00000000 --- a/src/ext/Bal/test/examples/TestEngine/packages.config +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.141" targetFramework="native" /> | ||
5 | <package id="WixToolset.BalUtil" version="4.0.58" targetFramework="native" /> | ||
6 | <package id="WixToolset.DUtil" version="4.0.72" targetFramework="native" /> | ||
7 | </packages> \ No newline at end of file | ||
diff --git a/src/ext/Bal/test/examples/WPFCoreBundleFDD/FrameworkDependentBundle.wxs b/src/ext/Bal/test/examples/WPFCoreBundleFDD/FrameworkDependentBundle.wxs index 68d742b0..aa2bdeb2 100644 --- a/src/ext/Bal/test/examples/WPFCoreBundleFDD/FrameworkDependentBundle.wxs +++ b/src/ext/Bal/test/examples/WPFCoreBundleFDD/FrameworkDependentBundle.wxs | |||
@@ -3,7 +3,6 @@ | |||
3 | <BootstrapperApplication> | 3 | <BootstrapperApplication> |
4 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.deps.json" Name="Example.WPFCoreMBA.deps.json" /> | 4 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.deps.json" Name="Example.WPFCoreMBA.deps.json" /> |
5 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.dll" Name="Example.WPFCoreMBA.dll" bal:BAFactoryAssembly="yes" /> | 5 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.dll" Name="Example.WPFCoreMBA.dll" bal:BAFactoryAssembly="yes" /> |
6 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.pdb" Name="Example.WPFCoreMBA.pdb" /> | ||
7 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.runtimeconfig.json" Name="Example.WPFCoreMBA.runtimeconfig.json" /> | 6 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\Example.WPFCoreMBA.runtimeconfig.json" Name="Example.WPFCoreMBA.runtimeconfig.json" /> |
8 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> | 7 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\mbanative.dll" Name="mbanative.dll" /> |
9 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> | 8 | <Payload SourceFile="publish\Example.WPFCoreMBA\fdd\WixToolset.Mba.Core.dll" Name="WixToolset.Mba.Core.dll" /> |
diff --git a/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj b/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj index 296e5be9..3d63e7b9 100644 --- a/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj +++ b/src/ext/Bal/test/examples/WPFCoreMBA/Example.WPFCoreMBA.csproj | |||
@@ -8,9 +8,17 @@ | |||
8 | <UseWPF>true</UseWPF> | 8 | <UseWPF>true</UseWPF> |
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | |||
12 | <ItemGroup> | 11 | <ItemGroup> |
13 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 12 | <PackageReference Include="WixToolset.Mba.Core" /> |
14 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" /> | ||
15 | </ItemGroup> | 13 | </ItemGroup> |
16 | </Project> \ No newline at end of file | 14 | |
15 | <Target Name="GitVersion"> | ||
16 | <PropertyGroup> | ||
17 | <GitBaseVersionMajor>42</GitBaseVersionMajor> | ||
18 | <GitBaseVersionMinor>42</GitBaseVersionMinor> | ||
19 | <GitBaseVersionPatch>42</GitBaseVersionPatch> | ||
20 | <GitCommits>42</GitCommits> | ||
21 | <GitSha>abc123def456</GitSha> | ||
22 | </PropertyGroup> | ||
23 | </Target> | ||
24 | </Project> | ||
diff --git a/src/ext/Bal/test/examples/examples.proj b/src/ext/Bal/test/examples/examples.proj index 08cb7511..5722cfcb 100644 --- a/src/ext/Bal/test/examples/examples.proj +++ b/src/ext/Bal/test/examples/examples.proj | |||
@@ -46,5 +46,5 @@ | |||
46 | <MSBuild Projects="%(ExampleBundleProject.Identity)" /> | 46 | <MSBuild Projects="%(ExampleBundleProject.Identity)" /> |
47 | </Target> | 47 | </Target> |
48 | 48 | ||
49 | <Import Project="..\..\Directory.Build.targets" /> | 49 | <Import Project="..\..\..\..\Directory.Build.targets" /> |
50 | </Project> \ No newline at end of file | 50 | </Project> \ No newline at end of file |
diff --git a/src/ext/Bal/wix.snk b/src/ext/Bal/wix.snk deleted file mode 100644 index 3908a66a..00000000 --- a/src/ext/Bal/wix.snk +++ /dev/null | |||
Binary files differ | |||
diff --git a/src/ext/Bal/wixext/WixToolset.Bal.wixext.csproj b/src/ext/Bal/wixext/WixToolset.Bal.wixext.csproj index 00451403..f74baa9a 100644 --- a/src/ext/Bal/wixext/WixToolset.Bal.wixext.csproj +++ b/src/ext/Bal/wixext/WixToolset.Bal.wixext.csproj | |||
@@ -8,32 +8,20 @@ | |||
8 | <Description>WiX Toolset Bal Extension</Description> | 8 | <Description>WiX Toolset Bal Extension</Description> |
9 | <Title>WiX Toolset Bal Extension</Title> | 9 | <Title>WiX Toolset Bal Extension</Title> |
10 | <DebugType>embedded</DebugType> | 10 | <DebugType>embedded</DebugType> |
11 | <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile> | ||
12 | <IncludeSymbols>true</IncludeSymbols> | 11 | <IncludeSymbols>true</IncludeSymbols> |
13 | <NuspecProperties>Id=$(MSBuildThisFileName);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);Title=$(Title)</NuspecProperties> | ||
14 | </PropertyGroup> | 12 | </PropertyGroup> |
13 | |||
15 | <ItemGroup> | 14 | <ItemGroup> |
16 | <Content Include="$(MSBuildThisFileName).targets" /> | 15 | <Content Include="$(MSBuildThisFileName).targets" /> |
17 | <EmbeddedResource Include="$(OutputPath)..\bal.wixlib" /> | 16 | <EmbeddedResource Include="$(OutputPath)..\bal.wixlib" /> |
18 | </ItemGroup> | 17 | </ItemGroup> |
19 | <ItemGroup> | ||
20 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" /> | ||
21 | <PackageReference Include="WixToolset.Data" Version="4.0.*" PrivateAssets="all" /> | ||
22 | <PackageReference Include="WixToolset.Extensibility" Version="4.0.*" PrivateAssets="all" /> | ||
23 | </ItemGroup> | ||
24 | 18 | ||
25 | <ItemGroup> | 19 | <ItemGroup> |
26 | <ProjectReference Include="..\wixlib\bal.wixproj" ReferenceOutputAssembly="false" Condition=" '$(NCrunch)'=='' " /> | 20 | <PackageReference Include="WixToolset.Data" PrivateAssets="all" /> |
21 | <PackageReference Include="WixToolset.Extensibility" PrivateAssets="all" /> | ||
27 | </ItemGroup> | 22 | </ItemGroup> |
28 | 23 | ||
29 | <ItemGroup> | 24 | <ItemGroup Condition=" '$(NCrunch)'=='' "> |
30 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="all" /> | 25 | <ProjectReference Include="..\wixlib\bal.wixproj" ReferenceOutputAssembly="false" /> |
31 | </ItemGroup> | 26 | </ItemGroup> |
32 | |||
33 | <Target Name="SetNuspecProperties" DependsOnTargets="InitializeSourceControlInformation" AfterTargets="GetBuildVersion"> | ||
34 | <PropertyGroup> | ||
35 | <NuspecBasePath>$(OutputPath)..\</NuspecBasePath> | ||
36 | <NuspecProperties>$(NuspecProperties);Version=$(BuildVersionSimple);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl);ProjectFolder=$(MSBuildThisFileDirectory)</NuspecProperties> | ||
37 | </PropertyGroup> | ||
38 | </Target> | ||
39 | </Project> | 27 | </Project> |
diff --git a/src/ext/Bal/wixext/WixToolset.Bal.wixext.nuspec b/src/ext/Bal/wixext/WixToolset.Bal.wixext.nuspec index d9e704ae..c99c803f 100644 --- a/src/ext/Bal/wixext/WixToolset.Bal.wixext.nuspec +++ b/src/ext/Bal/wixext/WixToolset.Bal.wixext.nuspec | |||
@@ -15,12 +15,12 @@ | |||
15 | </metadata> | 15 | </metadata> |
16 | 16 | ||
17 | <files> | 17 | <files> |
18 | <file src="$projectFolder$$id$.targets" target="build" /> | 18 | <file src="$projectFolder$\$id$.targets" target="build" /> |
19 | 19 | ||
20 | <file src="netstandard2.0\$id$.dll" target="tools" /> | 20 | <file src="$id$.dll" target="tools" /> |
21 | 21 | ||
22 | <file src="x86\*.pdb" target="pdbs\x86" /> | 22 | <file src="..\x86\*.pdb" target="pdbs\x86" /> |
23 | <file src="x64\*.pdb" target="pdbs\x64" /> | 23 | <file src="..\x64\*.pdb" target="pdbs\x64" /> |
24 | <file src="ARM64\*.pdb" target="pdbs\ARM64" /> | 24 | <file src="..\ARM64\*.pdb" target="pdbs\ARM64" /> |
25 | </files> | 25 | </files> |
26 | </package> | 26 | </package> |
diff --git a/src/ext/Bal/wixlib/BalExtension_arm64.wxs b/src/ext/Bal/wixlib/BalExtension_arm64.wxs index 1b9e11d2..9a1ca60c 100644 --- a/src/ext/Bal/wixlib/BalExtension_arm64.wxs +++ b/src/ext/Bal/wixlib/BalExtension_arm64.wxs | |||
@@ -1,7 +1,7 @@ | |||
1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
2 | 2 | ||
3 | |||
4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
5 | <?define platform=arm64 ?> | 4 | <?define platform=arm64 ?> |
6 | <?include BalExtension_platform.wxi ?> | 5 | <?include BalExtension_platform.wxi ?> |
6 | <?include Mbahost_platform.wxi ?> | ||
7 | </Wix> | 7 | </Wix> |
diff --git a/src/ext/Bal/wixlib/BalExtension_platform.wxi b/src/ext/Bal/wixlib/BalExtension_platform.wxi index 33122fb2..6978ba99 100644 --- a/src/ext/Bal/wixlib/BalExtension_platform.wxi +++ b/src/ext/Bal/wixlib/BalExtension_platform.wxi | |||
@@ -16,20 +16,6 @@ | |||
16 | </BootstrapperApplication> | 16 | </BootstrapperApplication> |
17 | <BootstrapperApplicationRef Id="WixDotNetCoreBootstrapperApplicationHost$(var.Suffix)" /> | 17 | <BootstrapperApplicationRef Id="WixDotNetCoreBootstrapperApplicationHost$(var.Suffix)" /> |
18 | </Fragment> | 18 | </Fragment> |
19 | |||
20 | <Fragment> | ||
21 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost$(var.Suffix)"> | ||
22 | <BootstrapperApplicationDll Id="WixManagedBootstrapperApplicationHost" SourceFile="!(bindpath.$(var.platform))\mbahost.dll" /> | ||
23 | <Payload SourceFile="!(bindpath.$(var.platform))\wixstdba.dll" Name="mbapreq.dll" /> | ||
24 | <PayloadGroupRef Id="WixManagedBootstrapperApplicationHostManagedPayloads" /> | ||
25 | </BootstrapperApplication> | ||
26 | </Fragment> | ||
27 | <Fragment> | ||
28 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost.Standard$(var.Suffix)"> | ||
29 | <PayloadGroupRef Id="MbaPreqStandardPayloads" /> | ||
30 | </BootstrapperApplication> | ||
31 | <BootstrapperApplicationRef Id="WixManagedBootstrapperApplicationHost$(var.Suffix)" /> | ||
32 | </Fragment> | ||
33 | 19 | ||
34 | <Fragment> | 20 | <Fragment> |
35 | <BootstrapperApplication Id="WixStandardBootstrapperApplication$(var.Suffix)"> | 21 | <BootstrapperApplication Id="WixStandardBootstrapperApplication$(var.Suffix)"> |
diff --git a/src/ext/Bal/wixlib/BalExtension_x64.wxs b/src/ext/Bal/wixlib/BalExtension_x64.wxs index 69a597ae..e5252718 100644 --- a/src/ext/Bal/wixlib/BalExtension_x64.wxs +++ b/src/ext/Bal/wixlib/BalExtension_x64.wxs | |||
@@ -4,4 +4,5 @@ | |||
4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
5 | <?define platform=x64 ?> | 5 | <?define platform=x64 ?> |
6 | <?include BalExtension_platform.wxi ?> | 6 | <?include BalExtension_platform.wxi ?> |
7 | <?include Mbahost_platform.wxi ?> | ||
7 | </Wix> | 8 | </Wix> |
diff --git a/src/ext/Bal/wixlib/BalExtension_x86.wxs b/src/ext/Bal/wixlib/BalExtension_x86.wxs index 3cdd4015..1045160d 100644 --- a/src/ext/Bal/wixlib/BalExtension_x86.wxs +++ b/src/ext/Bal/wixlib/BalExtension_x86.wxs | |||
@@ -4,4 +4,5 @@ | |||
4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
5 | <?define platform=x86 ?> | 5 | <?define platform=x86 ?> |
6 | <?include BalExtension_platform.wxi ?> | 6 | <?include BalExtension_platform.wxi ?> |
7 | <?include Mbahost_platform.wxi ?> | ||
7 | </Wix> | 8 | </Wix> |
diff --git a/src/ext/Bal/wixlib/Mbahost_platform.wxi b/src/ext/Bal/wixlib/Mbahost_platform.wxi new file mode 100644 index 00000000..06d7f1fc --- /dev/null +++ b/src/ext/Bal/wixlib/Mbahost_platform.wxi | |||
@@ -0,0 +1,19 @@ | |||
1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
2 | |||
3 | |||
4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
5 | <?include caDecor.wxi ?> | ||
6 | <Fragment> | ||
7 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost$(var.Suffix)"> | ||
8 | <BootstrapperApplicationDll Id="WixManagedBootstrapperApplicationHost" SourceFile="!(bindpath.$(var.platform))\mbahost.dll" /> | ||
9 | <Payload SourceFile="!(bindpath.$(var.platform))\wixstdba.dll" Name="mbapreq.dll" /> | ||
10 | <PayloadGroupRef Id="WixManagedBootstrapperApplicationHostManagedPayloads" /> | ||
11 | </BootstrapperApplication> | ||
12 | </Fragment> | ||
13 | <Fragment> | ||
14 | <BootstrapperApplication Id="WixManagedBootstrapperApplicationHost.Standard$(var.Suffix)"> | ||
15 | <PayloadGroupRef Id="MbaPreqStandardPayloads" /> | ||
16 | </BootstrapperApplication> | ||
17 | <BootstrapperApplicationRef Id="WixManagedBootstrapperApplicationHost$(var.Suffix)" /> | ||
18 | </Fragment> | ||
19 | </Include> | ||
diff --git a/src/ext/Bal/wixlib/bal.wixproj b/src/ext/Bal/wixlib/bal.wixproj index fdcc7475..147b1a74 100644 --- a/src/ext/Bal/wixlib/bal.wixproj +++ b/src/ext/Bal/wixlib/bal.wixproj | |||
@@ -1,10 +1,11 @@ | |||
1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
2 | <Project Sdk="WixToolset.Sdk" ToolsVersion="4.0"> | 2 | <Project Sdk="WixToolset.Sdk"> |
3 | <PropertyGroup> | 3 | <PropertyGroup> |
4 | <OutputType>Library</OutputType> | 4 | <OutputType>Library</OutputType> |
5 | <BindFiles>true</BindFiles> | 5 | <BindFiles>true</BindFiles> |
6 | <Cultures>en-us</Cultures> | 6 | <Cultures>en-us</Cultures> |
7 | </PropertyGroup> | 7 | </PropertyGroup> |
8 | |||
8 | <ItemGroup> | 9 | <ItemGroup> |
9 | <BindInputPaths Include="..\wixstdba\Resources\" /> | 10 | <BindInputPaths Include="..\wixstdba\Resources\" /> |
10 | <BindInputPaths Include="$(OutputPath)netcoreapp3.1" /> | 11 | <BindInputPaths Include="$(OutputPath)netcoreapp3.1" /> |
@@ -13,24 +14,28 @@ | |||
13 | <BindInputPaths Include="$(OutputPath)x64" BindName="x64" /> | 14 | <BindInputPaths Include="$(OutputPath)x64" BindName="x64" /> |
14 | <BindInputPaths Include="$(OutputPath)arm64" BindName="arm64" /> | 15 | <BindInputPaths Include="$(OutputPath)arm64" BindName="arm64" /> |
15 | </ItemGroup> | 16 | </ItemGroup> |
17 | |||
16 | <ItemGroup> | 18 | <ItemGroup> |
17 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=ARM64" /> | 19 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
18 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=ARM64" /> | 20 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
19 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=ARM64" /> | 21 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
20 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x86" /> | 22 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
21 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x86" /> | 23 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
22 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x86" /> | 24 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
23 | <ProjectReference Include="..\dnchost\dnchost.vcxproj" Properties="Platform=x64" /> | 25 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x86" ReferenceOutputAssembly="false" /> |
24 | <ProjectReference Include="..\mbahost\mbahost.vcxproj" Properties="Platform=x64" /> | 26 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x64" ReferenceOutputAssembly="false" /> |
25 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=x64" /> | 27 | <ProjectReference Include="..\wixstdba\wixstdba.vcxproj" Properties="Platform=ARM64" ReferenceOutputAssembly="false" /> |
26 | </ItemGroup> | 28 | </ItemGroup> |
29 | |||
27 | <ItemGroup> | 30 | <ItemGroup> |
28 | <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" /> | 31 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
32 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
29 | </ItemGroup> | 33 | </ItemGroup> |
34 | |||
30 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> | 35 | <!-- Workaround for bug in ProjectReferenceDefineConstants, they're not needed for this project anyway --> |
31 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> | 36 | <Target Name="ClearProjectReferenceDefineConstants" AfterTargets="CalculateDefineConstants"> |
32 | <PropertyGroup> | 37 | <PropertyGroup> |
33 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> | 38 | <ProjectReferenceDefineConstants></ProjectReferenceDefineConstants> |
34 | </PropertyGroup> | 39 | </PropertyGroup> |
35 | </Target> | 40 | </Target> |
36 | </Project> \ No newline at end of file | 41 | </Project> |
diff --git a/src/ext/Bal/wixstdba/packages.config b/src/ext/Bal/wixstdba/packages.config deleted file mode 100644 index 071284ac..00000000 --- a/src/ext/Bal/wixstdba/packages.config +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="Microsoft.Build.Tasks.Git" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="Microsoft.SourceLink.Common" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
5 | <package id="Microsoft.SourceLink.GitHub" version="1.0.0" targetFramework="native" developmentDependency="true" /> | ||
6 | <package id="Nerdbank.GitVersioning" version="3.3.37" targetFramework="native" developmentDependency="true" /> | ||
7 | <package id="WixToolset.BalUtil" version="4.0.58" targetFramework="native" /> | ||
8 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.141" targetFramework="native" /> | ||
9 | <package id="WixToolset.DUtil" version="4.0.72" targetFramework="native" /> | ||
10 | </packages> \ No newline at end of file | ||
diff --git a/src/ext/Bal/wixstdba/wixstdba.vcxproj b/src/ext/Bal/wixstdba/wixstdba.vcxproj index 06b1c8d8..fba3e885 100644 --- a/src/ext/Bal/wixstdba/wixstdba.vcxproj +++ b/src/ext/Bal/wixstdba/wixstdba.vcxproj | |||
@@ -1,14 +1,7 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project DefaultTargets="Build" Toolsxmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" /> | ||
6 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" /> | ||
7 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" /> | ||
8 | <Import Project="..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" /> | ||
9 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
10 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" /> | ||
11 | |||
12 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
13 | <ProjectConfiguration Include="Debug|ARM64"> | 6 | <ProjectConfiguration Include="Debug|ARM64"> |
14 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -78,24 +71,14 @@ rc.exe -fo "$(OutDir)wixstdba.res" "$(IntDir)wixstdba.messages.rc"</Command> | |||
78 | </CustomBuild> | 71 | </CustomBuild> |
79 | </ItemGroup> | 72 | </ItemGroup> |
80 | 73 | ||
74 | <ItemGroup> | ||
75 | <PackageReference Include="WixToolset.Dutil" /> | ||
76 | <PackageReference Include="WixToolset.BalUtil" /> | ||
77 | <PackageReference Include="WixToolset.BootstrapperCore.Native" /> | ||
78 | |||
79 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
80 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
81 | </ItemGroup> | ||
82 | |||
81 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 83 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
82 | <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" /> | 84 | </Project> |
83 | <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" /> | ||
84 | <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" /> | ||
85 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
86 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
87 | <PropertyGroup> | ||
88 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
89 | </PropertyGroup> | ||
90 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" /> | ||
91 | <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" /> | ||
92 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" /> | ||
93 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" /> | ||
94 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" /> | ||
95 | <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" /> | ||
96 | <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" /> | ||
97 | <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.58\build\WixToolset.BalUtil.props'))" /> | ||
98 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.141\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
99 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.72\build\WixToolset.DUtil.props'))" /> | ||
100 | </Target> | ||
101 | </Project> \ No newline at end of file | ||