Command Line Parameters in VS Runner /Verbosity

I've struggled with this for hours and i haven't figured it out.

The "Visual Studio (sln)" runner has a field that says "Command line parameters:" with the help description of "Enter additional command line parameters to MSBuild.exe"... Great!  So i look up the MSDN docs on MSBuild....

http://msdn.microsoft.com/en-us/library/ms164311.aspx

... and it shows "/verbosity:normal" as an option i can pass to get a little more info in the output log.  I tried...

/verbosity:normal
/verbosity:n
/v:normal
/v:n

... none of these seem to change the build log in any way.

So i tired another command line parameter..

/fileLogger

... and that one works!

So what is going on here?  Is TeamCity disallowing some command line parameters and allowing others?  Is there some other "trick" to get this to work?

1 comment
Comment actions Permalink

is there any reason why you are using the VisualStudio build runner? if not you can change to the msbuild runner (.sln runs from msbuild) and then pass in the parameters as normal

here is the setup i have just tried:

Capture.GIF
this gave me a hugely different output when i changes the /v:diag to /v:q

try it and see

paul

0

Please sign in to leave a comment.