# Error SetDotNetRuntime

**URL:** <https://discourse.mcneel.com/t/error-setdotnetruntime/183501>\
**Category:** ShapeDiver\
**Tags:** windows, rhino8\
**Created:** [June 6, 2024, 1:27pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501 "2024-06-06T13:27:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 6, 2024, 1:27pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/1 "2024-06-06T13:27:29Z")

</div>

Hello I have an issue.

I tried to install the Shapediver plugin for Rhino8, it asked me to switch my .NET Runtime to Framework :

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/4/2/2/422758a7cc3690a46b4515c91d0d65432ada4bb3.png)  
I changed it, restarted Rhino, and it gave me an other error :  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/1/f/7/1f7faeaa6d55614d49c6849e5025231f5550efcb.jpeg)  
How can I fix this ?

Thank you for your help !

---

<div class="post-metadata">

**Author:** ![sonderskovmathias](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/sonderskovmathias/32/770597_2.png) [@sonderskovmathias](https://discourse.mcneel.com/u/sonderskovmathias)\
**Post date:** [June 6, 2024, 1:48pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/2 "2024-06-06T13:48:56Z")

</div>

Have you tried updating to the newest shape diver?

---

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 6, 2024, 2:04pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/3 "2024-06-06T14:04:34Z")

</div>

Do you mean installing the latest version of ShapeDiver ? I have tried with the version 1.17.1

---

<div class="post-metadata">

**Author:** ![mathieu1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mathieu1/32/491677_2.png) [@mathieu1](https://discourse.mcneel.com/u/mathieu1)\
**Post date:** [June 6, 2024, 2:52pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/4 "2024-06-06T14:52:18Z")

</div>

This issue is due to conflicts between .NET Core and .NET Runtime. Since the latest service release of Rhino allows to publish multi-targeted yak packages, we will release a new version of the ShapeDiver plugin early next week which should fix this issue. I will update this topic once it is released.

---

<div class="post-metadata">

**Author:** ![snabela](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/snabela/32/502261_2.png) [@snabela](https://discourse.mcneel.com/u/snabela)\
**Post date:** [June 13, 2024, 4:23pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/5 "2024-06-13T16:23:39Z")

</div>

We released version `1.17.2`, which supports both .NET Framework and .NET Core. You can switch using `SetDotnetRuntime` in Rhino 8, and both should work.

> **[Plugin - Release Notes](https://help.shapediver.com/doc/plugin-release-notes-1#PluginReleaseNotes-Version1.17.2)**
>
> Version 1.17.2 June 13th, 2024 Notable new features: The plugin package available through Rhino’s package manager now supports both .NET Framework ...

---

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 17, 2024, 7:18am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/6 "2024-06-17T07:18:40Z")

</div>

Hello and thank you for your help !

I’ve tried installing the new version of ShapeDiver you mentionned but I ran into another issue.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/c/0/6/c0660a9acb3a7638e6d213bb864de26a1b591575.png)  
 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/c/8/0c82eb1ac147fe08a773ff18452ca33baa543242.png)

I’ve tried switching to the .NET FrameWork but I stil run into the same issue as before

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/d/f/6df85a0942d482ce028300337a468feb5357ff47.png)

Then, I noticed that my first issue was similar to this issue : [Error loading shapediver plugin in grasshoper windows](https://discourse.mcneel.com/t/error-loading-shapediver-plugin-in-grasshoper-windows/183140). I found a file _AutoMapper.dll_ in an other plugin I had installed, so I uninstalled this plugin, and the installation went smoothly.  
But now I have trouble reinstalling this plugin, I’m in contact with their support as I believe this issue is on their side and not yours. But I would like to know if it’s possible to have both plugin installed on the same machine ? How should I proceed if I manage to reinstall this plugin ?

---

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 18, 2024, 9:31am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/7 "2024-06-18T09:31:57Z")

</div>

@snabela  
I have finally managed to reinstall everything but I still have the same issue : Is it possible to have both plugin installed at the same time ?

---

<div class="post-metadata">

**Author:** ![mathieu1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mathieu1/32/491677_2.png) [@mathieu1](https://discourse.mcneel.com/u/mathieu1)\
**Post date:** [June 18, 2024, 9:36am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/8 "2024-06-18T09:36:12Z")

</div>

There seems to be a conflict of dependencies between the ShapeDiver plugin and this other one. Could you let me know which plugin that is so I can test on my machine?

If you switch to .NET Framework, the error you get seems to only concern the ShapeDiver Desktop Clients plugin, but it should not affect the other standard features of ShapeDiver. In case you don’t plan to use the desktop client features, did you try to ignore the error message and use the standard ShapeDiver components anyway?

---

<div class="post-metadata">

**Author:** ![snabela](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/snabela/32/502261_2.png) [@snabela](https://discourse.mcneel.com/u/snabela)\
**Post date:** [June 18, 2024, 9:48am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/9 "2024-06-18T09:48:32Z")

</div>

@snabela please do the following: Right-click the `Automapper.dll` which comes with the other plugin, and let me know the version of it.

---

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 18, 2024, 11:09am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/10 "2024-06-18T11:09:49Z")

</div>

I’m using the Dlubal-RFEM plugin.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/0/9/009868a5a3092918353ce6192f9131fbc0555bee.png)  
I don’t know if you need a RFEM license to download the plugin, but since it appears in the Rhino Package manager I assume you will not need one.

I’ve tried both version of the .NET Framework and I have an issue in both case, if I just press _continue_ I can open Grasshopper but I don’t have access to the ShapeDiver component (The Squid plugin is installed though).

Here’s the error message if I try with the .NET framework :

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/6/7/a67538d493e054d28d39196c451d695aa347102c.jpeg)

And here’s the issue when I try with .NET Core :

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/e/4/1/e4113927e92a4b4f3f72af7e798d22043a1066b9.jpeg)

Hope that helps you

---

<div class="post-metadata">

**Author:** ![Loïc2](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lo%C3%AFc2/32/671290_2.png) [@Loïc2](https://discourse.mcneel.com/u/Lo%C3%AFc2)\
**Post date:** [June 18, 2024, 11:12am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/11 "2024-06-18T11:12:51Z")

</div>

Is this what you need ?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/a/4/8/a4851a71b0ce0bad09ee9d853bfc56fe1ba03c69.png)

---

<div class="post-metadata">

**Author:** ![mathieu1](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/mathieu1/32/491677_2.png) [@mathieu1](https://discourse.mcneel.com/u/mathieu1)\
**Post date:** [June 20, 2024, 4:20pm UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/12 "2024-06-20T16:20:39Z")

</div>

Due to compability issues, the ShapeDiver plugin is using an older version of this dll, which is why there is a conflict between the two plugins. Our plugin might stop using this dependency in the future, at which point it will be possible again. However, at the moment, it will not be possible to use these two plugins at the same time in a definition.

---

<div class="post-metadata">

**Author:** ![snabela](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/snabela/32/502261_2.png) [@snabela](https://discourse.mcneel.com/u/snabela)\
**Post date:** [January 15, 2025, 10:49am UTC](https://discourse.mcneel.com/t/error-setdotnetruntime/183501/13 "2025-01-15T10:49:39Z")

</div>

Please see this update, we have removed AutoMapper from our plugin in version 1.22

> [@Error loading ShapeDiver](https://discourse.mcneel.com/t/error-loading-shapediver/167458/12):
>
> We removed the dependency to AutoMapper in release 1.22 of our plugin. Everyone who ran into the problem described in this thread, please try again.
