Hi !
I working on a add-in for revit.
I installed the SDK and I have got Visual Studio 2015 and 2017.
I followed "Getting Started for Extensions SDK", so i copy past the folder from "..\Software Development Kit\REX SDK\Visual Studio templates\items\" to "C:\Users\<current user>\Documents\Visual Studio 2015\Templates\ItemTemplates\Visual C#\" and same for Project.
When i want to create my project, i see the revit extension WPF/Form.
But when I want to process, i got a error message :
"Error : this template attempted to load component assembly 'Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=<a code i don't know if i can put>'. For more information on this problem and how to enable this tempalte, please see documentation on Customizing Project Template.
Can you help me to fix it out ?
Best Regards,
Please hang on... I asked the Revit Structure API and REX experts to take a look at your question.
Cheers,
Jeremy
Sorry that they have not responded yet. I re-prompted for an answer...
They now replied:
I tried to reproduce the problem with Revit 2018, Revit 2018 SDK and unfortunately it works correctly.
I need more information from the customer.
Which version of Revit the customer has installed and which version of SDK he has?
The Autodesk.REX.Framework should be installed in GAC with Revit.
C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Autodesk.REX.Framework\v4.0_2018.0.0.0__51e16e3b26b42eda
Cheers,
Jeremy
Hi !
I have revit 2019
The SDK has been setup with the revit setup
I have the dll AutoDesk.Rex.Framework on C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Autodesk.REX.Framework\v4.0_2018.0.0.0__51e16e3b26b42eda
Regards,
Maxence
Thank you for the details. I passed them on.
Something else,
I followed this walkthrough http://help.autodesk.com/view/RVT/2019/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_G...
I followed all the step, third times on tree different computer, i don't get error, but i don't have the "external button" in Add In tab...
What's wrong with my configuration ?
I'm out of solution...
Your new question has been discussed many times previously in many variations.
Search the forum for an answer.
On the REX SDK for Revit 2019, please refer to this new blog post that I published, just for you:
Cheers,
Jeremy
Super, i don't get the error when creating project with the template now.
I didn't go further, i gonne make more test next week and keep you update
Thank you !
Regards,
Maxence
Hello,
Somes fresh news,
I created the project, and modifie the Run methode in the ExtensionsRevit.cs, but when i rebuild the solution, i got those compilating error :
What can i do ?
Regards
So... i'm an idiot..
I just changed the targeted framework and only left 2 Warning, about missmatch between the processor, but i think i sew how to resolve that in one of your post.
Keep going 🙂
Hey @jeremytammik
We are getting the same problem with the version 2020 of the sdk as we got for the version 2019.
Can you check ?
Thanks,
Maxence
No, sorry, I cannot check, since I do not know exactly what you are talking about.
Please describe in detail what you are doing and what behaviour you observe.
Sorry, the button reply dont work as I thought it does.
So, we have the same problem as the first post of this thread :
We got the sdk 2020 and when we use the template to create de new project, we are getting this error :
"Error : this template attempted to load component assembly 'Autodesk.REX.Framework, Version=2018.0.0.0, Culture=neutral, PublicKeyToken=<a code i don't know if i can put>'. For more information on this problem and how to enable this tempalte, please see documentation on Customizing Project Template.
We got the same problem when we got the sdk 2019, and you helped me through :
Regards,
Thank you for the explanation.
Okey-doke, I asked the development team for you.
Best regards,
Jeremy
Thank you for the prompt.
Nothing new yet, so I re-prompted the developer team as well.
Has this issue been resolved for the 2020 SDK?
I'm getting virtually the same error message as m.degraux. Using Revit 2020 and VS 2017.
The only difference is, my error message states 'Version=2019.0.0.0' while m.degraux's refers to 2018.