gpt4 book ai didi

.net - 在脱机 Windows Server 2012 R2 上运行 Azure csrun 时出错

转载 作者:行者123 更新时间:2023-12-02 07:29:04 26 4
gpt4 key购买 nike

我在尝试在脱机 Windows Server 2012 R2 上执行 csrun 时遇到问题。

我已经安装了 Microsoft .NET Framework 4.6.1 SDK、Azure SDK ( https://www.microsoft.com/en-us/download/details.aspx?id=51657 ) 以及 localDB 和 IISExpress 10 的离线更新。我尚未安装任何 Visual Studio 实例。

Azure 计算和存储模拟器正在运行。我尝试使用 Azure 命令提示符启动上传到 Server 2012 R2 的项目。因此,我移动到命令提示符中的项目文件夹(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 Framework 版本,模拟器也必须足够新才能使用它。您可以下载最新版本的模拟器here .

关于.net - 在脱机 Windows Server 2012 R2 上运行 Azure csrun 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42557970/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com