Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug Revit 2025 pluggin on visual studio 2025.

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
pmeigneux
286 Views, 3 Replies

Debug Revit 2025 pluggin on visual studio 2025.

hi,

It is no longer possible to give the name of an executable to debug a Revit plugin. Do you have a solution ?

 

pmeigneux_0-1715711642305.png

Philippe.

 

3 REPLIES 3
Message 2 of 4
pmeigneux
in reply to: pmeigneux

Sorry, visual studio 2022..

Message 3 of 4
Moustafa_K
in reply to: pmeigneux

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

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
Message 4 of 4
nice3point
in reply to: pmeigneux

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>

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Customer Advisory Groups


Rail Community