-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native .NET Framework build #82
Comments
Additionally, there are buggy compatibility issues with older (but Taking the additional maintenance into account, I believe this is OK to add. @atheken what are your thoughts on providing a native .NET Framework built nuget (or alternatively, additional |
Old issue, I know, but what about providing a multi-targeted package? Would change to <TargetFrameworks>net471;net6.0;net5.0;netcoreapp3.1</TargetFrameworks> Then add conditional references <ItemGroup Condition=" '$(TargetFramework)' == 'net471' ">
<Reference Include="mscorlib" />
<Reference Include="System.Web" />
<Reference Include="System.Net.Http" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup> Then pretty much any new project could use it natively. And in this configuration a reference to the System.Net.Http NuGet package would be completely unnecessary. Would be completely removed. |
With System.Net.Http being messed up in netstandard2.0 vs. .NET Framework would you consider providing a native .NET Framework built nuget?
e.g.
https://github.com/heikomilke/postmark-dotnet/tree/master/src/PostmarkNETFramework
The issue explained. Right now if you add a package reference from a .NET Framework assembly (I tried 4.7.1 and 4.8) to Postmark 4.3 you end up with some messy assembly references.
I started with clean class library and this is the result (excerpt):
... when all it should do is a plain reference to System.Net.Http.
Building the nuget for .NET Framework directly solves that issue.
The text was updated successfully, but these errors were encountered: