在脱机的Windows Server 2012 R2运行Azure的csrun时出错

问题描述 投票:2回答:1

试图脱机的Windows Server 2012 R2上执行csrun时,我遇到了一个问题。

我已经安装了Microsoft .NET框架4.6.1 SDK的离线更新,以及Azure的SDK(https://www.microsoft.com/en-us/download/details.aspx?id=51657),并且还和的LocalDB 10 IISExpress我还没有安装Visual Studio的任何实例。

Azure的计算和存储仿真器正在运行。我试图启动一个项目,我上传到服务器2012 R2与Azure的命令提示符。因此,我移动到命令提示符项目文件夹,其中CSX文件所在,并执行以下命令:

csrun csx\debug ServiceConfiguration.local.cscfg /useiisexpress

有下列错误抛出:

Error : .NET Framework v4.6.1 is requested by the application but is not found on this computer.
Error : .NET Framework v4.6.1 is requested by the application but is not found on this computer.
Error : .NET Framework v4.6.1 is requested by the application but is not found on this computer.
Error when creating deployment. Exception details: Microsoft.ServiceHosting.Tools.DevelopmentFabric.DevFabricException: The system is missing a prerequisite to execute the service. ---> Microsoft.ServiceHosting.Tools.DevelopmentFabric.DevFabricException: Please see the release notes.

该错误后,我已经下载了一个程序,检查.NET版本的安装位置是什么。它表明,正如所料,该版本4.6.1安装在服务器上。这里的版本的截图:.NetVerions

我希望你能帮助我解决这个错误。

最好的问候,大卫

.net azure windows-server-2012-r2 .net-4.6.1
1个回答
0
投票

我们就遇到了这个问题,解决的办法是升级安装在机器上的计算模拟器的版本。即使安装在机器上正确的.NET Framework版本,仿真器必须足够新的使用它。您可以下载最新版本的模拟器here的。

© www.soinside.com 2019 - 2024. All rights reserved.