Addin Manager - Load Failed

Addin Manager - Load Failed

Maltezc
Advocate Advocate
3,196 Views
5 Replies
Message 1 of 6

Addin Manager - Load Failed

Maltezc
Advocate
Advocate

Hi all, I'm trying to get the addin manager working and I've found the files for the add-in manager here:

 

https://forums.autodesk.com/t5/revit-api-forum/revit-2020-addin-manager-missing/td-p/8774075

 

and loaded them into my 2018 add-ins folder. 

 

When I downloaded the Revit 2018 SDK from C:\Autodesk\Revit_2018_G1_Win_64bit_dlm\Utilities\SDK, The add-in manager comes without a .addin file. Not too sure why. 

 

Anyways, I've followed the instructions on this video

 

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/screencast/Main/Details/f62...

 

however, when I try to load a simple helloWorld.dll, I get "load failed: path/of/dll" in the notes. 

Screen Shot 2021-04-09 at 12.19.03 PM.png

 

Does anyone know how to fix this or can point me in the right direction or how to get this working?

 

For the ability to not have to shut down Revit every time I've made an adjustment to my plug-in, I'm surprised there isn't more documentation on this. This would be a huge time saver to get this working.

0 Likes
Accepted solutions (1)
3,197 Views
5 Replies
Replies (5)
Message 2 of 6

franciscopossetto
Advocate
Advocate

Hey,

 

Not sure what the problem is. But I would try with other file first, just to discard that the file is not the problem. I guess it will fail too. Then I would try with other add-in manager version.

 

Which Revit version are you using?

Github:
https://github.com/franpossetto
0 Likes
Message 3 of 6

Maltezc
Advocate
Advocate

I replaced my addin manager files with your .rar contents on Revit 2018 and Revit 2020(Thank you by the way!). Both of them got the same result as the "Load Failed" as mentioned above. 

 

i'm trying it on version 20.2.30.42 20200826_1250(x64) 2020.2.3

 

I saw a couple of youtube videos of people using it and it seems to just work without error. 

 

I haven't seen any other posts about getting "Load Failed."

 

Any other ideas?

 

0 Likes
Message 4 of 6

franciscopossetto
Advocate
Advocate
Accepted solution

Hey,

 

I've attached another HelloWorld.dll, try with this one, only to make sure that your helloWorld.dll is not the problem.

 

Also, I would try moving the file to another path, different to the one you are using, for example on:

C:\Users\yourUser\AppData\Roaming\Autodesk\Revit\Addins\revitVersion

 

I hope it helps,

Kind regards.

Github:
https://github.com/franpossetto
0 Likes
Message 5 of 6

Maltezc
Advocate
Advocate

I got it working! turns out the issue was a pretty simple one. When i was trying to load, i was loading from the addin's debug folder instead of where all of my addins and were. Once i loaded the dll from the "C:\Users\username\AppData\Roaming\Autodesk\Revit\Addins\2018" path. it seemed to work.

 

Thank you for the help!

0 Likes
Message 6 of 6

arghavan.A
Advocate
Advocate

Hi, 

I also get a load:failed error. First, I changed the .dll location to C:\Users\yourUser\AppData\Roaming\Autodesk\Revit\Addins\2022. but still got the error.

Then, I tried the hello world file and it worked. In the helooworld zip file, there are two files. One that is .dll and the other is .addin; do we need both of these files types for a successful load? because I only have .dll.

If not, do you know how can I fix the .dll file?

0 Likes