|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props" Condition="Exists('..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.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> |
|
12 | 13 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
14 | 15 | <BuildType Condition="Exists('..\..\script\ApiClientConfiguration.cs')">Internal</BuildType> |
| 16 | + <NuGetPackageImportStamp> |
| 17 | + </NuGetPackageImportStamp> |
15 | 18 | </PropertyGroup> |
16 | 19 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 | 20 | <DebugSymbols>true</DebugSymbols> |
|
44 | 47 | <DelaySign>false</DelaySign> |
45 | 48 | </PropertyGroup> |
46 | 49 | <ItemGroup> |
| 50 | + <Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL"> |
| 51 | + <HintPath>..\..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath> |
| 52 | + <Private>True</Private> |
| 53 | + </Reference> |
47 | 54 | <Reference Include="PresentationCore" /> |
48 | 55 | <Reference Include="System" /> |
49 | 56 | <Reference Include="System.Core" /> |
|
75 | 82 | <Reference Include="System.Xaml" /> |
76 | 83 | <Reference Include="System.Xml.Linq" /> |
77 | 84 | <Reference Include="System.Data.DataSetExtensions" /> |
78 | | - <Reference Include="LibGit2Sharp, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
79 | | - <HintPath>..\..\lib\LibGit2Sharp.dll</HintPath> |
80 | | - <Private>False</Private> |
81 | | - </Reference> |
82 | 85 | <Reference Include="Microsoft.CSharp" /> |
83 | 86 | <Reference Include="System.Data" /> |
84 | 87 | <Reference Include="System.Xml" /> |
|
163 | 166 | </ItemGroup> |
164 | 167 | <ItemGroup /> |
165 | 168 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 169 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 170 | + <PropertyGroup> |
| 171 | + <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> |
| 172 | + </PropertyGroup> |
| 173 | + <Error Condition="!Exists('..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\LibGit2Sharp.0.21.0.176\build\net40\LibGit2Sharp.props'))" /> |
| 174 | + </Target> |
166 | 175 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
167 | 176 | Other similar extension points exist, see Microsoft.Common.targets. |
168 | 177 | <Target Name="BeforeBuild"> |
|
0 commit comments