diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-29 19:32:42 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-29 19:53:29 +1000 |
| commit | a79ce0b907676e50332139b4c4a8acb5d22a4b46 (patch) | |
| tree | eff9680cd53166f0f73934e02dfe5112384838f1 /src/test | |
| parent | b7faab06259d3afdc3205024a0004ace72157cbe (diff) | |
| download | wix-a79ce0b907676e50332139b4c4a8acb5d22a4b46.tar.gz wix-a79ce0b907676e50332139b4c4a8acb5d22a4b46.tar.bz2 wix-a79ce0b907676e50332139b4c4a8acb5d22a4b46.zip | |
Add support for FDD in DotNetCoreBootstrapperApplicationHost.
Diffstat (limited to 'src/test')
8 files changed, 148 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.ManagedHost/DncHostFixture.cs b/src/test/WixToolsetTest.ManagedHost/DncHostFixture.cs index f5714c67..7f40ee26 100644 --- a/src/test/WixToolsetTest.ManagedHost/DncHostFixture.cs +++ b/src/test/WixToolsetTest.ManagedHost/DncHostFixture.cs | |||
| @@ -10,6 +10,40 @@ namespace WixToolsetTest.ManagedHost | |||
| 10 | public class DncHostFixture | 10 | public class DncHostFixture |
| 11 | { | 11 | { |
| 12 | [Fact] | 12 | [Fact] |
| 13 | public void CanLoadFDDEarliestCoreMBA() | ||
| 14 | { | ||
| 15 | using (var fs = new DisposableFileSystem()) | ||
| 16 | { | ||
| 17 | var baseFolder = fs.GetFolder(); | ||
| 18 | var binFolder = Path.Combine(baseFolder, "bin"); | ||
| 19 | var bundleFile = Path.Combine(binFolder, "FDDEarliestCoreMBA.exe"); | ||
| 20 | var baSourceFolder = TestData.Get(@"..\examples"); | ||
| 21 | var bundleSourceFolder = TestData.Get(@"TestData\EarliestCoreMBA"); | ||
| 22 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 23 | |||
| 24 | var compileResult = WixRunner.Execute(new[] | ||
| 25 | { | ||
| 26 | "build", | ||
| 27 | Path.Combine(bundleSourceFolder, "FrameworkDependentBundle.wxs"), | ||
| 28 | "-ext", TestData.Get(@"WixToolset.Bal.wixext.dll"), | ||
| 29 | "-intermediateFolder", intermediateFolder, | ||
| 30 | "-bindpath", baSourceFolder, | ||
| 31 | "-burnStub", TestEngine.BurnStubFile, | ||
| 32 | "-o", bundleFile, | ||
| 33 | }); | ||
| 34 | compileResult.AssertSuccess(); | ||
| 35 | var testEngine = new TestEngine(); | ||
| 36 | |||
| 37 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | ||
| 38 | var logMessages = result.Output; | ||
| 39 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | ||
| 40 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | ||
| 41 | Assert.Equal("EarliestCoreBA", logMessages[2]); | ||
| 42 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | ||
| 43 | } | ||
| 44 | } | ||
| 45 | |||
| 46 | [Fact] | ||
| 13 | public void CanLoadSCDEarliestCoreMBA() | 47 | public void CanLoadSCDEarliestCoreMBA() |
| 14 | { | 48 | { |
| 15 | using (var fs = new DisposableFileSystem()) | 49 | using (var fs = new DisposableFileSystem()) |
| @@ -120,6 +154,79 @@ namespace WixToolsetTest.ManagedHost | |||
| 120 | } | 154 | } |
| 121 | 155 | ||
| 122 | [Fact] | 156 | [Fact] |
| 157 | public void CanLoadFDDLatestCoreMBA() | ||
| 158 | { | ||
| 159 | using (var fs = new DisposableFileSystem()) | ||
| 160 | { | ||
| 161 | var baseFolder = fs.GetFolder(); | ||
| 162 | var binFolder = Path.Combine(baseFolder, "bin"); | ||
| 163 | var bundleFile = Path.Combine(binFolder, "FDDLatestCoreMBA.exe"); | ||
| 164 | var baSourceFolder = TestData.Get(@"..\examples"); | ||
| 165 | var bundleSourceFolder = TestData.Get(@"TestData\LatestCoreMBA"); | ||
| 166 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 167 | |||
| 168 | var compileResult = WixRunner.Execute(new[] | ||
| 169 | { | ||
| 170 | "build", | ||
| 171 | Path.Combine(bundleSourceFolder, "FrameworkDependentBundle.wxs"), | ||
| 172 | "-ext", TestData.Get(@"WixToolset.Bal.wixext.dll"), | ||
| 173 | "-intermediateFolder", intermediateFolder, | ||
| 174 | "-bindpath", baSourceFolder, | ||
| 175 | "-burnStub", TestEngine.BurnStubFile, | ||
| 176 | "-o", bundleFile, | ||
| 177 | }); | ||
| 178 | compileResult.AssertSuccess(); | ||
| 179 | var testEngine = new TestEngine(); | ||
| 180 | |||
| 181 | var result = testEngine.RunShutdownEngine(bundleFile, baseFolder); | ||
| 182 | var logMessages = result.Output; | ||
| 183 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | ||
| 184 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | ||
| 185 | Assert.Equal("LatestCoreBA", logMessages[2]); | ||
| 186 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | ||
| 187 | } | ||
| 188 | } | ||
| 189 | |||
| 190 | [Fact] | ||
| 191 | public void CanReloadFDDLatestCoreMBA() | ||
| 192 | { | ||
| 193 | using (var fs = new DisposableFileSystem()) | ||
| 194 | { | ||
| 195 | var baseFolder = fs.GetFolder(); | ||
| 196 | var binFolder = Path.Combine(baseFolder, "bin"); | ||
| 197 | var bundleFile = Path.Combine(binFolder, "FDDLatestCoreMBA.exe"); | ||
| 198 | var baSourceFolder = TestData.Get(@"..\examples"); | ||
| 199 | var bundleSourceFolder = TestData.Get(@"TestData\LatestCoreMBA"); | ||
| 200 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 201 | |||
| 202 | var compileResult = WixRunner.Execute(new[] | ||
| 203 | { | ||
| 204 | "build", | ||
| 205 | Path.Combine(bundleSourceFolder, "FrameworkDependentBundle.wxs"), | ||
| 206 | "-ext", TestData.Get(@"WixToolset.Bal.wixext.dll"), | ||
| 207 | "-intermediateFolder", intermediateFolder, | ||
| 208 | "-bindpath", baSourceFolder, | ||
| 209 | "-burnStub", TestEngine.BurnStubFile, | ||
| 210 | "-o", bundleFile, | ||
| 211 | }); | ||
| 212 | compileResult.AssertSuccess(); | ||
| 213 | var testEngine = new TestEngine(); | ||
| 214 | |||
| 215 | var result = testEngine.RunReloadEngine(bundleFile, baseFolder); | ||
| 216 | var logMessages = result.Output; | ||
| 217 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[0]); | ||
| 218 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[1]); | ||
| 219 | Assert.Equal("LatestCoreBA", logMessages[2]); | ||
| 220 | Assert.Equal("Shutdown,ReloadBootstrapper,0", logMessages[3]); | ||
| 221 | Assert.Equal("Loading .NET Core FDD bootstrapper application.", logMessages[4]); | ||
| 222 | Assert.Equal("Reloaded 1 time(s)", logMessages[5]); // dnchost doesn't currently support unloading | ||
| 223 | Assert.Equal("Creating BA thread to run asynchronously.", logMessages[6]); | ||
| 224 | Assert.Equal("LatestCoreBA", logMessages[7]); | ||
| 225 | Assert.Equal("Shutdown,Restart,0", logMessages[8]); | ||
| 226 | } | ||
| 227 | } | ||
| 228 | |||
| 229 | [Fact] | ||
| 123 | public void CanLoadSCDLatestCoreMBA() | 230 | public void CanLoadSCDLatestCoreMBA() |
| 124 | { | 231 | { |
| 125 | using (var fs = new DisposableFileSystem()) | 232 | using (var fs = new DisposableFileSystem()) |
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/FrameworkDependentBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/FrameworkDependentBundle.wxs new file mode 100644 index 00000000..5cec494d --- /dev/null +++ b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/FrameworkDependentBundle.wxs | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 4 | <Bundle Name="FDDEarliestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | ||
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | ||
| 6 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.deps.json' Name='Example.EarliestCoreMBA.deps.json' /> | ||
| 7 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.dll' Name='Example.EarliestCoreMBA.dll' bal:BAFactoryAssembly='yes' /> | ||
| 8 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.pdb' Name='Example.EarliestCoreMBA.pdb' /> | ||
| 9 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\Example.EarliestCoreMBA.runtimeconfig.json' Name='Example.EarliestCoreMBA.runtimeconfig.json' /> | ||
| 10 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\mbanative.dll' Name='mbanative.dll' /> | ||
| 11 | <Payload SourceFile='publish\Example.EarliestCoreMBA\fdd\WixToolset.Mba.Core.dll' Name='WixToolset.Mba.Core.dll' /> | ||
| 12 | </BootstrapperApplicationRef> | ||
| 13 | <Chain> | ||
| 14 | <ExePackage SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" /> | ||
| 15 | </Chain> | ||
| 16 | </Bundle> | ||
| 17 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/SelfContainedBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/SelfContainedBundle.wxs index 4f3b2f20..d951ffc6 100644 --- a/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/SelfContainedBundle.wxs +++ b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/SelfContainedBundle.wxs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="SCDEarliestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | 4 | <Bundle Name="SCDEarliestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> |
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> |
| 6 | <bal:WixDotNetCoreBootstrapperApplication SelfContainedDeployment="yes" /> | ||
| 6 | <PayloadGroupRef Id="publish.Example.EarliestCoreMBA.scd" /> | 7 | <PayloadGroupRef Id="publish.Example.EarliestCoreMBA.scd" /> |
| 7 | </BootstrapperApplicationRef> | 8 | </BootstrapperApplicationRef> |
| 8 | <Chain> | 9 | <Chain> |
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/TrimmedSelfContainedBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/TrimmedSelfContainedBundle.wxs index 15dc72bb..816524ed 100644 --- a/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/TrimmedSelfContainedBundle.wxs +++ b/src/test/WixToolsetTest.ManagedHost/TestData/EarliestCoreMBA/TrimmedSelfContainedBundle.wxs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="TrimmedSCDEarliestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | 4 | <Bundle Name="TrimmedSCDEarliestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> |
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> |
| 6 | <bal:WixDotNetCoreBootstrapperApplication SelfContainedDeployment="yes" /> | ||
| 6 | <PayloadGroupRef Id="publish.Example.EarliestCoreMBA.trimmedscd" /> | 7 | <PayloadGroupRef Id="publish.Example.EarliestCoreMBA.trimmedscd" /> |
| 7 | </BootstrapperApplicationRef> | 8 | </BootstrapperApplicationRef> |
| 8 | <Chain> | 9 | <Chain> |
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/FrameworkDependentBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/FrameworkDependentBundle.wxs new file mode 100644 index 00000000..22fb3d8b --- /dev/null +++ b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/FrameworkDependentBundle.wxs | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 4 | <Bundle Name="FDDLatestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | ||
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | ||
| 6 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.deps.json' Name='Example.LatestCoreMBA.deps.json' /> | ||
| 7 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.dll' Name='Example.LatestCoreMBA.dll' bal:BAFactoryAssembly='yes' /> | ||
| 8 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.pdb' Name='Example.LatestCoreMBA.pdb' /> | ||
| 9 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\Example.LatestCoreMBA.runtimeconfig.json' Name='Example.LatestCoreMBA.runtimeconfig.json' /> | ||
| 10 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\mbanative.dll' Name='mbanative.dll' /> | ||
| 11 | <Payload SourceFile='publish\Example.LatestCoreMBA\fdd\WixToolset.Mba.Core.dll' Name='WixToolset.Mba.Core.dll' /> | ||
| 12 | </BootstrapperApplicationRef> | ||
| 13 | <Chain> | ||
| 14 | <ExePackage SourceFile="c:\windows\system32\kernel32.dll" bal:PrereqPackage="yes" /> | ||
| 15 | </Chain> | ||
| 16 | </Bundle> | ||
| 17 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/SelfContainedBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/SelfContainedBundle.wxs index 015cc099..4b0fe38a 100644 --- a/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/SelfContainedBundle.wxs +++ b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/SelfContainedBundle.wxs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="SCDLatestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | 4 | <Bundle Name="SCDLatestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> |
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> |
| 6 | <bal:WixDotNetCoreBootstrapperApplication SelfContainedDeployment="yes" /> | ||
| 6 | <PayloadGroupRef Id="publish.Example.LatestCoreMBA.scd" /> | 7 | <PayloadGroupRef Id="publish.Example.LatestCoreMBA.scd" /> |
| 7 | </BootstrapperApplicationRef> | 8 | </BootstrapperApplicationRef> |
| 8 | <Chain> | 9 | <Chain> |
diff --git a/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/TrimmedSelfContainedBundle.wxs b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/TrimmedSelfContainedBundle.wxs index 39e850a8..eee87933 100644 --- a/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/TrimmedSelfContainedBundle.wxs +++ b/src/test/WixToolsetTest.ManagedHost/TestData/LatestCoreMBA/TrimmedSelfContainedBundle.wxs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 4 | <Bundle Name="TrimmedSCDLatestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> | 4 | <Bundle Name="TrimmedSCDLatestCoreMBA" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="5CE5B5C7-4B6B-4B95-B297-731F1F956533"> |
| 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> | 5 | <BootstrapperApplicationRef Id="DotNetCoreBootstrapperApplicationHost"> |
| 6 | <bal:WixDotNetCoreBootstrapperApplication SelfContainedDeployment="yes" /> | ||
| 6 | <PayloadGroupRef Id="publish.Example.LatestCoreMBA.trimmedscd" /> | 7 | <PayloadGroupRef Id="publish.Example.LatestCoreMBA.trimmedscd" /> |
| 7 | </BootstrapperApplicationRef> | 8 | </BootstrapperApplicationRef> |
| 8 | <Chain> | 9 | <Chain> |
diff --git a/src/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj b/src/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj index 1ea4522b..958c63fc 100644 --- a/src/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj +++ b/src/test/WixToolsetTest.ManagedHost/WixToolsetTest.ManagedHost.csproj | |||
| @@ -18,12 +18,14 @@ | |||
| 18 | </PropertyGroup> | 18 | </PropertyGroup> |
| 19 | 19 | ||
| 20 | <ItemGroup> | 20 | <ItemGroup> |
| 21 | <Content Include="TestData\EarliestCoreMBA\FrameworkDependentBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | ||
| 21 | <Content Include="TestData\EarliestCoreMBA\HarvestedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> | 22 | <Content Include="TestData\EarliestCoreMBA\HarvestedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 22 | <Content Include="TestData\EarliestCoreMBA\HarvestedTrimmedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> | 23 | <Content Include="TestData\EarliestCoreMBA\HarvestedTrimmedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 23 | <Content Include="TestData\EarliestCoreMBA\SelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | 24 | <Content Include="TestData\EarliestCoreMBA\SelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 24 | <Content Include="TestData\EarliestCoreMBA\TrimmedSelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | 25 | <Content Include="TestData\EarliestCoreMBA\TrimmedSelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 25 | <Content Include="TestData\FullFramework2MBA\Bundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | 26 | <Content Include="TestData\FullFramework2MBA\Bundle.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 26 | <Content Include="TestData\FullFramework4MBA\Bundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | 27 | <Content Include="TestData\FullFramework4MBA\Bundle.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 28 | <Content Include="TestData\LatestCoreMBA\FrameworkDependentBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | ||
| 27 | <Content Include="TestData\LatestCoreMBA\HarvestedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> | 29 | <Content Include="TestData\LatestCoreMBA\HarvestedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 28 | <Content Include="TestData\LatestCoreMBA\HarvestedTrimmedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> | 30 | <Content Include="TestData\LatestCoreMBA\HarvestedTrimmedSCD.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| 29 | <Content Include="TestData\LatestCoreMBA\SelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> | 31 | <Content Include="TestData\LatestCoreMBA\SelfContainedBundle.wxs" CopyToOutputDirectory="PreserveNewest"/> |
| @@ -67,6 +69,7 @@ | |||
| 67 | </ItemGroup> | 69 | </ItemGroup> |
| 68 | 70 | ||
| 69 | <Target Name="PublishExamples" AfterTargets="Build"> | 71 | <Target Name="PublishExamples" AfterTargets="Build"> |
| 72 | <Exec Command='dotnet publish -o "%(CoreMBAProject.PublishPath)\fdd" -r win-x86 -c $(Configuration) --self-contained false "%(CoreMBAProject.Identity)"' /> | ||
| 70 | <Exec Command='dotnet publish -o "%(CoreMBAProject.PublishPath)\scd" -r win-x86 -c $(Configuration) --self-contained true "%(CoreMBAProject.Identity)"' /> | 73 | <Exec Command='dotnet publish -o "%(CoreMBAProject.PublishPath)\scd" -r win-x86 -c $(Configuration) --self-contained true "%(CoreMBAProject.Identity)"' /> |
| 71 | <Exec Command='dotnet publish -o "%(CoreMBAProject.PublishPath)\trimmedscd" -r win-x86 -c $(Configuration) --self-contained true -p:PublishTrimmed=true "%(CoreMBAProject.Identity)"' /> | 74 | <Exec Command='dotnet publish -o "%(CoreMBAProject.PublishPath)\trimmedscd" -r win-x86 -c $(Configuration) --self-contained true -p:PublishTrimmed=true "%(CoreMBAProject.Identity)"' /> |
| 72 | </Target> | 75 | </Target> |
