|
17 | 17 | <IsCodedUITest>False</IsCodedUITest> |
18 | 18 | <TestProjectType>UnitTest</TestProjectType> |
19 | 19 | <TargetFrameworkProfile /> |
| 20 | + <NuGetPackageImportStamp> |
| 21 | + </NuGetPackageImportStamp> |
20 | 22 | </PropertyGroup> |
21 | 23 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
22 | 24 | <DebugSymbols>true</DebugSymbols> |
|
38 | 40 | <ItemGroup> |
39 | 41 | <Reference Include="BouncyCastle.Crypto, Version=1.8.1.0, Culture=neutral, PublicKeyToken=0e99375e54769942"> |
40 | 42 | <HintPath>..\packages\BouncyCastle.1.8.1\lib\BouncyCastle.Crypto.dll</HintPath> |
41 | | - <Private>True</Private> |
42 | 43 | </Reference> |
43 | | - <Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL"> |
44 | | - <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> |
45 | | - <Private>True</Private> |
| 44 | + <Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 45 | + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath> |
| 46 | + </Reference> |
| 47 | + <Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 48 | + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath> |
| 49 | + </Reference> |
| 50 | + <Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 51 | + <HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath> |
| 52 | + </Reference> |
| 53 | + <Reference Include="nunit.framework, Version=3.6.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL"> |
| 54 | + <HintPath>..\packages\NUnit.3.6.1\lib\net40\nunit.framework.dll</HintPath> |
46 | 55 | </Reference> |
47 | 56 | <Reference Include="System" /> |
48 | | - <Reference Include="System.Net.Http" /> |
| 57 | + <Reference Include="System.IO, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 58 | + <HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.IO.dll</HintPath> |
| 59 | + </Reference> |
| 60 | + <Reference Include="System.Net" /> |
| 61 | + <Reference Include="System.Net.Http, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 62 | + <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net40\System.Net.Http.dll</HintPath> |
| 63 | + </Reference> |
| 64 | + <Reference Include="System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 65 | + <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net40\System.Net.Http.Extensions.dll</HintPath> |
| 66 | + </Reference> |
| 67 | + <Reference Include="System.Net.Http.Primitives, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 68 | + <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net40\System.Net.Http.Primitives.dll</HintPath> |
| 69 | + </Reference> |
| 70 | + <Reference Include="System.Net.Http.WebRequest, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 71 | + <HintPath>..\packages\Microsoft.Net.Http.2.2.29\lib\net40\System.Net.Http.WebRequest.dll</HintPath> |
| 72 | + </Reference> |
| 73 | + <Reference Include="System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 74 | + <HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Runtime.dll</HintPath> |
| 75 | + </Reference> |
| 76 | + <Reference Include="System.Threading.Tasks, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 77 | + <HintPath>..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll</HintPath> |
| 78 | + </Reference> |
49 | 79 | </ItemGroup> |
50 | 80 | <Choose> |
51 | 81 | <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'"> |
52 | 82 | <ItemGroup> |
53 | 83 | <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> |
54 | 84 | </ItemGroup> |
55 | 85 | </When> |
56 | | - <Otherwise> |
57 | | - <ItemGroup> |
58 | | - <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" /> |
59 | | - </ItemGroup> |
60 | | - </Otherwise> |
| 86 | + <Otherwise /> |
61 | 87 | </Choose> |
62 | 88 | <ItemGroup> |
63 | 89 | <Compile Include="ECKeyHelperTest.cs" /> |
|
67 | 93 | <Compile Include="VapidHelperTest.cs" /> |
68 | 94 | <Compile Include="WebPushClientTest.cs" /> |
69 | 95 | </ItemGroup> |
| 96 | + <ItemGroup> |
| 97 | + <None Include="app.config" /> |
| 98 | + <None Include="packages.config"> |
| 99 | + <SubType>Designer</SubType> |
| 100 | + </None> |
| 101 | + </ItemGroup> |
70 | 102 | <ItemGroup> |
71 | 103 | <ProjectReference Include="..\src\WebPush.csproj"> |
72 | 104 | <Project>{3cf6e7ef-b44d-48d7-8579-f28c593f2f47}</Project> |
73 | 105 | <Name>WebPush</Name> |
74 | 106 | </ProjectReference> |
75 | 107 | </ItemGroup> |
76 | | - <ItemGroup> |
77 | | - <None Include="packages.config" /> |
78 | | - </ItemGroup> |
79 | 108 | <Choose> |
80 | 109 | <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"> |
81 | 110 | <ItemGroup> |
|
96 | 125 | </Choose> |
97 | 126 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
98 | 127 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 128 | + <Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" /> |
| 129 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 130 | + <PropertyGroup> |
| 131 | + <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> |
| 132 | + </PropertyGroup> |
| 133 | + <Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" /> |
| 134 | + </Target> |
99 | 135 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
100 | 136 | Other similar extension points exist, see Microsoft.Common.targets. |
101 | 137 | <Target Name="BeforeBuild"> |
|
0 commit comments