|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| 3 | + <Import Project="..\packages\WiX.3.11.2\build\wix.props" Condition="Exists('..\packages\WiX.3.11.2\build\wix.props')" /> |
3 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
4 | 5 | <PropertyGroup>
|
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
14 | 15 | <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
15 | 16 | <WarningLevel>4</WarningLevel>
|
16 | 17 | <TargetFrameworkProfile />
|
| 18 | + <NuGetPackageImportStamp> |
| 19 | + </NuGetPackageImportStamp> |
17 | 20 | </PropertyGroup>
|
18 | 21 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
19 | 22 | <PlatformTarget>AnyCPU</PlatformTarget>
|
|
149 | 152 | <SubType>Designer</SubType>
|
150 | 153 | <CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
151 | 154 | </None>
|
152 |
| - <None Include="packages.config" /> |
| 155 | + <None Include="packages.config"> |
| 156 | + <SubType>Designer</SubType> |
| 157 | + </None> |
153 | 158 | <None Include="Properties\Settings.settings">
|
154 | 159 | <Generator>SettingsSingleFileGenerator</Generator>
|
155 | 160 | <LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
178 | 183 | <Resource Include="icon.ico" />
|
179 | 184 | </ItemGroup>
|
180 | 185 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
| 186 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 187 | + <PropertyGroup> |
| 188 | + <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> |
| 189 | + </PropertyGroup> |
| 190 | + <Error Condition="!Exists('..\packages\WiX.3.11.2\build\wix.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.2\build\wix.props'))" /> |
| 191 | + </Target> |
181 | 192 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
182 | 193 | Other similar extension points exist, see Microsoft.Common.targets.
|
183 | 194 | <Target Name="BeforeBuild">
|
|
0 commit comments