Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fusion 360 closes unexpectedly when AddIn is built with CLR support

1 REPLY 1
SOLVED
Reply
Message 1 of 2
vijay.shindeSLE5F
319 Views, 1 Reply

Fusion 360 closes unexpectedly when AddIn is built with CLR support

We created a sample C++ Addin in Fusion 360 and it worked properly. Message box "Hello addin" & "Stop addin" are displayed on start and stop command.

 

When we edited the Addin project setting to allow "Common Language Runtime Support (/clr)" then observed Error report when Fusion 360 is closed. This time too message box "Hello addin" & "Stop addin" are displayed on start and stop command.

 

Issue is not observed if CLR support setting is set to "No Common Language Runtime Support".

Please refer to attached screenshots.

 

The Addin project is present in default directory where it is created e.g. "%AppData%\Autodesk\Autodesk Fusion 360\API\AddIns"

Tags (4)
1 REPLY 1
Message 2 of 2

I've had some issues with CLR. I had to give up in the end. (Although I did get it to work if I hosted the CLR myself, but that was a massive hassle).

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/crash-on-fusion-shutdown-after-calling-net...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report