Sorry if my explaination was not clear (English is not my native language).
I'll try a step by step explaination.
Assuming you have a plugin which works as you expect with AutoCAD 2024 or earlier. Try to NETLOAD this DLL into AutoCAD 2025 and deeply test your plugin. If it works as expected, you're done.
If it does not, you have create a new plugin for AutoCAD 2025 (and later) targeting .NET 8.0 and AutoCAD 2025 libraries. This can be done:
- either by upgrading the .NET Framework project using the migration assistant (as shown here)
- or by creating a brand new project in the same solution starting from a class library (.NET or .NET Standard template) and adding the code files from the .NET Framework project.
In both cases, you can:
- either try to share the same code in both projects (either choosing "side-by-side incremental project upgrade" or "Add as link" the source code files)
- or have different codes in each project (either choosing "side-by-side project upgrade" or simply "Add" the source code files).