Tech Off Thread

2 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

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.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.