Skip to content

Commit

Permalink
Upgraded package versions.
Browse files Browse the repository at this point in the history
Touched the unit testing project file.
  - Updated the nuget packages to their latest versions.
  - Added a System.Runtime.Caching 'ItemGroup Condition' for
    'netcoreapp5.0'.
  - Made a comment about the magic Service GUID.
  • Loading branch information
cole-brown committed Aug 24, 2021
1 parent fd9f41d commit 51f2259
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/FileCache.UnitTests/FileCache.UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.5" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.5" />
<PackageReference Include="FluentAssertions" Version="6.1.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp5.0'">
<Reference Include="System.Runtime.Caching" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
<Reference Include="System.Runtime.Caching" />
</ItemGroup>
Expand All @@ -28,6 +30,8 @@
<ProjectReference Include="..\FileCache\FileCache.csproj" />
</ItemGroup>

<!-- VisualStudio creates this when it notices a project includes tests. It tells VisualStudio to open the Test Explorer package. -->
<!-- Not sure if just VS or also VSCode... -->
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
Expand Down

0 comments on commit 51f2259

Please sign in to comment.