How to get command line of custom build rule through automation?  
Author Message
Vadim G





PostPosted: Visual C# IDE, How to get command line of custom build rule through automation? Top

Hi,

How to get custom build rule command line For regular tools (like VCCompiler or VCLinker) method get_CommandLine returns normal expanded command line. For custom build rule (MASM in my example) the code below will return the following:

ml.exe /c [AllOptions] [AdditionalOptions] /Ta[inputs]

But I need to get usable command line. For example:

ml.exe /c /nologo /Fo"Debug\my.obj" /W3 /Zi /errorReport:prompt /Ta

Thanks in advance,

Vadim G.


Visual C#12