Jump to content

AndrewDavid

Members
  • Posts

    1,592
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by AndrewDavid

  1. With all the recent updates to VS2022, I can now successfully build this old plugin on Net 6.0. For personal use only
  2. Exactly why I am trying to learn C#. Only the form based plugins cause me grief. I've rebuilt over 120 Property Based Effects to allow placement in custom submenus and minor modification of Max and Min values.
  3. Here is the version of Shape3D you should be working with Hope this helps
  4. @Ambreville Here's a tutorial that demonstrates the use of Shape 3D. Hope you find it helpful.
  5. I take offense. This is not a Paint.Net question. It is a question about modifying the registry of an operating system so an application suits your needs. Way above most forum members expertise. No disrespect intended. I tried to be politically correct.
  6. Hi @honor Welcome to the Forum Sorry to say no, it's not possible. Just like power failures, some things are unavoidable. Waiting an hour to do a save should be a lesson learned. Saves should be done at the least every 10 minutes.
  7. OK that worked. No WindowsBase error - Removed reference to WindowsBase and changed to AnyCPU Build succeeded without warning PS @otuncelli You are missing the hash tag <UseWpf>true</UseWpf> Now to add those 3 2 lines when codelab generates the VS solution <UseWindowsForms>true</UseWindowsForms> <UseWpf>true</UseWpf> <ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets> Who gets the solution tag?
  8. @Rick Brewster I think the issue is within the WindowsBase file itself. The csproj file is generated by codelab. The codelab code comes from
  9. Any plugins I build (Except 1) are for personal use. They are all exported from Codelab to VS. Changing those lines in csproj file did not resolve the issue. @Rick Brewster Here's a detailed list of events when trying your suggestion. Each change resulted in another error. I know from previous builds that the error is just a warning and has no effect on the operation of the plugin. I just prefer not to see any warnings or messages when I work in VS. I did notice that your csproj is for an executable and not an assembly. That may be why UseWPF caused an error. The csproj is generated by codelab as well. Hence my solution for plugins that are not distributed (for @toe_head2001's ease of mind) Only through a clear understanding of the problem can we gain a permanent solution.
  10. @midora Here's a suggested solution to this issue for VS2022. I just rebuilt 3 plugins and found a way to resolve the warning. Add the WindowsBase.dll to your project from the paint.net directory Change the platform target to x64. (WindowsBase does not like the reference to the ARM64 CPU) I was able to build 2 plugins without seeing the error at all. The experts might not like the solution, but it does work.
  11. Hi @Raillife3001 Welcome to the forum. If I understand you correctly, it sounds like you are color picking a transparent pixel. If you have that as your primary color, you won't see any difference when you use the brush. Ensure you are not on a transparent layer when you use the color picker. Change your primary color to red, paint a blob, change your primary color to black, then use the color picker on the red to see how it works. I'm sure you'll figure it out. Hope this helps
  12. @Rick Brewster After successfully building a plugin and seeing it function in Paint.Net, I go back to VS and try to open the form. I receive this error. Prior to building, the form worked fine. That allowed me to build it. The plugin is built on Net 5. Could that be the issue? Or is it an issue with Paint.Net? After changing the plugin to Net 6.0, I now get this reduced error when trying to open the form. I must be on the right track. The plugin still builds and will function in Paint.Net OK Issue resolved. Found an error in the plugin code.
  13. Well that issue has been resolved with my version of Studio. Now I can get back to trying to update an existing form based plugin to Net 6.0
  14. @otuncelli Updating to 17.2.1 to try again. I had 17.2 but don't remember trying anything form based. I Built about 50 Effect plugins for personal use and training. I'll try my tests for form based later tonight.
  15. And the answer is Atlanta (I see it on CNN every day) The city of Vancouver plans to demolish one of the iconic buildings due to deterioration and neglect. They plan to refurbish the hotel sign for a reminder of the age. I thought it would make a good project to restore the complete building.
  16. @Manc I believe the key is ensuring each step matches the graphic examples provided by @MJW It took me a couple of tries
  17. @Painter1999 Have a look at It may be what you are looking for. Each image needs to be a separate image file though. Hope this helps @Pixey hasn't finished her coffee yet. 🤦‍♂️
  18. Hi @MRGcav Another plugin you may find usefull to plot locations Hope this helps
  19. Hi @Retired HVAC The plugin practically destroys the graphic in your document. It does remove a few artifacts though. Nothing can beat a hour's worth of meticulous redrawing. Sounds like a great project for a retiree.
×
×
  • Create New...