Jump to content

How Do I Install My Visual Studio Plug In Dll's?

Recommended Posts

Today I updated my Nuget package so I could check if a pixel should be updated or not using my Nuget package, but I don't know how to deploy.


How do I package this up to install?


If there is any benefit, I do have Advanced Installer if that simplifies things.

If there is a doc for this I didn't get that far. I saw how to do this in using Code Lab, but I don't know what to do to package up the Visual Studio output, which includes my plug in class and my Nuget package and a some dependencies.





How To Deploy.png

Link to comment
Share on other sites

It looks like you have your plugin DLL and two dependency DLLs.


Copy those 3 file into the Effects folder within the Paint.NET program files directory.



Or, for distribution to others, just place those 3 files into a ZIP, and you're done.

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

My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Make sure that you DO NOT distribute the PaintDotNet.*.DLLs . First, it's against the license.


But, it will also completely break a Paint.NET install if it has a copy of those in the Effects folder. The app will try to load them as plugins and there ends up being 2 copies of important types loaded into the runtime and all heck breaks loose. Total meltdown.

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

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


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.

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...