diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-12-22 13:51:35 +1100 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-12-22 13:34:07 +1000 |
| commit | 4a176b759c47fa1970fcfd0d9e25c294bda82ef4 (patch) | |
| tree | 961cc91c44569d72c12d9f2dc5b1c11a80bb94a9 /src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj | |
| parent | 43fb611edc680a74d229e8f1eeacb30adad8e3c7 (diff) | |
| download | wix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.tar.gz wix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.tar.bz2 wix-4a176b759c47fa1970fcfd0d9e25c294bda82ef4.zip | |
Update the MbaHost test project to use an external exe to load the BA, which allows loading a different .NET than the one running the tests. This also allows writing the tests in C# instead of C++/CLI.
Diffstat (limited to 'src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj')
| -rw-r--r-- | src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj b/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj new file mode 100644 index 00000000..e044c6b1 --- /dev/null +++ b/src/test/examples/FullFramework4MBA/Example.FullFramework4MBA.csproj | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | <Project Sdk="Microsoft.NET.Sdk"> | ||
| 2 | |||
| 3 | <PropertyGroup> | ||
| 4 | <TargetFramework>net48</TargetFramework> | ||
| 5 | <Description>Full Framework v4 MBA</Description> | ||
| 6 | </PropertyGroup> | ||
| 7 | |||
| 8 | <ItemGroup> | ||
| 9 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="all" /> | ||
| 10 | <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" PrivateAssets="All" /> | ||
| 11 | </ItemGroup> | ||
| 12 | |||
| 13 | <ItemGroup> | ||
| 14 | <Content Include="BootstrapperApplicationData.xml" CopyToOutputDirectory="PreserveNewest" /> | ||
| 15 | <Content Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" /> | ||
| 16 | </ItemGroup> | ||
| 17 | |||
| 18 | <ItemGroup> | ||
| 19 | <ProjectReference Include="..\..\..\mbahost\mbahost.vcxproj"> | ||
| 20 | <Project>{12c87c77-3547-44f8-8134-29bc915cb19d}</Project> | ||
| 21 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||
| 22 | </ProjectReference> | ||
| 23 | <ProjectReference Include="..\..\..\WixToolset.Mba.Host\WixToolset.Mba.Host.csproj"> | ||
| 24 | <Project>{F2BA1935-70FA-4156-B161-FD03850B4FAA}</Project> | ||
| 25 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||
| 26 | <OutputItemType>Content</OutputItemType> | ||
| 27 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
| 28 | </ProjectReference> | ||
| 29 | </ItemGroup> | ||
| 30 | |||
| 31 | <ItemGroup> | ||
| 32 | <MbaHostDependency Include="$(BaseOutputPath)$(Configuration)\Win32\mbahost.dll" /> | ||
| 33 | </ItemGroup> | ||
| 34 | |||
| 35 | <Target Name="CopyMbaHostDependencies" AfterTargets="Build"> | ||
| 36 | <Copy DestinationFolder="$(OutputPath)" SourceFiles="@(MbaHostDependency)" SkipUnchangedFiles="true" /> | ||
| 37 | </Target> | ||
| 38 | </Project> \ No newline at end of file | ||
