MSBuild parameters for solution runner?

I would like to be able to pass parameters to MSBuild for the solution runner, but I don't see anywhere to do that. I am testing out the new FxCop plugin, but I need to pass a conditional constant so that my assembly builds with the SuppressMessage attributes (http://blogs.msdn.com/fxcop/archive/2006/03/23/faq-why-does-fxcop-ignore-my-in-code-suppressmessageattribute-suppressions-david-kean.aspx). So, if I was doing this from the command line, I would do:

msbuild /p:DefineConstants=CODE_ANALYSIS

I know that I can setup my build with the MSBuild runner and have the FxCop runner depend on that, but the solution runner is easy to use -- particularly with NUnit. So, am I missing something or should I open an issue?

1 comment
Comment actions Permalink

The question perhaps no longer relevant. If it's not please leave a comment or create a separate thread.

Kind regards,
Marina
0

Please sign in to leave a comment.