Hello world app not working

Hello world app not working

ryan_chesnut
Participant Participant
491 Views
3 Replies
Message 1 of 4

Hello world app not working

ryan_chesnut
Participant
Participant

I am new to Revit addins, not to coding. I have gone through just about every tutorial and forum I could find, and have not discovered a solution. 

 

My HelloWorld.dll builds fine and Revit opens with no error. However, when I go to execute the addin, I get a ClassPath not found error. I am suspecting there is a 2024 Revit version mismatch with DotNet version 8. I have recreated this app about 3 times from scratch, and always the same error. 

 

Screenshot 2024-04-10 152433.png

 

I am using <namespace>.<classname> in my manifest and have implemented the IExternalCommand interface. No code errors.

 

 

Screenshot 2024-04-10 152728.png

 

Screenshot 2024-04-10 152815.png

 

Revit 2024

DotNet version 8 

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

jeremy_tammik
Alumni
Alumni
Accepted solution

A Revit 2024 add-in must use the .NET framework 4.8. (Revit 2025 add-ins use .NET Core 8.) Check out the Revit 2024 development requirements here:

  

  

 

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

ryan_chesnut
Participant
Participant

Let me give that a whirl. Thanks for the quick response.

0 Likes
Message 4 of 4

ryan_chesnut
Participant
Participant

Good to go!

0 Likes