Does anyone know How to build a VS2005 setup project in FB ? (I can run an executable)
Thanks Daphna
Hi Daphna,
To build a setup project you will need to use the ‘Build Vs.Net Solution’ action, ensuring that ‘Use MSBuild’ is not checked. The reason why we can’t use Msbuild is because deployment projects are not actually supported by MsBuild.
Also depending on your solution configuration, you may also need to select the deployment project under the ‘Apply to Project’ section.
Regards,
Paul.
Hi
thanks for the reply, but the project is with the extension of : *.vdproj (type Visual Studio Deployment Project ), so that I can't even open it with the Buils VS.Net Solution, because this expects the extension of *.sln . That is why I thought maybe it can be done using an " Execute Program" action. Has anyone done this?
Daphna
Hi Daphna,
I made the assumption that the project was part of a VS2005 Solution, my mistake.
You are correct in thinking you will need to use the execute program action.
The program file to execute is DevEnv.exe which is located in Program File\Microsoft Visual Studio 8\Common7\IDE\Devenv.exe.
The paremeters are: %ProjectFile% /Project %ProjectName% /Build (for example ‘Setup1.vdproj /Project Setup1 /Build’).
Set the start in folder to the folder containing the .vdproj file.
Paul.
Thanks alot, it worked!!!
Daphna