Skip to content
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

Create a nuget package with net5.0-windows platform supporting #82

Closed
vyuzhanin opened this issue Jun 12, 2021 · 3 comments
Closed

Create a nuget package with net5.0-windows platform supporting #82

vyuzhanin opened this issue Jun 12, 2021 · 3 comments
Milestone

Comments

@vyuzhanin
Copy link

vyuzhanin commented Jun 12, 2021

The current nuget package has targets to .NET Framework 3.5 only. Is it possible to create and upload a nuget package with net5.0-windows target support?

It always has the ugly warning in visual studio:

Package 'NLog.Windows.Forms 4.4.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0-windows7.0'. This package may not be fully compatible with your project.

@vyuzhanin vyuzhanin reopened this Jun 12, 2021
@304NotModified
Copy link
Member

The latest pre release supports .net 5.

https://www.nuget.org/packages/NLog.Windows.Forms/4.5.0-rc.1

Please let me know if the prerelease works correct, then I will create a RTM version

@304NotModified 304NotModified added this to the 4.5 milestone Jun 13, 2021
@rigal01
Copy link

rigal01 commented Aug 4, 2021

I've used the pre release version and it removes the warning and still works. Thank You.

@304NotModified
Copy link
Member

Thanks!

4.5 RTM is now live. https://www.nuget.org/packages/NLog.Windows.Forms/4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants