Contains utilities for Revit:
-
AssembliesReport - tool designed for Revit, creates a report on the dependencies used. Aimed at finding conflicts between plugins. To run it, go to Revit → Add-ins tab → External tools → AssembliesReport
-
DependenciesReport - tool for static analysis of dependency conflicts between plugins. Displays a conflict summary and optionally updates dependencies to the latest version. It works without starting Revit.
- C# 13
- .NET Framework 4.8
- .NET 8
- Desktop Development for C++ workload
Before you can build this project, you will need to install .NET, depending upon the solution file you are building. If you haven't already installed these frameworks, you can do so by visiting the following:
After installing the necessary frameworks, clone this repository to your local machine and navigate to the project directory.
We recommend JetBrains Rider as preferred IDE, since it has outstanding .NET support. If you don't have Rider installed, you can download it from here.
- Open JetBrains Rider
- Click on
File -> Open
and choose the RevitLookup.sln file to open. - In the
Solutions Configuration
drop-down menu, selectRelease R25
orDebug R25
. SuffixR25
means compiling for the Revit 2025. - After the solution loads, you can build it by clicking on
Build -> Build Solution
.
Also, you can use Visual Studio. If you don't have Visual Studio installed, download it from here.
- Open Visual Studio
- Click on
File -> Open -> Project/Solution
and locate your solution file to open. - In the
Solutions Configuration
drop-down menu, selectRelease R25
orDebug R25
. SuffixR25
means compiling for the Revit 2025. - After the solution loads, you can build it by clicking on
Build -> Build Solution
.
-
Install NUKE as a global tool. First, make sure you have NUKE installed as a global tool. You can install it using dotnet CLI:
dotnet tool install Nuke.GlobalTool --global
You only need to do this once on your machine.
-
Navigate to your project directory. Open a terminal / command prompt and navigate to your project's root directory.
-
Run the build. Once you have navigated to your project's root directory, you can run the NUKE build by calling:
Create an installer for Revit:
nuke createinstaller
Create executable tools:
nuke publish
This command will execute the NUKE build defined in your project.
Folder | Description |
---|---|
build | Nuke build system. Used to automate project builds |
install | Add-in installer, called implicitly by the Nuke build |
source | Project source code folder. Contains all solution projects |
output | Folder of generated files by the build system, such as installers |