• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 800
  • 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.

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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

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