如何将WebDev.WebServer.exe安装为独立应用程序? [英] How to install WebDev.WebServer.exe as a Standalone application?
问题描述
如何将Visual Studio的Web开发服务器(WebDev.WebServer.exe)安装为独立应用程序?
How can I install Visual Studio's Web Development Server (WebDev.WebServer.exe) as a Standlone application?
以便我们的Web设计人员可以从SVN获取最新代码,然后运行MSBuild批处理文件来构建代码,然后运行批处理文件以使用Web开发服务器(WebDev.WebServer的本地副本)启动代码. .exe).
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).
注意:我不不想在他们的所有计算机上安装Visual Studio.
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:
故障处理应用程序 WebDev.WebServer.EXE,版本 9.0.30729.1,时间戳记0x488f1aa2,故障模块KERNEL32.dll,版本 6.0.6001.18215,时间戳0x49953395,异常代码0xe0434f4d,故障 偏移量0x000442eb,进程ID 0x%9, 应用程序开始时间为0x%10.
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.
推荐答案
这些文件是必需的:
- WebDev.WebHost.dll
- WebDev.WebServer.EXE
- WebDev.WebServer.exe.manifest
您可能需要在GAC中安装WebDev.WebHost.dll.
And you may need to Install WebDev.WebHost.dll in GAC.
将此代码复制并粘贴到.BAT文件中:
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
希望这对某人有帮助.
谢谢
这篇关于如何将WebDev.WebServer.exe安装为独立应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!