Skip to content

Commit c68d15e

Browse files
committed
net5.0 and net461
1 parent 00edc33 commit c68d15e

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

src/YTest.MTP.XUnit2/YTest.MTP.XUnit2.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<!-- The package isn't expected to be referenced by a project that targets netstandard2.0 -->
5-
<!-- The netstandard2.0 is added only for compatibility with older TFMs that are EOL (< net8.0) -->
6-
<TargetFrameworks>net462;net8.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net462;net8.0;net5.0;net461</TargetFrameworks>
75

86
<!-- This project itself is not a test project. -->
97
<IsTestingPlatformApplication>false</IsTestingPlatformApplication>
8+
9+
<CheckEolTargetFramework Condition="'$(TargetFramework)' == 'net5.0'">false</CheckEolTargetFramework>
1010
</PropertyGroup>
1111

1212
<ItemGroup>
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
<Project InitialTargets="NETStandardCompatError_YTest_MTP_XUnit2">
2-
<Target Name="NETStandardCompatError_YTest_MTP_XUnit2">
3-
<Warning Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'"
4-
Text="YTest.MTP.XUnit2 is intended to be used by runnable test application, hence it does not support the target framework '$(TargetFramework)'. Test libraries (projects that don't directly run tests) should not reference YTest.MTP.XUnit2 NuGet package." />
5-
</Target>
1+
<Project>
62
</Project>

tests/YTest.MTP.XUnit2.Tests/YTest.MTP.XUnit2.Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
<Import Project="..\..\src\YTest.MTP.XUnit2\build\YTest.MTP.XUnit2.props" />
44

55
<PropertyGroup>
6-
<TargetFrameworks>net10.0;net462</TargetFrameworks>
6+
<TargetFrameworks>net10.0;net462;net6.0</TargetFrameworks>
77
<OutputType>Exe</OutputType>
8+
<CheckEolTargetFramework Condition="'$(TargetFramework)' == 'net6.0'">false</CheckEolTargetFramework>
89
</PropertyGroup>
910

1011
<ItemGroup>

0 commit comments

Comments
 (0)