.NET Core and .NET Framework command line options not working

It seems that in Rhino 8 SR 16 the command line arguments /netcore and /netfx are not working as expected.
Related documentation: Rhino - .NET Core vs .NET Framework

I see this topic is listed under mac. Mac only uses dotnet core so these flags will be ineffective there, and also of note flags for mac must be passed with a - rather than a /.

Sorry, the mac tag was added by the forum, seems because I am using a Mac. However, this is not a Mac problem, it happens on Windows.

I can repeat this, here is the ticket.
https://mcneel.myjetbrains.com/youtrack/issue/RH-86567/.NET-Core-and-.NET-Framework-command-line-options-not-working

1 Like

Turns out I can’t repeat this and am a numpty.

Since I can’t reproduce this can you tell me more about what is happening when you try, what sign do you have that it’s not working?

@CallumSykes did you try this on Windows? I am doing this:

  • Start Rhino
  • Use SetDotNetRuntime to set the runtime to NETCore
  • Run this in a terminal:
C:\Program Files\Rhino 8\System>rhino /netfx
  • Calling SetDotNetRuntime again shows that the runtime is still set to NETCore

Same problem vice versa. It seems the command line switches /netcore and /netfx are ignored.

Yes, I did the same as your instructions

Can you share a screenshot of this?