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.2.1.2\build\net45\MSTest.TestAdapter.props" Condition =" Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" />
4
3
<PropertyGroup >
5
4
<Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
5
<Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
20
19
<NuGetPackageImportStamp >
21
20
</NuGetPackageImportStamp >
22
21
<TargetFrameworkProfile />
22
+ <!-- needed for unit tests projects as mentioned here https://github.com/dotnet/standard/issues/481 / not the extra auto binding redirects is on by default though -->
23
+ <GenerateBindingRedirectsOutputType >true</GenerateBindingRedirectsOutputType >
23
24
</PropertyGroup >
24
25
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
25
26
<DebugSymbols >true</DebugSymbols >
39
40
<WarningLevel >4</WarningLevel >
40
41
</PropertyGroup >
41
42
<ItemGroup >
42
- <Reference Include =" Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" >
43
- <HintPath >..\packages\MSTest.TestFramework.2.1.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.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath >
47
- </Reference >
43
+ <PackageReference Include =" MSTest.TestAdapter" Version =" 2.1.2" />
44
+ <PackageReference Include =" MSTest.TestFramework" Version =" 2.1.2" />
45
+ <PackageReference Include =" System.IO.Ports" Version =" 4.7.0" />
48
46
<Reference Include =" System" />
49
47
<Reference Include =" System.Core" />
50
- <Reference Include =" System.IO.Ports, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL" >
51
- <HintPath >..\packages\System.IO.Ports.4.7.0\lib\net461\System.IO.Ports.dll</HintPath >
52
- </Reference >
53
48
</ItemGroup >
54
49
<ItemGroup >
55
50
<Compile Include =" CALogTests.cs" />
72
67
</ItemGroup >
73
68
<ItemGroup >
74
69
<None Include =" app.config" />
75
- <None Include =" packages.config" />
76
70
</ItemGroup >
77
- <Import Project =" $(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition =" Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
78
71
<Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
79
- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
80
- <PropertyGroup >
81
- <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 >
82
- </PropertyGroup >
83
- <Error Condition =" !Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.props'))" />
84
- <Error Condition =" !Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" Text =" $([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets'))" />
85
- </Target >
86
- <Import Project =" ..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets" Condition =" Exists('..\packages\MSTest.TestAdapter.2.1.2\build\net45\MSTest.TestAdapter.targets')" />
87
72
</Project >
0 commit comments