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 🙂