I am trying to convert a solution from VS.NET 2008 in 2010. The solution includes a Windows service project and an installation project that installs a Windows service. I am having trouble compiling an installation project. I tried to start this from scratch several times, following the tutorial here in the section under the heading To create an installation project for your service .
When I just follow these steps and build the project, I get this error:
Unable to build custom action named 'Primary output from <name> (Release x86)', InstallerClass property is only valid for assemblies.
(where is the name of my windows service project). Finding this error calls this page on MSDN, which tells me to set InstallerClass to False . I do this for each of 4 user actions. After making changes and creating, I get the following error:
Unable to build custom action named 'Primary output from <name> (Release x86)' from project output group 'Primary output' because the project output group does not have a key file.
Googling for this, I only get hit . Do not even click on the link, the full text: "Delete the user action and replace it with a special action that points to the project output group in which there is a key file."
What does it mean? Can someone help me figure out what I'm doing wrong here?
brian source share