6

How can I install Visual Studio's Web Development Server (WebDev.WebServer.exe) as a Standlone application?

So that our web designers can get the latest code from SVN, then run the MSBuild batch file to build the code, and then run a batch file to start the code using a local copy of the Web Development Server (WebDev.WebServer.exe).

Note: I do not want to have to install Visual Studio on all their machines.

EDIT: I have done as suggested below and I get this error:

Faulting application WebDev.WebServer.EXE, version 9.0.30729.1, time stamp 0x488f1aa2, faulting module KERNEL32.dll, version 6.0.6001.18215, time stamp 0x49953395, exception code 0xe0434f4d, fault offset 0x000442eb, process id 0x%9, application start time 0x%10.

balazs630
  • 2,710
  • 22
  • 42
Robs
  • 8,090
  • 6
  • 36
  • 52

3 Answers3

7

These files are required:

  • WebDev.WebHost.dll
  • WebDev.WebServer.EXE
  • WebDev.WebServer.exe.manifest

And you may need to Install WebDev.WebHost.dll in GAC.

Copy and paste this code into a .BAT file:

@SET GACUTIL="C:\Program Files\Microsoft SDKs\Windows\v6.1\bin\gacutil.exe"

Echo Installing WebDev.WebHost.dll in GAC

%GACUTIL% -if WebDev.WebHost.dll

Hope this helps someone.

Thanks

Robs
  • 8,090
  • 6
  • 36
  • 52
0
  1. Control panel
  2. Add/remove programs
  3. Right-click Microsoft Visual Studio
  4. Click 'Change'
  5. Go to the maintenance mode
  6. Click on the add/remove feature
  7. Click the download button in the new window to get multiple features
  8. Tick the "Web Development Server" and start update.
sirdank
  • 2,704
  • 2
  • 20
  • 45
0

For VS2010, you will need to copy the WebDev.WebServer20.exe and WebDev.WebServer40.exe files to a location of your choice. When they launch, they set the app domain base directory to the path you specify on the command line, so you will also need to put the WebDev.WebHost.dll and WebDev.WebHost20.dll assemblies in the GAC so they can be found.

Troy Parsons
  • 525
  • 1
  • 6
  • 11