WinForms FAQ - Macros

Find answers for the most frequently asked questions
Expand All Collapse All

Yes. You just use the following syntax:


devenv.exe {Solution Name} /command {Macro name}

Example:


devenv.exe 'myproject.sln' /command 'Macros.Syncfusion.Utils.FormatProjectAndClose' 

Dev studio will start up, load the solution, run the macro and then terminate.

Be sure to check that devenv.exe is available from your command line. Normally, you just have to run VSVARS32.bat to ensure this if you do not already have this in your path.

Permalink

Share with

Couldn't find the FAQs you're looking for?

Please submit your question and answer.