Jump to content

How to make plugin?


Taco1337
 Share

Recommended Posts

  • 1 month later...

Boltbait, I read in the first line of your page that "Most Paint.NET plugins are written in C#". So, I assume it is possible to write it in other languages (C++ flashes in my mind). But here the author's question reapears: "But how??"

Could you please post one more link with help in this direction? :roll:

Thanks!

Link to comment
Share on other sites

If you can code in C++, just bite the bullet and learn C#. The changes are not that great.

There are other plugins written in VB.NET... which I don't recomend. However, if you must, use this template: viewtopic.php?f=27&t=23004

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

  • 2 months later...

Well, I have a question: Is it possible to create plug-ins with Microsoft's Visual C# 2008 Express Edition (It does just support .NET 3.5) ?

VS 2010 express is available, if you want .Net 4.

http://www.microsoft.com/express/Downloads/

For what paint.net version needs plugins to be using what framework version, i don't know.

I'm running the latest release (not beta) and my plugins are targeting .Net 3.5 and they work.

Link to comment
Share on other sites

  • 9 months later...
  • 2 years later...
  • 4 weeks later...
  • 8 months later...

I don't understand how you are supposed to iterate? 

 

Once you have already made a dll, you can't save your updated plugin, because paint.net must be open to be using this, and the file is locked. So, every single time, you have to make a new name for the dll, close paint.net, and copy it??

Link to comment
Share on other sites

The next version of CodeLab will fix this issue. It will be out soon.

Great! A few additional minor problems I noticed: 

 

In the UI designer editing the 'max' field screws up the value in the 'default' field. 

The program shouldn't warn that the .cs file already exists when you save it if it knows that is the file you are editing.

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.

 Share

×
×
  • Create New...