• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 791
  • Last Modified:

Visual Studio 2010, Setup and Deployement. Service installer primary output is not visible in custom action editor.

I have compiled a VC++ service installer, this installs a windows service. On the project its configuration is set to Active(Debug), I'm able to view its Primary Output (Service1) to add it as part of the Custom Action Editor under Setup and Deplyment project.
If I changed the Service1 project to Active(Release) I cannot longer view its Primary Output (Service1) under the Add Custom Action. But yet I'm able to Add --> Project Output the Primary Output (Service1).

why I cannot view Primary output from Service1 in Release mode under Add Custom Action..

Note: i have other projects that are C# programs and one VC++ program to handle windows service.


Thanks
0
carlostriassi
Asked:
carlostriassi
1 Solution
 
Miguel OzSoftware EngineerCommented:
You need to add the primary output in every project configuration you are planning to use.
In your case you have to add to debug and release configuration.

Disclaimer: That is the way VS works, they are trying to be "flexible" in case you need different values for different configurations.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now