|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="15.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 | 3 | <PropertyGroup> |
5 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | 5 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|
39 | 38 | <WarningLevel>4</WarningLevel> |
40 | 39 | </PropertyGroup> |
41 | 40 | <ItemGroup> |
42 | | - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
43 | | - <HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath> |
44 | | - </Reference> |
45 | | - <Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
46 | | - <HintPath>..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath> |
47 | | - </Reference> |
48 | 41 | <Reference Include="System" /> |
49 | 42 | </ItemGroup> |
50 | 43 | <Choose> |
|
62 | 55 | <Compile Include="Utility\StringExtensionsTests.cs" /> |
63 | 56 | <Compile Include="Utility\UtilsTests.cs" /> |
64 | 57 | </ItemGroup> |
65 | | - <ItemGroup> |
66 | | - <None Include="packages.config" /> |
67 | | - </ItemGroup> |
68 | 58 | <ItemGroup> |
69 | 59 | <ProjectReference Include="..\MultiAdmin\MultiAdmin.csproj"> |
70 | 60 | <Project>{8384BF3C-5FC8-4395-A3DE-440C6C531D36}</Project> |
71 | 61 | <Name>MultiAdmin</Name> |
72 | 62 | </ProjectReference> |
73 | 63 | </ItemGroup> |
| 64 | + <ItemGroup> |
| 65 | + <PackageReference Include="MSTest.TestAdapter"> |
| 66 | + <Version>1.3.2</Version> |
| 67 | + </PackageReference> |
| 68 | + <PackageReference Include="MSTest.TestFramework"> |
| 69 | + <Version>1.3.2</Version> |
| 70 | + </PackageReference> |
| 71 | + </ItemGroup> |
74 | 72 | <Choose> |
75 | 73 | <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"> |
76 | 74 | <ItemGroup> |
|
91 | 89 | </Choose> |
92 | 90 | <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
93 | 91 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
94 | | - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
95 | | - <PropertyGroup> |
96 | | - <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> |
97 | | - </PropertyGroup> |
98 | | - <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'))" /> |
99 | | - <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'))" /> |
100 | | - </Target> |
101 | | - <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')" /> |
102 | 92 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
103 | 93 | Other similar extension points exist, see Microsoft.Common.targets. |
104 | 94 | <Target Name="BeforeBuild"> |
|
0 commit comments