jstedfast/MailKit

`System.Formats.Asn1` version clash with framework/netstandard2

Closed this issue · 3 comments

Describe the bug
Looks like nuspec is referencing 8.0.0 and csproj is referencing 8.0.1?

Platform (please complete the following information):

  • OS: Windows
  • .NET Runtime: [e.g. CoreCLR, Mono]
  • .NET Framework: 4.8
  • MailKit Version: 4.7.1

<dependencies>
<group targetFramework="net462">
<dependency id="System.Formats.Asn1" version="8.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="net47">
<dependency id="System.Formats.Asn1" version="8.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="net48">
<dependency id="System.Formats.Asn1" version="8.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="net6.0">
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="net8.0">
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="System.Formats.Asn1" version="8.0.0" />
<dependency id="System.Threading.Tasks.Extensions" version="4.5.4" />
<dependency id="MimeKit" version="4.7.1" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="MimeKit" version="4.7.1" />
</group>
</dependencies>

Fixed with 4.7.1.1

I think the deploy failed:

Attempting to build package from 'MailKit.nuspec'.
Error NU5010: Version string specified for package reference '4.7.1.1.1124' is invalid.

Actually, its showing on nuget.org, so unsure what the failure means.

I goofed on my commit, but the 4.7.1.1 release build is good