Jump to content

Is it necessary to update to .NET 6.0 for plugin development?


Reptillian

Recommended Posts

This is a question that I have. Right now, it seems that .NET 5.0 is supported, but for plugin development, should the transition be now? Is there a set end-date for .NET 5 support?

 

Looks like this error answers my question:

 

Quote

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS1705    Assembly 'PaintDotNet.Core' with identity 'PaintDotNet.Core, Version=4.303.7994.40115, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'    TiledFormGmicPDN    C:\gmic-pdn\gmic-pdn-tiled-form\src\CSC    1    N/A

 

Going with yes. Time to install VS2022 then.

 

EDIT: Do I uninstall 2019 first, and then install 2022, or should I install 2022 straight away?

Edited by Reptillian

G'MIC Filter Developer

Link to comment
Share on other sites

2 hours ago, Reptillian said:

Do I uninstall 2019 first, and then install 2022, or should I install 2022 straight away?

 

You can install 2022 alongside 2019; they won't interfere with each other.

  • Like 1

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

2 hours ago, Reptillian said:

Is there a set end-date for .NET 5 support?

 

With regards to Paint.NET, that would be November 21st, 2021, which is when 4.3.3 on .NET 6 was released.

 

.NET 5 was just a short-term, temporary thing until .NET 6 was released.

  • Like 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

IIRC, .NET 7 comes out 1 year after .NET 6. Whether Paint.NET can migrate to it immediately will depend on how compatible it is, which should be dependent mostly on use of BinaryFormatter which is getting the boot. https://github.com/dotnet/designs/blob/main/accepted/2020/better-obsoletion/binaryformatter-obsoletion.md

 

But in general, from here on out, you should expect Paint.NET to always adopt the latest, newest version of .NET as soon as it's available.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...