Debug bug?

When I try to debug a plugin in VS2022 with F5, I get this message.
Is this a bug? Or is there a workaround?
The version of RhinoCommono that we are using is 8.12.24282.7001.
Rhino will start normally when Ctrl+F5 is specified.

-Current Environment
Windows11
Rhino8 SR8.12
.NET Framework 4.8

Best

VS_error

If possible you should write your plug-in for .net 7, but if you really must use .net framework 4.8 then pass /netfx to Rhino in the debug settings.

I see. In the future, we intend to support .NET core.
Will that argument be listed in the debugging section of VS?
I would like to know the specific section to be mentioned.

The debug section in your project properties. You need to find where the Rhino application is started. To command arguments add /netfx

1 Like