Search code examples
visual-studiowebdev.webserver

How to install WebDev.WebServer.exe as a Standalone application?


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.


Solution

  • 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