Jump to content

Perregrinne

Newbies
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Perregrinne

  1. I look forward to playing around with these in my spare time, thank you!
  2. Well, the title of this topic seems to be pretty fitting, maybe I'll just keep adding little notes I learn to this topic. To get rid of the SaveExtensions error mentioned above, right-click your .csproj in the solution explorer and click "Properties". Then switch the target framework from .Net Framework 3.5 to 4.7.2 and don't forget to File -> Save All (Hotkey: ctrl+shift+s) afterwards.
  3. I think a lot of the information regarding how to build FileType plugins has become too outdated, and in some cases pretty much obsolete. A few places point to Simon Brown's template, but it doesn't even download a zip anymore, like it says it's supposed to. Midora made a template for Visual Studio 2010 which I'm using now, but it throws errors, like for FileTypeFlags, which are obsolete now. I dug through some current plugin repositories and eventually found some with the new method, but Visual Studio does not like like me using the SaveExtensions or LoadExtensions in the "new FileTypeOptions" block (it says SaveExtensions and LoadExtensions are not defined or imported, though SupportsLayers is found just fine). I can't tell if this is because the solution is from VS 2010 or there was something I was supposed to reference or hook up to the project. I would really like to create a new, modern template for FileType plugins and create explanations or documentation on how to use it, but I only just started making plugins for PDN today, and it's been a while since I last used C#. Does anyone already have any plans to do this? If not, maybe in time when I get better at this I can try. By the way, I'm currently using Visual Studio 2019 Community and .Net Framework 4.7.2 if that helps clarify the issues, and that's what I would use to develop a new template, if I did this.
×
×
  • Create New...