Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit 2015 error when trying to use with C# express

0 REPLIES 0
Reply
Message 1 of 1
gkovid1
272 Views, 0 Replies

Revit 2015 error when trying to use with C# express

I'm new to Revit and am trying to learn how I can use programming with Revit. I went to the tutorial webpage and tried the first one out, but I keep getting error such as :

 

Error 8 The type or namespace name 'Autodesk' could not be found (are you missing a using directive or an assembly reference?) C:\test\RevitDevTv\RevitDevTv\Class1.cs 6 7 RevitDevTv

Error 12 The type or namespace name 'Transaction' could not be found (are you missing a using directive or an assembly reference?) C:\test\RevitDevTv\RevitDevTv\Class1.cs 13 6 RevitDevTv

Error 16 The type or namespace name 'IExternalCommand' could not be found (are you missing a using directive or an assembly reference?) C:\test\RevitDevTv\RevitDevTv\Class1.cs 16 27 RevitDevTv

 

These were just a few. I did add the references of RevitAPI.dll and RevitAPIUI.dll as well and set their Copy Local value to false.

 

Any help would be greatly appreciated 🙂

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report