Skip to content

Commit

Permalink
Upgrade test projects to netcoreapp3.1
Browse files Browse the repository at this point in the history
(The current .NET Core target `netcoreapp2.2` was not an LTS release.)
  • Loading branch information
stakx committed Jun 18, 2020
1 parent 8c0f5b8 commit 15e4238
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Moq.Tests.FSharpTypes/Moq.Tests.FSharpTypes.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Import Project="$(BuildDirectory)SignAssembly.props" />

<PropertyGroup>
<TargetFrameworks>net472;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<IsPackable>False</IsPackable>
Expand Down
2 changes: 1 addition & 1 deletion tests/Moq.Tests.VisualBasic/Moq.Tests.VisualBasic.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Import Project="$(BuildDirectory)xUnit.props" />

<PropertyGroup>
<TargetFrameworks>net472;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<IsPackable>False</IsPackable>
Expand Down
6 changes: 3 additions & 3 deletions tests/Moq.Tests/Moq.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Import Project="$(BuildDirectory)xUnit.props" />

<PropertyGroup>
<TargetFrameworks>net472;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
<AssemblyName>Moq.Tests</AssemblyName>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
Expand All @@ -17,7 +17,7 @@
<PropertyGroup Condition=" '$(TargetFramework)' == 'net472' ">
<DefineConstants>$(DefineConstants);FEATURE_CAS;FEATURE_DYNAMICPROXY_SERIALIZABLE_PROXIES;FEATURE_COM;FEATURE_EF;FEATURE_SYSTEM_WEB;FEATURE_SYSTEM_WINDOWS_FORMS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.2' ">
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<DefineConstants>$(DefineConstants)</DefineConstants>
</PropertyGroup>

Expand All @@ -41,7 +41,7 @@
<ItemGroup Condition=" $([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants)', 'FEATURE_SYSTEM_WINDOWS_FORMS'))">
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.2' ">
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<PackageReference Include="System.Collections.Specialized" Version="4.3.0" />
<PackageReference Include="System.ComponentModel.Primitives" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" />
Expand Down

0 comments on commit 15e4238

Please sign in to comment.