diff options
Diffstat (limited to 'src/test/BurnUnitTest/BurnUnitTest.vcxproj')
-rw-r--r-- | src/test/BurnUnitTest/BurnUnitTest.vcxproj | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/src/test/BurnUnitTest/BurnUnitTest.vcxproj b/src/test/BurnUnitTest/BurnUnitTest.vcxproj index 5157d0d6..93b3e562 100644 --- a/src/test/BurnUnitTest/BurnUnitTest.vcxproj +++ b/src/test/BurnUnitTest/BurnUnitTest.vcxproj | |||
@@ -2,7 +2,10 @@ | |||
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 | 4 | ||
5 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 5 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
6 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props')" /> | ||
7 | <Import Project="..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
8 | <Import Project="..\..\..\packages\WixToolset.DUtil.4.0.45\build\WixToolset.DUtil.props" Condition="Exists('..\..\..\packages\WixToolset.DUtil.4.0.45\build\WixToolset.DUtil.props')" /> | ||
6 | <ItemGroup Label="ProjectConfigurations"> | 9 | <ItemGroup Label="ProjectConfigurations"> |
7 | <ProjectConfiguration Include="Debug|Win32"> | 10 | <ProjectConfiguration Include="Debug|Win32"> |
8 | <Configuration>Debug</Configuration> | 11 | <Configuration>Debug</Configuration> |
@@ -22,19 +25,25 @@ | |||
22 | <CharacterSet>Unicode</CharacterSet> | 25 | <CharacterSet>Unicode</CharacterSet> |
23 | <CLRSupport>true</CLRSupport> | 26 | <CLRSupport>true</CLRSupport> |
24 | </PropertyGroup> | 27 | </PropertyGroup> |
25 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.props" /> | 28 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
29 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
26 | <PropertyGroup> | 30 | <PropertyGroup> |
27 | <ProjectAdditionalIncludeDirectories>$(WixRoot)src\libs\dutil\inc;$(WixRoot)src\burn\inc;$(WixRoot)src\burn\engine;$(WixRoot)src\libs\deputil\inc</ProjectAdditionalIncludeDirectories> | 31 | <ProjectAdditionalIncludeDirectories>..\..\engine</ProjectAdditionalIncludeDirectories> |
28 | <ProjectAdditionalLinkLibraries>cabinet.lib;crypt32.lib;msi.lib;rpcrt4.lib;shlwapi.lib;wininet.lib;wintrust.lib;dutil.lib;deputil.lib;engine.lib;gdiplus.lib</ProjectAdditionalLinkLibraries> | 32 | <ProjectAdditionalLinkLibraries>cabinet.lib;crypt32.lib;msi.lib;rpcrt4.lib;shlwapi.lib;wininet.lib;wintrust.lib;gdiplus.lib</ProjectAdditionalLinkLibraries> |
29 | </PropertyGroup> | 33 | </PropertyGroup> |
30 | <ItemGroup> | 34 | <ItemGroup> |
31 | <ClCompile Include="AssemblyInfo.cpp" /> | 35 | <ClCompile Include="AssemblyInfo.cpp" /> |
36 | <ClCompile Include="CacheTest.cpp" /> | ||
32 | <ClCompile Include="ElevationTest.cpp" /> | 37 | <ClCompile Include="ElevationTest.cpp" /> |
33 | <ClCompile Include="ManifestHelpers.cpp" /> | 38 | <ClCompile Include="ManifestHelpers.cpp" /> |
34 | <ClCompile Include="ManifestTest.cpp" /> | 39 | <ClCompile Include="ManifestTest.cpp" /> |
40 | <ClCompile Include="precomp.cpp"> | ||
41 | <PrecompiledHeader>Create</PrecompiledHeader> | ||
42 | <!-- Warnings from referencing netstandard dlls --> | ||
43 | <DisableSpecificWarnings>4564;4691</DisableSpecificWarnings> | ||
44 | </ClCompile> | ||
35 | <ClCompile Include="RegistrationTest.cpp" /> | 45 | <ClCompile Include="RegistrationTest.cpp" /> |
36 | <ClCompile Include="SearchTest.cpp" /> | 46 | <ClCompile Include="SearchTest.cpp" /> |
37 | <ClCompile Include="CacheTest.cpp" /> | ||
38 | <ClCompile Include="VariableHelpers.cpp" /> | 47 | <ClCompile Include="VariableHelpers.cpp" /> |
39 | <ClCompile Include="VariableTest.cpp" /> | 48 | <ClCompile Include="VariableTest.cpp" /> |
40 | </ItemGroup> | 49 | </ItemGroup> |
@@ -47,14 +56,31 @@ | |||
47 | <ClInclude Include="VariableHelpers.h" /> | 56 | <ClInclude Include="VariableHelpers.h" /> |
48 | </ItemGroup> | 57 | </ItemGroup> |
49 | <ItemGroup> | 58 | <ItemGroup> |
59 | <None Include="packages.config" /> | ||
50 | <ResourceCompile Include="BurnUnitTest.rc" /> | 60 | <ResourceCompile Include="BurnUnitTest.rc" /> |
51 | </ItemGroup> | 61 | </ItemGroup> |
52 | <ItemGroup> | 62 | <ItemGroup> |
53 | <Reference Include="System" /> | 63 | <Reference Include="System" /> |
54 | <ProjectReference Include="..\..\WixTestTools\WixTestTools.csproj" /> | 64 | <Reference Include="System.Core" /> |
55 | <Reference Include="xunit, Version=1.9.2.1705, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL"> | 65 | <Reference Include="WixBuildTools.TestSupport"> |
56 | <HintPath>$(XunitPath)\xunit.dll</HintPath> | 66 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.4.0.40\lib\net472\WixBuildTools.TestSupport.dll</HintPath> |
67 | </Reference> | ||
68 | <Reference Include="WixBuildTools.TestSupport.Native"> | ||
69 | <HintPath>..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\lib\net472\WixBuildTools.TestSupport.Native.dll</HintPath> | ||
57 | </Reference> | 70 | </Reference> |
58 | </ItemGroup> | 71 | </ItemGroup> |
59 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" /> | 72 | <ItemGroup> |
73 | <ProjectReference Include="..\..\engine\engine.vcxproj" /> | ||
74 | </ItemGroup> | ||
75 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
76 | <Import Project="..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets" Condition="Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets')" /> | ||
77 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
78 | <PropertyGroup> | ||
79 | <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> | ||
80 | </PropertyGroup> | ||
81 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.props'))" /> | ||
82 | <Error Condition="!Exists('..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixBuildTools.TestSupport.Native.4.0.40\build\WixBuildTools.TestSupport.Native.targets'))" /> | ||
83 | <Error Condition="!Exists('..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.16\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
84 | <Error Condition="!Exists('..\..\..\packages\WixToolset.DUtil.4.0.45\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.DUtil.4.0.45\build\WixToolset.DUtil.props'))" /> | ||
85 | </Target> | ||
60 | </Project> | 86 | </Project> |