Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
It is no longer possible to give the name of an executable to debug a Revit plugin. Do you have a solution ?
Philippe.
Solved! Go to Solution.
hi,
It is no longer possible to give the name of an executable to debug a Revit plugin. Do you have a solution ?
Philippe.
Solved! Go to Solution.
yep, you need to do it manually. When you create this Debug Profile you will see a new file created named "launchSettings,json" under Properties folder in the solution explorer. compare what you have with this one below, or even you can replace it all with the correct folder path to the Revit.exe file
{
"profiles": {
"Revit2025": {
"commandName": "Executable",
"executablePath": "C:\\Program Files\\Autodesk\\Revit 2025\\Revit.exe",
"commandLineArgs": "/language ENU"
}
}
}
see if this helps
Paste it in the .csproj file
<PropertyGroup>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Autodesk\Revit 2025\Revit.exe</StartProgram>
<StartArguments>/language ENG</StartArguments>
</PropertyGroup>
For anyone else running into this, the simpler solution is to delete the profile (Impararia.RevitImport in the screenshot) and create a new profile of type Executable (instead of Project). No need to mess with the config files.