So the last version of Visual Studio that built MSI installers is 2010
I was using 2010 to build an installer for a 2012 Service
The MSI files were created, and they did copy the EXE files
However, the service install dialog did not occur
I did not do a step that I needed to do
On the menu for the installer project, there is a gear button
It allows you to invoke a custom action for each of the 4 states of an installer
(Install, Repair, Commit, Uninstall)
I had to add the service exe to each of those steps
Once I did that, voila, the service did what using installutil does on a development machine
Problem solved
Monday, April 13, 2015
Wednesday, February 4, 2015
The thing I always forget to reformat my c# code
Visual Studio WITH C# KEY BINDINGS
To answer the specific question, in C# you are likely to be using the C# keyboard mapping scheme, which will use these hotkeys by default:
Ctrl+E, Ctrl+D to format the entire document.
Ctrl+E, Ctrl+F to format the selection.
You can change these in Tools > Options > Environment -> Keyboard (either by selecting a different "keyboard mapping scheme", or binding individual keys to the commands "Edit.FormatDocument" and "Edit.FormatSelection").
If you have not chosen to use the C# keyboard mapping scheme, then you may find the key shortcuts are different. For example, if you are not using the C# bindings, the keys are likely to be:
Ctrl + K + D (Entire document)
Ctrl + K + F (Selection only)
To find out which key bindings apply in YOUR copy of Visual Studio, look in the Edit > Advanced menu - the keys are displayed to the right of the menu items, so it's easy to discover what they are on your system.
Subscribe to:
Comments (Atom)