Skip to content

Commit

Permalink
Revert UnitTests back to net6.0 to fix CI unit tests
Browse files Browse the repository at this point in the history
Turns out that NUnit uses the net6.0 runtime and fails in CI
because the net6.0 runtime obviously can't run net8.0 assemblies.
  • Loading branch information
jstedfast committed Nov 28, 2024
1 parent 93bb09d commit 200a1ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MailKit/MailKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<VersionPrefix>4.8.0</VersionPrefix>
<Authors>Jeffrey Stedfast</Authors>
<LangVersion>10</LangVersion>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net47;net48;net6.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<AssemblyName>MailKit</AssemblyName>
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 200a1ff

Please sign in to comment.