gpt4 book ai didi

visual-studio-2010 - 尝试使用 Windows Azure 运行我的 WorkerRole 时出现未处理的异常

转载 作者:行者123 更新时间:2023-12-03 03:15:47 24 4
gpt4 key购买 nike

我刚刚创建了我的第一个 Microsoft Azure 应用程序,我编写了一个简单的 WorkerRole 程序,该程序应该每秒在控制台上打印一条消息。运行程序时,我经常遇到以下异常:

WaWorkerHost.exe 中发生“System.InvalidCastException”类型的未处理异常其他信息:无法将透明代理强制转换为类型“Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge”。

构建成功,没有任何错误消息。我也尝试重建该项目几次,但这没有帮助......我使用的是 32 位操作系统,安装了 Azure SDK 和 Visual Studio 2010。如何解决此问题并运行我的程序而不出现此异常?

最佳答案

最新版本的 Azure SDK 不支持 support Visual Studio 2010。您可能想尝试 using新的 Visual Studio 2013 社区版。

关于visual-studio-2010 - 尝试使用 Windows Azure 运行我的 WorkerRole 时出现未处理的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27461042/

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