Apps in different versions of Revit

Apps in different versions of Revit

landis.mark
Contributor Contributor
434 Views
4 Replies
Message 1 of 5

Apps in different versions of Revit

landis.mark
Contributor
Contributor

I have developed my app in Revit 20222, using Visual Studio 2022. It installs and works in Revit 2019-2022, but not 2023. I deleted the reverences to RevitAPI and RevitAPIUI.dlls from my solution explorer and added them back from the 2023 folder. That didn't change anything. Is there something I need to do to get it to build and launch 2023 during debugging? and of course install into 2023?

 

Thanks for any help.

0 Likes
435 Views
4 Replies
Replies (4)
Message 2 of 5

zhuliyi0
Enthusiast
Enthusiast

which step did you get stuck? Build? Loading into Revit? Any error message? Please provide more specific info.

0 Likes
Message 3 of 5

landis.mark
Contributor
Contributor

I found the setting in Visual Studio to get the debug to start Revit 2023. Now my app doesn’t install when starting debug.

I installed App store build of .msi file on a clean machine. The results were the same on Revit versions 2018-2020. The do you want to install warning to install pops up and It installed my Tab and panels. No buttons on the panels. In 2023 it doesn’t install any Tabs or Panels.

0 Likes
Message 4 of 5

zhuliyi0
Enthusiast
Enthusiast

Did you place your .addin file inside 2023's addin folder? That folder should be:

 

C:\ProgramData\Autodesk\Revit\Addins\2023

0 Likes
Message 5 of 5

landis.mark
Contributor
Contributor

This did solve my problem. I am still trying to work thru the installation from the app store .msi file. 

 

Thanks

0 Likes