Tech Off Thread

2 posts

msbuild and PREFast...

Back to Forum: Tech Off
  • User profile image
    kaboo

    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. Smiley

  • User profile image
    blowdart

    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.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.