Problem building a Setup project

I'm working on a tool to simplify an application's deployment. Hence I'm aiming to automate the build of the setup project.

The Situation: When I use Visual Studio to build the setup project this, creates the msi and exe files and concludes successfully. The problem occurs when I run a command in the command prompt, I keep getting this error "ERROR: Cannot find outputs of project output group '(unable to determine name)'"

The command for the command prompt is:

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv "C:\Project's Directory\Project.Setup.vdproj" /Build

Can anyone help me with it. I'm really stuck.


EDIT: The solution to my problem was to create a solution which contains the setup project and the project which is actually the output project of the setup project.

C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv "C:\Project's Directory\Project.Setup.sln" /Build

Thanks to everyone.

Answers


You can't do this.

The issue is that you have defined your inputs to the setup project as outputs from the other projects in the solution. You have to build the entire solution to use this method.

You can do this but you have to manually link all the files you want into your setup project. It is a bit more tricky but just as doable.


Need Your Help

IndexOutOfRange exception in multithreaded program

c# multithreading exception indexoutofboundsexception

I am not really comfortable with multi threaded programming and while I was trying to implement it in my code, was running into an exception which I am not able to figure out why. Any help in this ...

2 Dimensional Array not Printing Expected Answer

c arrays

When I iterate through the 2D array elements to display each int, I get a string of digits. I have tried a number of different things to fix it but I figure it is something small I am overlooking w...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.