From the course: Revit: Creating C# Plugins

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Compiling the code

Compiling the code

From the course: Revit: Creating C# Plugins

Start my 1-month free trial

Compiling the code

- [Instructor] We've now created an Add-in file to tell Revit how to load our new plugin. All we need to do next is compile the code and run the .dll, or dynamic link library file that results. A DLL file is basically all of our code compiled into a single file, containing code and data that can be run by other applications. In our case, Revit. So in this video, we'll compile our code and set it to copy to the required location so we can execute and debug our command. When we build our solution, it will result in a DLL file being output. So let's try this and see what happens. In the Build menu at the top, let's select Build Solution. Great. So the output window at the bottom of the screen displays the output from the build. And, in this case, it was a success. As it says Build 1 succeeded. If there was anything wrong with our code, Visual Studio would be sure to tell us about it in this window. And the output would fail. So it's important to check this log if anything goes wrong. You…

Contents