Skip to content

Commit

Permalink
Removed explicit dependencies that aren't needed for .NETStandard v2.0
Browse files Browse the repository at this point in the history
Thanks to Theodore Tsirpanis for this fix.

Partial fix for issue #1058
  • Loading branch information
jstedfast committed Aug 19, 2020
1 parent 62b92e0 commit 669b2a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion MailKit/MailKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<DefineConstants>$(DefineConstants);SERIALIZABLE</DefineConstants>
</PropertyGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard1.')) ">
<PackageReference Include="System.Runtime.Serialization.Primitives" Version="4.3.0" />
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
<PackageReference Include="System.Net.Security" Version="4.3.2" />
Expand Down
3 changes: 0 additions & 3 deletions nuget/MailKit.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ client.Authenticate (new SaslMechanismOAuth2 (username, auth_token));
<dependency id="MimeKit" version="2.9.1" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
<dependency id="System.Net.NameResolution" version="4.3.0" />
<dependency id="System.Net.Security" version="4.3.2" />
<dependency id="MimeKit" version="2.9.1" />
</group>
</dependencies>
Expand Down

0 comments on commit 669b2a4

Please sign in to comment.