I'm trying to follow this walk-through:
Hosting a WCF in a Windows Service
Up to this step:
Step 6: Install the Windows Service In this step, you install the Windows service and run it from the Services console.
- Rebuild the solution and open a Visual Studio command prompt.
- Browse to the bin directory of the project where WindowsService1.exe is located.
- Run the following command to install the service:
Installutil WindowsService1.exe
I've never used the Visual Studio Command Prompt before. How do I do number 2 Browse to the bin directory of the project where WindowsService1.exe is located?
What do I type in after the >
?
Using normal command line syntax, like cd
, doesn't work, so how do I browse
to a location using this tool? For example, if I type this into the Command Window cd "C:\"
it returns Command "cd" is not valid.
Hmmm, I have found something ... Visual Studio Command Aliases (MSDN).