Moving old plugin to .NET core

Let me just start by saying I’m not a developer but I’ve been creating some personal plugins over the years by following along the steps on the Rhino Developer website and learning some basic C#. To put it quite frank, there’s a high likelyhood that I’m gonna be asking some pretty basic questions.

I just figured out that my plugin doesn’t work with NETcore. I want to make it work with NETcore. How do I do this?

I thought I’d go in Visual studio to the plugins properties and change the target framework to .NET 8 and I’m done. Unfortunately it’s not showing in the list of options:

So I go to install other frameworks, install .NET 8 and .NET 10, close visual studio and reopen it but those options didn’t get added to the list to chose from.

Is this because my plug-in contains some elements that are not compatible with .NET8 og .NET10?

Any suggestions on how I can make the switch or suggestions on what I’m supposed to do?

Thanks!

Hi @siemen,

Run the Upgrade Assistant to convert your C# project to a SDK-style project.

– Dale

Hi @dale

I tried doing that and now when I try to run the plugin in debugging mode I get some error in a file I’ve never heard about and am a bit stuck here. I’m trying to ask AI to help me out here but it’s asking me questions about stuff I have no clue about so I’m afraid I’ll make things worse if I follow along there. :sweat_smile:

I’ve replied privately.