我将VisualStudio 2013.4与Azure .NET SDK 2.5一起使用:
云服务无法在模拟器中启动:
[fabric] Role Instance: deployment25(22).AzureCloudService2.WorkerRole1.0 [fabric] Role state Unhealthy [runtime] Role entrypoint . CALLING OnStart(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . COMPLETED OnStart(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . CALLING Run(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . COMPLETED Run() ==> ROLE RECYCLING INITIATED: Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role instance recycling is starting [runtime] Role entrypoint . CALLING OnStop(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . CALLING OnStopping() [runtime] Role entrypoint . COMPLETED OnStop(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . CALLING OnStart(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . COMPLETED OnStart(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . CALLING Run(): Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role entrypoint . COMPLETED Run() ==> ROLE RECYCLING INITIATED: Microsoft.WindowsAzure.ServiceRuntime.DefaultEntryPoint [runtime] Role instance recycling is starting ... [fabric] Role state Unhealthy [fabric] Role state Suspended [fabric] Role state Busy [fabric] Role state Unhealthy [fabric] Role state Suspended ...
它就像C#Worker Role的魅力一样。
请事先提供帮助
DED'
答案 0 :(得分:0)
您可能需要手动将FSharp.Core与工作项目捆绑在一起(确保CopyLocal为true)或使用FSharp.Core nuget包。
我已经通过完全部署看到了这一点,但不一定是仿真器。
您使用的是哪个版本的Azure SDK / Emulator(和Visual Studio)?
答案 1 :(得分:0)
这是F#模板的一个已知问题,希望在下周左右更新。