diff options
Diffstat (limited to 'LibGit2Sharp/LibGit2Sharp.csproj')
-rw-r--r-- | LibGit2Sharp/LibGit2Sharp.csproj | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 4b7bfd93..c20b0933 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.51\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.51\build\LibGit2Sharp.NativeBinaries.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -69,6 +70,8 @@ <Compile Include="CommitSortStrategies.cs" /> <Compile Include="CompareOptions.cs" /> <Compile Include="Core\FileHistory.cs" /> + <Compile Include="Core\GitFetchOptions.cs" /> + <Compile Include="Core\GitPushUpdate.cs" /> <Compile Include="Core\Platform.cs" /> <Compile Include="Core\Handles\ConflictIteratorSafeHandle.cs" /> <Compile Include="DescribeOptions.cs" /> @@ -82,6 +85,7 @@ <Compile Include="DiffAlgorithm.cs" /> <Compile Include="EntryExistsException.cs" /> <Compile Include="FetchOptionsBase.cs" /> + <Compile Include="Core\FetchPruneStrategy.cs" /> <Compile Include="LogEntry.cs" /> <Compile Include="FollowFilter.cs" /> <Compile Include="IBelongToARepository.cs" /> @@ -358,22 +362,25 @@ <CodeAnalysisDictionary Include="CustomDictionary.xml" /> </ItemGroup> <ItemGroup> - <EmbeddedResource Include="libgit2_hash.txt" /> + <EmbeddedResource Include="libgit2sharp_hash.txt" /> </ItemGroup> <ItemGroup> - <EmbeddedResource Include="libgit2sharp_hash.txt" /> + <None Include="packages.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="UniqueIdentifier.targets" /> - <PropertyGroup> - <NativeBinariesDirectory>$(MSBuildProjectDirectory)\..\Lib\NativeBinaries</NativeBinariesDirectory> - </PropertyGroup> - <Import Project="CopyWindowsNativeDependencies.targets" /> + <Import Project="NativeDllName.targets" /> <Import Project="ExtraDefine.targets" /> <PropertyGroup> <PreBuildEvent> </PreBuildEvent> </PropertyGroup> + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <PropertyGroup> + <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> + </PropertyGroup> + <Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.51\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.51\build\LibGit2Sharp.NativeBinaries.props'))" /> + </Target> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> |