Skip to content

Commit 3b9cb28

Browse files
committed
Eliminate .NET Standard 2.0 build of nunit.engine.core
1 parent 63d671b commit 3b9cb28

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

build.cake

-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ BuildSettings.Packages.AddRange(new PackageDefinition[] {
125125
"nunit.core.dll", "nunit.core.interfaces.dll", "nunit.engine.api.dll",
126126
"nunit.v2.driver.dll", "nunit-project-loader.dll", "nunit-v2-result-writer.dll",
127127
"teamcity-event-listener.dll", "vs-project-loader.dll"),
128-
HasDirectory("bin/netstandard2.0").WithFiles(ENGINE_CORE_FILES).AndFiles(ENGINE_CORE_PDB_FILES),
129128
HasDirectory("bin/netcoreapp3.1").WithFiles(ENGINE_CORE_FILES).AndFiles(ENGINE_CORE_PDB_FILES),
130129
HasDirectory("bin/agents/net462").WithFiles(AGENT_FILES).AndFiles(AGENT_PDB_FILES),
131130
HasDirectory("bin/agents/net6.0").WithFiles(AGENT_FILES_NETCORE).AndFiles(AGENT_PDB_FILES_NETCORE),

src/NUnitEngine/nunit.engine.core/nunit.engine.core.csproj

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<RootNamespace>NUnit.Engine</RootNamespace>
5-
<TargetFrameworks>net462;netstandard2.0;netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net462;netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
66
<NoWarn>$(NoWarn);SYSLIB0011;SYSLIB0012</NoWarn><!-- TODO: Get rid of obsolete stuff -->
77
<SignAssembly>true</SignAssembly>
88
<AssemblyOriginatorKeyFile>..\..\nunit.snk</AssemblyOriginatorKeyFile>
@@ -22,10 +22,6 @@
2222
<Reference Include="System.Web" />
2323
</ItemGroup>
2424

25-
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
26-
<PackageReference Include="Microsoft.Win32.Registry" Version="4.3.0" />
27-
</ItemGroup>
28-
2925
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='net5.0' or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net7.0' or '$(TargetFramework)'=='net8.0'">
3026
<PackageReference Include="Microsoft.Win32.Registry" Version="4.3.0" />
3127
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="3.1.0" />

0 commit comments

Comments
 (0)