Build Events to Debug Revit while using Rider or Visual Studio

In this video, I go through the process of setting up build events inside a Rider and Visual Studio with the purpose of launching and debugging Revit from each IDE. Even though the process is similar for both IDEs, there are slight variations that need to take place for each of the respective software. Additionally, I go through some command line code that enables you to add a directory to your Revit add-ins folder for your DLLs, along with other items you may wish to add to this directory so as not to fill your Revit add-in folder with extra entries that are needed for Revit to launch your plugin.

Link to Microsoft xcopy documentation:

Link to Creating C# Plugins:

Source