- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am migrating my Revit plugin to version 2019.1 of the API, and I am struggling with the update of the deployment part in Visual Studio.
My setup project uses another project called "RegisterRevitAddin" to write/delete needed manifest files at the required locations for each installed Revit version, using the RevitAddInUtility DLL (please see this link). So as I've been doing for the last 3 or 4 years without any problem, I've changed the reference to RevitAddInUtility to use the new version, and made a few changes in my custom actions' code to support Revit 2019 manifest registration. Then I've successfully recompiled both projects and tried to execute the installer on my machine. I have the following error : "Error 1001. Unable to load file or assembly 'RevitAddInUtility, Version=19.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependancies. The specified file could not be found."
What's strange is that the DLL is correctly referenced in the "Detected dependancies" of the Setup project.
The only difference I see between 2018 and 2019 versions of the DLL is the "processorArchitecture" tag when adding the reference in the C# project : for 2018 it is "MSIL", for 2019 it is "AMD64".
Do you know if any changes have been made in this DLL ?
Do you have an idea of what it could be ?
Thanks for your help.
Solved! Go to Solution.