-
Posts
1,592 -
Joined
-
Last visited
-
Days Won
28
Posts posted by AndrewDavid
-
-
@Pixey The current version is 1.7.01 and it would appear to me you have a much older version installed
47 minutes ago, Pixey said:ShapeMaker.dll C:\Program Files\paint.net\Effects\ShapeMaker.dll, version=1.4.9.14
-
-
-
Check your location of the Optional Based Libraries
The new version require they be in the effects folder - not the app folder (Program Files\Paint.net)
- 2
-
Lets not forget Paint is a graphics application - Not a word processor. The work that has been done to allow text to be used in the app is excellent if you have the right plugins. For example I recently imported a 40 page PDF and rebuilt it in Paint. The secret is having Notepad running in the background for any text edits. Once the edits are completed, its just a copy and paste into Paint (Watch out for those margins) 😊
- 1
-
Thanks @BoltBait
I finally got it working. Don't worry - I won't publish (Ha Ha)
-
@BoltBait I have a request.
One of your effects that I constantly use requires some modification to suit my needs. This is a personal request. Using Codelab, can I rebuild one of your effects found in SelectionTools.dll? The one I want is OutlineSelection. I could extract the code that I need to rebuild it in VS using Codelab as a staging platform for Net 5.0. Can I have your permission? Another way of learning - hacking I guess you might call it. Then could you assist if I run into any problems? I've noticed C# 9 has simplified the code and VS is pretty good at solving the errors.
-
Hello @john23
Lets see if I can be clear. Rest assured you will get access to the NIK collection and not lose anything else. You have updated Paint to a new version (well done). The plugin that allows you access to the NIK collection had to be updated to support the new version of Paint. It can be found here;
https://forums.getpaint.net/topic/20622-psfilterpdn-2021-07-29/?ct=1632861602
Once you install this newest plugin, you will have access to the NIK collection just the same as you always have. Let us know if this resolves your issue.
- 1
-
Not at all - Win 10 of course. Works through the menu. Works in other apps like VS and VS Code, Notepad.
Just tried it again and it worked. I'll keep an eye on it and see why it didn't work.
-
Ctrl-C not working in Codelab. I think I saw that mentioned in another thread in another part of the application.
-
Found this anomaly practicing building plugins.
Plugin still works. I think we can agree Net 5.0 is a little buggy.
-
32 minutes ago, BoltBait said:
Work your way through all the tutorials
Believe me - I have.
-
Hopefully this is an easy question. In Codelab I see the IntSliderControl on the opening screen. When exported to VS it exports as a Class C# cs file.
My project is Form based. I am trying to add that IntSliderControl to my form, but it does not exist in the toolbox. This tells me a little bit of programming is required to build it programmatically like in codelab. This of course is way over my head. I hope I have explained it correctly.
Can you help with the code required or steer me to the right place to know how to build it. I have searched for 3 days to answer this riddle.
-
I just saw the error again. I went into Properties\Package and reset my assembly version to 1.0.0.0
It allowed me to build and it changed it back to 1.0.0.1 which was the value that was there before I reset it.
Another Microsoft bug.
-
I was able to resolve this one (DrawGrid) easily with the new Codelab.
-
It surfaces in codelab
Warning at line -63: Assuming assembly reference 'System.Drawing.Common, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' used by 'PaintDotNet.Effects' matches identity 'System.Drawing.Common, Version=5.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' of 'System.Drawing.Common', you may need to supply runtime policy (CS1702)
-
@BoltBait @Rick Brewster added a new feature
For effects and file types, some of them need to be patched up at load time to be compatible with 4.3. If you remember from some of the previous alpha builds, I mentioned that I made a similar caching system for these types of plugins (as described above for Shapes). I later disabled it because I had concerns about its security. I've now re-enabled the cache, but only for plugins that are installed into the Documents folder -- not for plugins installed into the Program Files location.
So in essence they can be installed in two locations now.
-
Yes - I have seen it many times. Close the solution and reload usually works.
-
When a DLL is created in Codelab It is placed in a zipped folder that includes a batch file that places the effect in the old C:\Program Files\Effects Folder
@BoltBait's Codelab installer does the same thing.
Hidden features? They still get loaded and work.
-
5 hours ago, midora said:
You have to update the references to the paint.net assembly (the project references the portable version)
VS 2022 would not let me. Errors galore.
VS 2019 allowed me to change references, but when I debugged, I got all kinds of errors. It did create the plugin though.
I stand corrected. Is it causing you grief updating CodeLab?
-
The only reason I am using VS2022 (Preview) is because VS2019 does not support Net 5.0.
I just finished going back to 4.2.16 to play with codelab. The work that was put into that plugin is gold. Not only does it create error free plugins, it exports to VB 2019 with no errors. The same plugin was opened in VS 2022 and 2 errors that should be easy to fix are not. Net 5.0 doesn't play nice. Maybe some work still needs to be done to make it backward compatible. My turn to look at your plugin.
-
And here I thought that was a simple one. I just go by the size of the DLL.
Remember the original crashed trying to divide by 0?
Well I tried your suggestions but I couldn't find a place to put your Amount statements without causing an error.
I placed your other snippet where I think it should go, but that caused a crash. Crashed trying to divide by 0.
Perhaps I didn't put it in the right place. All the code was copied from the original and placed in my Net 5.0 template.
Some things I understand but the actual coding is beyond my ability to fathom at this time. I'm hoping to gather experience doing thesr small plugins.
I was able to rebuild @xod,s text plugins. But they were working to begin with. Hope you will try again and test.
-
@midora Thanks for the feedback. I constantly ran into errors trying to do that.
Anything I change results in error(s). I can wait for your code snippet
-
To whom it may concern
I've come a long way since my last post. Found some guides buried in the forum.
Visual Studio 3033 has had some issues
I would think Net 5.0 has some too. Still missing documentation for many issues.
I think I have a good working template now.
Now when I try to create a Git repository, I have to do it through the command line. It was uploading fine a few weeks ago.
I also don't get the blue icons anymore for my newer repositories. The resource files are not segregated into their own folders.
https://github.com/AndrewDavid007/DrawGrid2021
I have built this one totally on Net 5.0
However it is not rendering the grid to the surface.
I'm sure you will find the code messy - but it does work with that exception.
If you have the time and patience have a look and see what is wrong. You are free to update as necessary on Git
Thank you in advance.
I know you guys like puzzles 😊
ShapeMaker - by the Dwarf Horde v1.7.0.4 (May 21, 2022)
in Plugins - Publishing ONLY!
Posted · Edited by AndrewDavid
Ladies - run the app and you should see the 1.7.0.2 in the toolbar.
Installer worked for me after getting through all the protection levels on my machine.
Coding has shown me there are a few areas that you need to update to show the 1.7.0.2 everywhere.