.Net 6 based plugin
-
Hi all!
I started revamping a legacy plugin written in .Net full framework v4.8 to the new .Net 6. After implementing all interfaces
isUnicode,setInfo,getFuncsArray,messageProc,getNameandbeNotifiedit still throws an unhandled and too generic error from nppFailed to load. I’m developing and testing in the same machine, so I assume .Net 6 runtime is installed and available. Is there any trick to support .Net “Core” or only the plugins developed under .Net full framework are supported? -
@Carlos-Henrique-Guardão-Gandarez,
or only the plugins developed under .Net full framework are supported?
Afraid so.
Every plugin is fundamentally limited to whatever APIs are used by Notepad++ itself. From the very beginning, those APIs have been the oldest, lowest-level ones available.
Microsoft’s legacy .NET Framework is guaranteed to be installed on every Windows device from Vista onward, which is why the “official” .NET plugin template exclusively targets it.
As the template’s maintainers recently admitted on GitHub, being stuck with such an old runtime is a technical debt that all .NET plugin developers just have to put up with.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login