Skip to content

Commit 9d6bf05

Browse files
Update MSTest nugets
1 parent b6915e5 commit 9d6bf05

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
path: |
2929
Target/Release
3030
!Target/Release/*.xml
31-
!Target/Release/Tests
3231
- name: Prep for running tests
3332
run: ./downloadsyms.ps1
3433
working-directory: Tests/TestCases

Tests/SQLCallStackResolver.Tests.csproj

Lines changed: 19 additions & 18 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,21 @@
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>
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>
5455
</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>
56+
<Reference Include="MSTest.TestFramework.Extensions, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
57+
<SpecificVersion>False</SpecificVersion>
58+
<HintPath>..\packages\MSTest.TestFramework.4.0.1\lib\net462\MSTest.TestFramework.Extensions.dll</HintPath>
5759
</Reference>
5860
<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>
6261
<Reference Include="System.Xml" />
6362
</ItemGroup>
6463
<ItemGroup>
@@ -80,15 +79,17 @@
8079
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
8180
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
8281
</PropertyGroup>
82+
<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')" />
8383
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
8484
<PropertyGroup>
8585
<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>
8686
</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'))" />
87+
<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'))" />
88+
<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'))" />
89+
<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'))" />
90+
<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'))" />
91+
<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'))" />
9192
</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')" />
93+
<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')" />
94+
<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')" />
9495
</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)