|
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\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" /> |
4 |
| - <Import Project="..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.props" Condition="Exists('..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.props')" /> |
5 |
| - <Import Project="..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.props" Condition="Exists('..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.props')" /> |
6 | 3 | <PropertyGroup>
|
7 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
8 | 5 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
19 | 16 | <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
|
20 | 17 | <IsCodedUITest>False</IsCodedUITest>
|
21 | 18 | <TestProjectType>UnitTest</TestProjectType>
|
| 19 | + <NuGetPackageImportStamp> |
| 20 | + </NuGetPackageImportStamp> |
22 | 21 | </PropertyGroup>
|
23 | 22 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
24 | 23 | <DebugSymbols>true</DebugSymbols>
|
|
38 | 37 | <WarningLevel>4</WarningLevel>
|
39 | 38 | </PropertyGroup>
|
40 | 39 | <ItemGroup>
|
41 |
| - <Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL"> |
42 |
| - <HintPath>..\..\packages\Castle.Core.4.2.1\lib\net45\Castle.Core.dll</HintPath> |
43 |
| - </Reference> |
44 |
| - <Reference Include="Microsoft.VisualStudio.CodeCoverage.Shim, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
45 |
| - <HintPath>..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\lib\net45\Microsoft.VisualStudio.CodeCoverage.Shim.dll</HintPath> |
46 |
| - </Reference> |
47 |
| - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
48 |
| - <HintPath>..\..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath> |
49 |
| - </Reference> |
50 |
| - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
51 |
| - <HintPath>..\..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath> |
52 |
| - </Reference> |
53 |
| - <Reference Include="Moq, Version=4.8.0.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL"> |
54 |
| - <HintPath>..\..\packages\Moq.4.8.1\lib\net45\Moq.dll</HintPath> |
55 |
| - </Reference> |
56 |
| - <Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
57 |
| - <HintPath>..\..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> |
58 |
| - </Reference> |
59 | 40 | <Reference Include="System" />
|
60 | 41 | <Reference Include="System.Configuration" />
|
61 | 42 | <Reference Include="System.Net.Http" />
|
62 | 43 | <Reference Include="System.Runtime.Serialization" />
|
63 |
| - <Reference Include="System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
64 |
| - <HintPath>..\..\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath> |
65 |
| - </Reference> |
66 |
| - <Reference Include="System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
67 |
| - <HintPath>..\..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath> |
68 |
| - </Reference> |
69 | 44 | </ItemGroup>
|
70 | 45 | <Choose>
|
71 | 46 | <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
|
|
127 | 102 | </ProjectReference>
|
128 | 103 | </ItemGroup>
|
129 | 104 | <ItemGroup>
|
130 |
| - <None Include="packages.config"> |
131 |
| - <SubType>Designer</SubType> |
132 |
| - </None> |
| 105 | + <PackageReference Include="Microsoft.CodeCoverage"> |
| 106 | + <Version>15.9.0</Version> |
| 107 | + </PackageReference> |
| 108 | + <PackageReference Include="Microsoft.NET.Test.Sdk"> |
| 109 | + <Version>15.9.0</Version> |
| 110 | + </PackageReference> |
| 111 | + <PackageReference Include="Moq"> |
| 112 | + <Version>4.10.1</Version> |
| 113 | + </PackageReference> |
| 114 | + <PackageReference Include="MSTest.TestAdapter"> |
| 115 | + <Version>1.4.0</Version> |
| 116 | + </PackageReference> |
| 117 | + <PackageReference Include="MSTest.TestFramework"> |
| 118 | + <Version>1.4.0</Version> |
| 119 | + </PackageReference> |
133 | 120 | </ItemGroup>
|
134 | 121 | <Choose>
|
135 | 122 | <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
|
|
151 | 138 | </Choose>
|
152 | 139 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
|
153 | 140 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
154 |
| - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
155 |
| - <PropertyGroup> |
156 |
| - <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> |
157 |
| - </PropertyGroup> |
158 |
| - <Error Condition="!Exists('..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.props'))" /> |
159 |
| - <Error Condition="!Exists('..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.targets'))" /> |
160 |
| - <Error Condition="!Exists('..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.props'))" /> |
161 |
| - <Error Condition="!Exists('..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.targets'))" /> |
162 |
| - <Error Condition="!Exists('..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.props'))" /> |
163 |
| - <Error Condition="!Exists('..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets'))" /> |
164 |
| - </Target> |
165 |
| - <Import Project="..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.targets" Condition="Exists('..\..\packages\Microsoft.CodeCoverage.15.9.0-preview-20180816-01\build\netstandard1.0\Microsoft.CodeCoverage.targets')" /> |
166 |
| - <Import Project="..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.targets" Condition="Exists('..\..\packages\Microsoft.NET.Test.Sdk.15.9.0-preview-20180816-01\build\net45\Microsoft.Net.Test.Sdk.targets')" /> |
167 |
| - <Import Project="..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\..\packages\MSTest.TestAdapter.1.3.2\build\net45\MSTest.TestAdapter.targets')" /> |
168 | 141 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
169 | 142 | Other similar extension points exist, see Microsoft.Common.targets.
|
170 | 143 | <Target Name="BeforeBuild">
|
|
0 commit comments