Skip to content

Commit

Permalink
Revert Benchmarks and UnitTests back to net6.0
Browse files Browse the repository at this point in the history
Until NUnit runs under the net8.0 runtime, we need to continue to target
net6.0 for the UnitTests so that they continue to run in CI.
  • Loading branch information
jstedfast committed Nov 28, 2024
1 parent afbe942 commit 408264a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Benchmarks/Benchmarks.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks Condition="'$(TestFrameworks)'==''">net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(TestFrameworks)'==''">net6.0</TargetFrameworks>
<SignAssembly>true</SignAssembly>
<DefineConstants Condition=" '$(MonoRuntime)' == 'true' ">$(DefineConstants);MONO</DefineConstants>
<AssemblyOriginatorKeyFile>..\MimeKit\mimekit.snk</AssemblyOriginatorKeyFile>
Expand Down
2 changes: 1 addition & 1 deletion MimeKit/MimeKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>Jeffrey Stedfast</Authors>
<_LegacyFrameworks>net462;net47</_LegacyFrameworks>
<_LegacyFrameworks Condition=" Exists('C:\Windows') ">$(_LegacyFrameworks);net48</_LegacyFrameworks>
<TargetFrameworks>$(_LegacyFrameworks);netstandard2.0;netstandard2.1;net8.0</TargetFrameworks>
<TargetFrameworks>$(_LegacyFrameworks);netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>MimeKit</AssemblyName>
<PackageId>MimeKit</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>10</LangVersion>
<AssemblyName>UnitTests</AssemblyName>
<DebugSymbols>true</DebugSymbols>
Expand Down

0 comments on commit 408264a

Please sign in to comment.