diff options
Diffstat (limited to 'src/burn/engine')
-rw-r--r-- | src/burn/engine/engine.vcxproj | 44 | ||||
-rw-r--r-- | src/burn/engine/packages.config | 5 |
2 files changed, 19 insertions, 30 deletions
diff --git a/src/burn/engine/engine.vcxproj b/src/burn/engine/engine.vcxproj index b3a0f81b..0062df8c 100644 --- a/src/burn/engine/engine.vcxproj +++ b/src/burn/engine/engine.vcxproj | |||
@@ -2,9 +2,6 @@ | |||
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" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props')" /> | ||
6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props')" /> | ||
7 | |||
8 | <ItemGroup Label="ProjectConfigurations"> | 5 | <ItemGroup Label="ProjectConfigurations"> |
9 | <ProjectConfiguration Include="Debug|Win32"> | 6 | <ProjectConfiguration Include="Debug|Win32"> |
10 | <Configuration>Debug</Configuration> | 7 | <Configuration>Debug</Configuration> |
@@ -45,7 +42,7 @@ | |||
45 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
46 | 43 | ||
47 | <PropertyGroup> | 44 | <PropertyGroup> |
48 | <ProjectAdditionalIncludeDirectories Condition=" '$(DirectReference)'=='true' ">$(ProjectDir)..\..\..\balutil\src\WixToolset.BootstrapperCore.Native\inc;$(ProjectAdditionalIncludeDirectories)</ProjectAdditionalIncludeDirectories> | 45 | <ProjectAdditionalIncludeDirectories>..\..\api\burn\WixToolset.BootstrapperCore.Native\inc;$(ProjectAdditionalIncludeDirectories)</ProjectAdditionalIncludeDirectories> |
49 | </PropertyGroup> | 46 | </PropertyGroup> |
50 | 47 | ||
51 | <ImportGroup Label="ExtensionSettings"> | 48 | <ImportGroup Label="ExtensionSettings"> |
@@ -97,13 +94,14 @@ | |||
97 | <ClCompile Include="variable.cpp" /> | 94 | <ClCompile Include="variable.cpp" /> |
98 | <ClCompile Include="variant.cpp" /> | 95 | <ClCompile Include="variant.cpp" /> |
99 | </ItemGroup> | 96 | </ItemGroup> |
97 | |||
100 | <ItemGroup> | 98 | <ItemGroup> |
101 | <ClInclude Include="apply.h" /> | 99 | <ClInclude Include="apply.h" /> |
102 | <ClInclude Include="approvedexe.h" /> | 100 | <ClInclude Include="approvedexe.h" /> |
103 | <ClInclude Include="..\WixToolset.BootstrapperCore.Native\inc\BootstrapperApplication.h" /> | 101 | <ClInclude Include="..\..\api\burn\WixToolset.BootstrapperCore.Native\inc\BootstrapperApplication.h" /> |
104 | <ClInclude Include="..\WixToolset.BootstrapperCore.Native\inc\BootstrapperEngine.h" /> | 102 | <ClInclude Include="..\..\api\burn\WixToolset.BootstrapperCore.Native\inc\BootstrapperEngine.h" /> |
105 | <ClInclude Include="..\WixToolset.BootstrapperCore.Native\inc\BundleExtension.h" /> | 103 | <ClInclude Include="..\..\api\burn\WixToolset.BootstrapperCore.Native\inc\BundleExtension.h" /> |
106 | <ClInclude Include="..\WixToolset.BootstrapperCore.Native\inc\BundleExtensionEngine.h" /> | 104 | <ClInclude Include="..\..\api\burn\WixToolset.BootstrapperCore.Native\inc\BundleExtensionEngine.h" /> |
107 | <ClInclude Include="burnextension.h" /> | 105 | <ClInclude Include="burnextension.h" /> |
108 | <ClInclude Include="cabextract.h" /> | 106 | <ClInclude Include="cabextract.h" /> |
109 | <ClInclude Include="cache.h" /> | 107 | <ClInclude Include="cache.h" /> |
@@ -144,9 +142,6 @@ | |||
144 | <ClInclude Include="variable.h" /> | 142 | <ClInclude Include="variable.h" /> |
145 | <ClInclude Include="variant.h" /> | 143 | <ClInclude Include="variant.h" /> |
146 | </ItemGroup> | 144 | </ItemGroup> |
147 | <ItemGroup> | ||
148 | <None Include="packages.config" /> | ||
149 | </ItemGroup> | ||
150 | 145 | ||
151 | <ItemGroup> | 146 | <ItemGroup> |
152 | <CustomBuild Include="engine.mc"> | 147 | <CustomBuild Include="engine.mc"> |
@@ -157,12 +152,12 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command> | |||
157 | </CustomBuild> | 152 | </CustomBuild> |
158 | </ItemGroup> | 153 | </ItemGroup> |
159 | 154 | ||
160 | <Target Name="SetWixVersion" DependsOnTargets="GetBuildVersion" BeforeTargets="ClCompile"> | 155 | <Target Name="SetWixVersion" DependsOnTargets="__SetPropertiesFromGit" BeforeTargets="ClCompile"> |
161 | <PropertyGroup> | 156 | <PropertyGroup> |
162 | <rmj>$(MajorMinorVersion.Split(`.`)[0])</rmj> | 157 | <rmj>$(GitBaseVersionMajor)</rmj> |
163 | <rmm>$(MajorMinorVersion.Split(`.`)[1])</rmm> | 158 | <rmm>$(GitBaseVersionMinor)</rmm> |
164 | <rup>0</rup> | 159 | <rup>$(GitBaseVersionPatch)</rup> |
165 | <rpr>$(BuildNumber)</rpr> | 160 | <rpr>$(GitCommits)</rpr> |
166 | <szVerMajorMinorBuild>$(rmj).$(rmm).$(rup).$(rpr)</szVerMajorMinorBuild> | 161 | <szVerMajorMinorBuild>$(rmj).$(rmm).$(rup).$(rpr)</szVerMajorMinorBuild> |
167 | <wixver>rmj=$(rmj);rmm=$(rmm);rup=$(rup);rpr=$(rpr);szVerMajorMinorBuild="$(szVerMajorMinorBuild)"</wixver> | 162 | <wixver>rmj=$(rmj);rmm=$(rmm);rup=$(rup);rpr=$(rpr);szVerMajorMinorBuild="$(szVerMajorMinorBuild)"</wixver> |
168 | </PropertyGroup> | 163 | </PropertyGroup> |
@@ -173,14 +168,13 @@ rc.exe -fo "$(OutDir)engine.res" "$(IntDir)engine.messages.rc"</Command> | |||
173 | </ClCompile> | 168 | </ClCompile> |
174 | </ItemGroup> | 169 | </ItemGroup> |
175 | </Target> | 170 | </Target> |
171 | |||
172 | <ItemGroup> | ||
173 | <PackageReference Include="WixToolset.DUtil" /> | ||
174 | |||
175 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> | ||
176 | <PackageReference Include="GitInfo" PrivateAssets="All" /> | ||
177 | </ItemGroup> | ||
178 | |||
176 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | 179 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
177 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | ||
178 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
179 | <PropertyGroup> | ||
180 | <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> | ||
181 | </PropertyGroup> | ||
182 | <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'))" /> | ||
183 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.70\build\WixToolset.DUtil.props'))" /> | ||
184 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\packages\WixToolset.BootstrapperCore.Native.4.0.57\build\WixToolset.BootstrapperCore.Native.props'))" /> | ||
185 | </Target> | ||
186 | </Project> | 180 | </Project> |
diff --git a/src/burn/engine/packages.config b/src/burn/engine/packages.config deleted file mode 100644 index 7219a3da..00000000 --- a/src/burn/engine/packages.config +++ /dev/null | |||
@@ -1,5 +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.DUtil" version="4.0.72" targetFramework="native" /> | ||
5 | </packages> \ No newline at end of file | ||