diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-06-10 15:53:05 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-08-25 21:31:17 +0300 |
commit | 38759db52722c49ab427a5672fb8f9445200edff (patch) | |
tree | 164ab8c6171da947c471ab4de82adc946dc57054 | |
parent | 78fba9077b52f3b36951e7823aa0bb37fe30eb60 (diff) |
Circumvent around nuget packages.
-rw-r--r-- | LibGit2Sharp/LibGit2Sharp.csproj | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 51351469..e26e1384 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -1,6 +1,8 @@ <?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.81\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.81\build\LibGit2Sharp.NativeBinaries.props')" /> + --> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> @@ -392,9 +394,11 @@ <ItemGroup> <EmbeddedResource Include="libgit2sharp_hash.txt" /> </ItemGroup> + <!-- <ItemGroup> <None Include="packages.config" /> </ItemGroup> + --> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="UniqueIdentifier.targets" /> <Import Project="NativeDllName.targets" /> @@ -403,12 +407,17 @@ <PreBuildEvent> </PreBuildEvent> </PropertyGroup> + <ItemGroup> + <EmbeddedResource Include="$(MSBuildThisFileDirectory)\..\..\libgit-binary\libgit2_hash.txt" /> + </ItemGroup> + <!-- <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.81\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.81\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"> |