Can you use PREFast from within msbuild?
Background: We are currently using PREFast and we would like to move our current build process to msbuild, however, I'm being told by our build team that the only version of PREFast that will work with msbuild is the one that comes with Team Edition (which
we currently don't have) therefore they are concern about moving to msbuild.
The build team's assessment sound wrong, if msbuild don't support it natively can't we just create a new msbuild Task that just calls PREFast? Or is there something to our build teams claims?
Thanks in advance. ![]()
-
-
kaboo wrote:
Can you use PREFast from within msbuild?
Background: We are currently using PREFast and we would like to move our current build process to msbuild, however, I'm being told by our build team that the only version of PREFast that will work with msbuild is the one that comes with Team Edition (which we currently don't have) therefore they are concern about moving to msbuild.
The build team's assessment sound wrong, if msbuild don't support it natively can't we just create a new msbuild Task that just calls PREFast? Or is there something to our build teams claims?
Thanks in advance.
You can call any command line tool using the EXEC task. Of course a custom task that captures the output and errors correcly would ne "nicer".
I can't see why simply using exec isn't possible.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.