Skip to content

Commit

Permalink
Revert "Migrate test projects to MSTest.Sdk (#99)"
Browse files Browse the repository at this point in the history
This reverts commit cca3dae.
  • Loading branch information
dfederm authored Oct 30, 2024
1 parent cca3dae commit 14f0fa7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<PackageVersion Include="Microsoft.VisualStudio.Services.BlobStore.Client" Version="$(ArtifactsPackageVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Services.BlobStore.Client.Cache" Version="$(ArtifactsPackageVersion)" />
<PackageVersion Include="Microsoft.VisualStudio.Services.PipelineCache.WebApi" Version="$(ArtifactsPackageVersion)" />
<PackageVersion Include="MSTest" Version="3.5.0" />
<!--
An indirect dependency of BXL (Minimatch) depends on a very old and non-existing version of NETStandard.Library (>= 1.0.0-rc2-23910).
This forces a good version of NETStandard.Library to mitigate.
Expand Down
5 changes: 0 additions & 5 deletions global.json

This file was deleted.

3 changes: 2 additions & 1 deletion src/Common.Tests/Microsoft.MSBuildCache.Common.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="MSTest.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Only supports x64 due to the RocksDB dependency -->
<Platform>x64</Platform>
Expand All @@ -11,6 +11,7 @@
<NoWarn>$(NoWarn);CA1034</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSTest" />
<PackageReference Include="morelinq" />
</ItemGroup>
<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions src/Repack.Tests/Microsoft.MSBuildCache.Repack.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="MSTest.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Only supports x64 due to the RocksDB dependency -->
<Platform>x64</Platform>
<Platforms>$(Platform)</Platforms>
<Platforms>AnyCPU;x64</Platforms>
<TargetFrameworks>net472;net8.0</TargetFrameworks>
<RootNamespace>Microsoft.MSBuildCache.Repack.Tests</RootNamespace>
<!-- Suppress "Avoid constant arrays as arguments". UTs have many one-off test data arrays. -->
Expand All @@ -11,6 +11,7 @@
<NoWarn>$(NoWarn);CA1034</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MSTest" />
<PackageReference Include="morelinq" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 14f0fa7

Please sign in to comment.