|
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> |
|
11 | 12 | <AssemblyName>StyleCop.Analyzers.Status.Generator</AssemblyName> |
12 | 13 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
| 15 | + <NuGetPackageImportStamp> |
| 16 | + </NuGetPackageImportStamp> |
14 | 17 | </PropertyGroup> |
15 | 18 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
16 | 19 | <PlatformTarget>AnyCPU</PlatformTarget> |
|
33 | 36 | <WarningLevel>4</WarningLevel> |
34 | 37 | </PropertyGroup> |
35 | 38 | <ItemGroup> |
| 39 | + <Reference Include="LibGit2Sharp, Version=0.21.0.176, Culture=neutral, processorArchitecture=MSIL"> |
| 40 | + <HintPath>..\packages\LibGit2Sharp.0.21.0.176\lib\net40\LibGit2Sharp.dll</HintPath> |
| 41 | + <Private>True</Private> |
| 42 | + </Reference> |
36 | 43 | <Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
37 | 44 | <HintPath>..\packages\Microsoft.CodeAnalysis.Common.1.0.0-rc2\lib\net45\Microsoft.CodeAnalysis.dll</HintPath> |
38 | 45 | <Private>True</Private> |
|
118 | 125 | </ItemGroup> |
119 | 126 | <ItemGroup> |
120 | 127 | <None Include="App.config" /> |
121 | | - <None Include="packages.config" /> |
| 128 | + <None Include="packages.config"> |
| 129 | + <SubType>Designer</SubType> |
| 130 | + </None> |
122 | 131 | <None Include="Rules.ruleset" /> |
123 | 132 | </ItemGroup> |
124 | 133 | <ItemGroup> |
|
127 | 136 | <Analyzer Include="..\packages\StyleCop.Analyzers.1.0.0-alpha007\tools\analyzers\C#\StyleCop.Analyzers.dll" /> |
128 | 137 | </ItemGroup> |
129 | 138 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 139 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 140 | + <PropertyGroup> |
| 141 | + <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> |
| 142 | + </PropertyGroup> |
| 143 | + <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'))" /> |
| 144 | + </Target> |
130 | 145 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
131 | 146 | Other similar extension points exist, see Microsoft.Common.targets. |
132 | 147 | <Target Name="BeforeBuild"> |
|
0 commit comments