diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 15:32:11 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 20:45:05 +1000 |
commit | 69ed2c07285729b55a0a26adcf19ce684c437a44 (patch) | |
tree | b599d05f40fa5bac2bc9fed5113997c962e9c7e4 /src | |
parent | 844c971ed5afa15f73032e1cc7d2ddce2c925cdc (diff) | |
download | wix-69ed2c07285729b55a0a26adcf19ce684c437a44.tar.gz wix-69ed2c07285729b55a0a26adcf19ce684c437a44.tar.bz2 wix-69ed2c07285729b55a0a26adcf19ce684c437a44.zip |
Turn tests off in appveyor.yml since they're run in appveyor.cmd
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj | 38 | ||||
-rw-r--r-- | src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj | 5 |
2 files changed, 38 insertions, 5 deletions
diff --git a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj index b05ea8b9..6c5f0050 100644 --- a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj +++ b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj | |||
@@ -20,6 +20,44 @@ | |||
20 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> | 20 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> |
21 | </ItemGroup> | 21 | </ItemGroup> |
22 | 22 | ||
23 | <PropertyGroup> | ||
24 | <NativeFileListPath Condition=" '$(NCrunch)'=='' ">$(MSBuildProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt</NativeFileListPath> | ||
25 | <NativeFileListPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt</NativeFileListPath> | ||
26 | </PropertyGroup> | ||
27 | |||
28 | <Target Name="BuildMbaNative" BeforeTargets="GetCopyToOutputDirectoryItems" Condition=" '$(NCrunch)'=='' "> | ||
29 | <MSBuild Projects="..\mbanative\mbanative.vcxproj" Properties="Platform=Win32" Targets="Build;BuiltProjectOutputGroup;ContentFilesProjectOutputGroup;DebugSymbolsProjectOutputGroup"> | ||
30 | <Output TaskParameter="TargetOutputs" ItemName="_NativeProjectOutput" /> | ||
31 | </MSBuild> | ||
32 | |||
33 | <WriteLinesToFile File="$(NativeFileListPath)" Lines="@(_NativeProjectOutput)" Overwrite="true" /> | ||
34 | |||
35 | <ItemGroup> | ||
36 | <FileWrites Include="$(NativeFileListPath)" /> | ||
37 | |||
38 | <AllItemsFullPathWithTargetPath Include="@(_NativeProjectOutput->'%(FullPath)')"> | ||
39 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
40 | <TargetPath>%(Filename)%(Extension)</TargetPath> | ||
41 | </AllItemsFullPathWithTargetPath> | ||
42 | </ItemGroup> | ||
43 | </Target> | ||
44 | |||
45 | <Target Name="NCrunchCopyNative" AfterTargets="AfterBuild" Condition=" '$(NCrunch)'=='1' "> | ||
46 | <ReadLinesFromFile File="$(NativeFileListPath)"> | ||
47 | <Output TaskParameter="Lines" ItemName="_NCrunchNativeProjectOutput" /> | ||
48 | </ReadLinesFromFile> | ||
49 | |||
50 | <Error Text="You must build $(MSBuildProjectName) to create the referenced native projects. Once built, 'Reload and rebuild' the project in the NCrunch Tests. The $(NativeFileListPath) file must not be empty." Condition=" '@(_NCrunchNativeProjectOutput)'=='' " /> | ||
51 | |||
52 | <Copy SourceFiles="@(_NCrunchNativeProjectOutput)" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true"> | ||
53 | <Output TaskParameter="CopiedFiles" ItemName="_NCrunchNativeCopied" /> | ||
54 | </Copy> | ||
55 | |||
56 | <ItemGroup> | ||
57 | <FileWrites Include="@(_NCrunchNativeCopied)" /> | ||
58 | </ItemGroup> | ||
59 | </Target> | ||
60 | |||
23 | <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion"> | 61 | <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion"> |
24 | <PropertyGroup> | 62 | <PropertyGroup> |
25 | <NuspecBasePath>$(OutputPath)</NuspecBasePath> | 63 | <NuspecBasePath>$(OutputPath)</NuspecBasePath> |
diff --git a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj index 34a51a05..9d9b9c2b 100644 --- a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj +++ b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj | |||
@@ -9,11 +9,6 @@ | |||
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <ProjectReference Include="..\..\mbanative\mbanative.vcxproj"> | ||
13 | <Project>{665E0441-17F9-4105-B202-EDF274657F6E}</Project> | ||
14 | <OutputItemType>Content</OutputItemType> | ||
15 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
16 | </ProjectReference> | ||
17 | <ProjectReference Include="..\..\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj" /> | 12 | <ProjectReference Include="..\..\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj" /> |
18 | </ItemGroup> | 13 | </ItemGroup> |
19 | 14 | ||