Skip to content

Commit 1e68fd5

Browse files
Update MSTest nugets
1 parent b6915e5 commit 1e68fd5

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

Tests/SQLCallStackResolver.Tests.csproj

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.props" Condition="Exists('..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.props')" />
4-
<Import Project="..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.props')" />
3+
<Import Project="..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.props')" />
4+
<Import Project="..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.props" Condition="Exists('..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.props')" />
55
<PropertyGroup>
66
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
77
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
@@ -43,22 +43,17 @@
4343
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
4444
</PropertyGroup>
4545
<ItemGroup>
46-
<Reference Include="Microsoft.Testing.Platform, Version=1.8.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
47-
<HintPath>..\packages\Microsoft.Testing.Platform.1.8.4\lib\netstandard2.0\Microsoft.Testing.Platform.dll</HintPath>
46+
<Reference Include="Microsoft.Testing.Platform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
47+
<HintPath>..\packages\Microsoft.Testing.Platform.2.0.1\lib\netstandard2.0\Microsoft.Testing.Platform.dll</HintPath>
4848
</Reference>
4949
<Reference Include="Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
50-
<HintPath>..\packages\Microsoft.TestPlatform.ObjectModel.17.14.1\lib\net462\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll</HintPath>
50+
<HintPath>..\packages\Microsoft.TestPlatform.ObjectModel.18.0.0\lib\net462\Microsoft.VisualStudio.TestPlatform.ObjectModel.dll</HintPath>
5151
</Reference>
52-
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
53-
<HintPath>..\packages\MSTest.TestFramework.3.10.4\lib\net462\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
54-
</Reference>
55-
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
56-
<HintPath>..\packages\MSTest.TestFramework.3.10.4\lib\net462\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll</HintPath>
52+
<Reference Include="MSTest.TestFramework, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
53+
<SpecificVersion>False</SpecificVersion>
54+
<HintPath>..\packages\MSTest.TestFramework.4.0.1\lib\net462\MSTest.TestFramework.dll</HintPath>
5755
</Reference>
5856
<Reference Include="System" />
59-
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
60-
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.6.3\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
61-
</Reference>
6257
<Reference Include="System.Xml" />
6358
</ItemGroup>
6459
<ItemGroup>
@@ -80,15 +75,17 @@
8075
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
8176
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
8277
</PropertyGroup>
78+
<Import Project="..\packages\MSTest.TestFramework.4.0.1\build\net462\MSTest.TestFramework.targets" Condition="Exists('..\packages\MSTest.TestFramework.4.0.1\build\net462\MSTest.TestFramework.targets')" />
8379
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
8480
<PropertyGroup>
8581
<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>
8682
</PropertyGroup>
87-
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.props'))" />
88-
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.targets'))" />
89-
<Error Condition="!Exists('..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.props'))" />
90-
<Error Condition="!Exists('..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.targets'))" />
83+
<Error Condition="!Exists('..\packages\MSTest.TestFramework.4.0.1\build\net462\MSTest.TestFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestFramework.4.0.1\build\net462\MSTest.TestFramework.targets'))" />
84+
<Error Condition="!Exists('..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.props'))" />
85+
<Error Condition="!Exists('..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.targets'))" />
86+
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.props'))" />
87+
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.targets'))" />
9188
</Target>
92-
<Import Project="..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.3.10.4\build\net462\MSTest.TestAdapter.targets')" />
93-
<Import Project="..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.targets" Condition="Exists('..\packages\Microsoft.Testing.Platform.1.8.4\build\netstandard2.0\Microsoft.Testing.Platform.targets')" />
89+
<Import Project="..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.targets" Condition="Exists('..\packages\Microsoft.Testing.Platform.2.0.1\build\netstandard2.0\Microsoft.Testing.Platform.targets')" />
90+
<Import Project="..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.4.0.1\build\net462\MSTest.TestAdapter.targets')" />
9491
</Project>

Tests/packages.config

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Testing.Platform" version="1.8.4" targetFramework="net472" />
4-
<package id="Microsoft.TestPlatform.ObjectModel" version="17.14.1" targetFramework="net472" />
5-
<package id="MSTest.TestAdapter" version="3.10.4" targetFramework="net472" />
6-
<package id="MSTest.TestFramework" version="3.10.4" targetFramework="net472" />
7-
<package id="System.Threading.Tasks.Extensions" version="4.6.3" targetFramework="net472" />
3+
<package id="MSTest.TestAdapter" version="4.0.1" targetFramework="net472" />
4+
<package id="MSTest.TestFramework" version="4.0.1" targetFramework="net472" />
5+
<package id="Microsoft.Testing.Platform" version="2.0.1" targetFramework="net472" />
6+
<package id="Microsoft.TestPlatform.ObjectModel" version="18.0.0" targetFramework="net472" />
87
</packages>

0 commit comments

Comments
 (0)