简体   繁体   English

WCF REST入门套件无法安装

[英]WCF REST starter kit fails to install

I just, quite anxiously, downloaded the spankin new WCF REST starter kit. 我只是很着急地下载了spankin新的WCF REST入门套件。 The installed failed. 安装失败。 Anyone else had this problem? 还有其他人有这个问题吗?

http://msdn.microsoft.com/en-us/netframework/cc950529.aspx http://msdn.microsoft.com/en-us/netframework/cc950529.aspx

Edit: The install fails during the template installation. 编辑:在模板安装过程中安装失败。 The VS JIT debugger window pops up. 弹出VS JIT调试器窗口。 Nothing else is running the PC, I am running as an admin on XP Pro, and the error occurs from either the EXE or the MSI. 没有其他任何东西正在运行PC,我正在XP Pro上以管理员身份运行,并且该错误是由于EXE或MSI发生的。

Yes, it just failed for me too. 是的,对我来说也失败了。 Got a warning about replacing an existing file during the template install, then a hard crash after I told it to continue. 在模板安装期间收到有关替换现有文件的警告,然后在我告诉我要继续操作之后发生严重崩溃。

EDIT: Just tried again - it worked. 编辑:再次尝试-它起作用。 Did 3 things different: 有3件事不同:

  • Closed all running VS2008 SP1 instances 关闭所有正在运行的VS2008 SP1实例
  • Read the install guide closer and chose to run setup.exe instead of the msi, and did "Run As Administrator" 仔细阅读安装指南,并选择运行setup.exe而不是msi,然后执行“以管理员身份运行”
  • Didn't close the MSI installer until the delayed template installer had completed. 在延迟的模板安装程序完成之前,没有关闭MSI安装程序。

Here's the Install Guide: 这是安装指南:


SYSTEM REQUIREMENTS: 系统要求:

  1. Windows Vista OR Windows Server 2008 OR Windows Server 2003 Windows Vista或Windows Server 2008或Windows Server 2003
  2. Visual Studio 2008 SP1 Visual Studio 2008 SP1

INSTALL AND USAGE STEPS: 安装和使用步骤:

  1. Before installing, remember to uninstall any versions you have installed on the machine (see the Uninstall section below for steps to uninstall). 在安装之前,请记住卸载计算机上已安装的所有版本(有关卸载步骤,请参阅下面的“卸载”部分)。

  2. Run the setup.exe in administrator mode (right click on setup.exe and select 'Run as Administrator') 在管理员模式下运行setup.exe(右键单击setup.exe并选择“以管理员身份运行”)

  3. The install process will launch a visual studio installer. 安装过程将启动Visual Studio安装程序。 Remember to click through the visual studio installer to install the templates. 请记住单击Visual Studio安装程序以安装模板。 NOTE: You may miss the vsi that is launched, so be sure to finish both the vsi and setup.exe installs to ensure that the whole install process is complete. 注意:您可能会错过启动的vsi,因此请确保完成vsi和setup.exe的安装,以确保整个安装过程完成。
  4. While running the vsi, you will get a prompt, which you can safely accept to continue. 在运行vsi时,会出现提示,您可以放心接受以继续。
  5. Once installed, build the Microsoft.ServiceModel.web project installed on your machine. 安装完成后,生成安装在计算机上的Microsoft.ServiceModel.web项目。
  6. You need to reference the Microsoft.ServiceModel.Web.dll assembly from the template generated projects, as well as from the samples. 您需要从模板生成的项目以及示例中引用Microsoft.ServiceModel.Web.dll程序集。 Please remember to verify this while using your templates and projects. 请记住在使用模板和项目时进行验证。 Note that you may also use a project reference instead. 请注意,您也可以改用项目参考。
  7. There is a solution that includes all the samples provided in the "WCF REST Starter Kit\\Samples\\WCF REST Starter Kit Samples" location. 有一个解决方案,其中包括“ WCF REST入门工具包\\示例\\ WCF REST入门工具包示例”中提供的所有示例。 This gives you a way to easily try out all the samples from one place. 这使您可以轻松地从一个地方尝试所有样本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM