|
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\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.10.1\build\NUnit.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 | <TargetFrameworkProfile /> |
| 16 | + <NuGetPackageImportStamp> |
| 17 | + </NuGetPackageImportStamp> |
15 | 18 | </PropertyGroup> |
16 | 19 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 | 20 | <DebugSymbols>true</DebugSymbols> |
|
33 | 36 | <Prefer32Bit>false</Prefer32Bit> |
34 | 37 | </PropertyGroup> |
35 | 38 | <ItemGroup> |
36 | | - <Reference Include="nunit.framework, Version=3.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
37 | | - <HintPath>..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll</HintPath> |
38 | | - <Private>True</Private> |
| 39 | + <Reference Include="nunit.framework, Version=3.10.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 40 | + <HintPath>..\packages\NUnit.3.10.1\lib\net45\nunit.framework.dll</HintPath> |
39 | 41 | </Reference> |
40 | 42 | <Reference Include="System" /> |
41 | 43 | <Reference Include="System.Core" /> |
|
50 | 52 | <Compile Include="IntegrationTests\CrumbTests.cs" /> |
51 | 53 | <Compile Include="Internal\DefaultClient.cs" /> |
52 | 54 | <Compile Include="Internal\DefaultRunner.cs" /> |
| 55 | + <Compile Include="Internal\IntegrationTestFixtureAttribute.cs" /> |
| 56 | + <Compile Include="Internal\UnitTestFixtureAttribute.cs" /> |
53 | 57 | <Compile Include="Properties\AssemblyInfo.cs" /> |
54 | 58 | <Compile Include="UnitTests\NetPathTests.cs" /> |
55 | 59 | <Compile Include="UnitTests\StringCastTests.cs" /> |
|
61 | 65 | </ProjectReference> |
62 | 66 | </ItemGroup> |
63 | 67 | <ItemGroup> |
64 | | - <None Include="packages.config" /> |
| 68 | + <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
65 | 69 | </ItemGroup> |
66 | 70 | <ItemGroup> |
67 | | - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
| 71 | + <None Include="packages.config" /> |
68 | 72 | </ItemGroup> |
69 | 73 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 74 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 75 | + <PropertyGroup> |
| 76 | + <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> |
| 77 | + </PropertyGroup> |
| 78 | + <Error Condition="!Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NUnit.3.10.1\build\NUnit.props'))" /> |
| 79 | + </Target> |
70 | 80 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
71 | 81 | Other similar extension points exist, see Microsoft.Common.targets. |
72 | 82 | <Target Name="BeforeBuild"> |
|
0 commit comments