I have tried to set the Target in the MSBuild action to 'Release|Any CPU' (without the quote) but when I run the action, it errors with:
C:\SVN\Dev\EnterpriseManager\EnterpriseManager.sln : error MSB4057: The target "Release|Any CPU" does not exist in the project.
I've tried just using 'Release' but that doesn't work. This is a VS 2005 C# solution and all the configuations in the projects are set to 'Release|Any CPU'.
We are evaluating this product and so far it has been great to work with but I really need to be able to produce a release version rather than a debug version.
Hi Charles,
On the Project Properties tab of the MS Build action, you can set the Configuration property to whichever config you wish to build (Release, Debug etc).
You may also want to look the Build VS.NET Solution action - it’s a bit more flexible and easier to configure than MS Build. So long as you tick the ‘Use MSBuild’ option you don’t need to have VS.NET installed on the build machine.
Hope that helps,
Ben
Ben,
Thanks. Works just fine. I will look at the VS.NET Solution action to see if it more closely matches what we need.
Charles