Cannot find RevitUIAPI.dll even after adding to vs studio references in project

Cannot find RevitUIAPI.dll even after adding to vs studio references in project

ryan_chesnut
Participant Participant
463 Views
2 Replies
Message 1 of 3

Cannot find RevitUIAPI.dll even after adding to vs studio references in project

ryan_chesnut
Participant
Participant

Having an issue accessing the RevitUIAPI.dll in code. RevitAPI.dll 

See code screenshot. Using Revit 2025 and .NET8.0

 

ryan_chesnut_0-1712842397160.png

 

0 Likes
Accepted solutions (1)
464 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

Have you installed Revit on your local system? I suggest that you add the references to the Revit API assembly DLL manually and browse to their location in the same directory as Revit.exe itself in the Visual Studio  UI. Also, make sure to set their Copy Local flag to false.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

ryan_chesnut
Participant
Participant

Got it sorted, took a couple add and remove references 

 

Thanks for the quick responses here. Getting acclimated to the development process.

0 Likes