|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| 3 | + <Import Project="..\packages\LibGit2Sharp.NativeBinaries.0.21.0.176\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.0.21.0.176\build\LibGit2Sharp.NativeBinaries.props')" /> |
3 | 4 | <PropertyGroup>
|
4 | 5 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
5 | 6 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
13 | 14 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
14 | 15 | <FileAlignment>512</FileAlignment>
|
15 | 16 | <TargetFrameworkProfile />
|
| 17 | + <NuGetPackageImportStamp>e038d3a3</NuGetPackageImportStamp> |
16 | 18 | </PropertyGroup>
|
17 | 19 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
18 | 20 | <DebugSymbols>true</DebugSymbols>
|
|
349 | 351 | <ItemGroup>
|
350 | 352 | <EmbeddedResource Include="libgit2sharp_hash.txt" />
|
351 | 353 | </ItemGroup>
|
| 354 | + <ItemGroup> |
| 355 | + <None Include="packages.config" /> |
| 356 | + </ItemGroup> |
352 | 357 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
353 | 358 | <Import Project="UniqueIdentifier.targets" />
|
354 | 359 | <Import Project="ExtraDefine.targets" />
|
355 | 360 | <PropertyGroup>
|
356 | 361 | <PreBuildEvent>
|
357 | 362 | </PreBuildEvent>
|
358 | 363 | </PropertyGroup>
|
| 364 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 365 | + <PropertyGroup> |
| 366 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 367 | + </PropertyGroup> |
| 368 | + <Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.0.21.0.176\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.0.21.0.176\build\LibGit2Sharp.NativeBinaries.props'))" /> |
| 369 | + </Target> |
359 | 370 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
360 | 371 | Other similar extension points exist, see Microsoft.Common.targets.
|
361 | 372 | <Target Name="BeforeBuild">
|
|
0 commit comments