Just tried to run an application via the following:
I have browsed to the directory with an app WindowsService1.exe
in it, then tried the command Installutil WindowsService1.exe
but got the following error...
As VS has only been installed for a day or two I'm worried that something may be wrong with that install as it should recognise installutil.
Are there some basic diagnostics I can perform to ensure that VS Command Prompt is finding all the programs that it should ?
EDIT
If i run PATH
in the command prompt I see the following:
open visual studio command prompt in admin mode i.e., right click on vs command prompt and run as administrator
InstallUtil.exe is typically found under one of the versions listed under C:\Windows\Microsoft.NET\Framework.
In my case it is under v4.0.30319.
You could just check your path:
echo %PATH%
should give you a list of directories searched for executables.
Unless you've modified your path, the following should be available in developer command prompt and not cmd:
... etc
If those aren't available you may have a corrupted install.