int main() {
Callback callback;
// Be careful with lifetime management. `caller` must not outlast `callback`
Caller caller(std::ref(callback));
caller.print("Hello");
caller.print("World");
callback.printEverything();
}
无论我怎么做,只要尝试在Azure功能项目中调用Cloud Service,就会出现此错误。我可以在项目内的bin目录中看到Microsoft.WindowsAzure.Storage.dll文件。我也看到里面的dll
[15/03/2018 11:03:14 PM] Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=8.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
[15/03/2018 11:03:14 PM] at Tux.Workers.RollCall.Azure.AzureTable.<Init>d__1.MoveNext()
[15/03/2018 11:03:14 PM] at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
[15/03/2018 11:03:14 PM] at Tux.Workers.RollCall.Azure.AzureTable.Init(String tableName)
[15/03/2018 11:03:14 PM] at Tux.Workers.RollCall.Function1.<Run>d__0.MoveNext()
[15/03/2018 11:03:14 PM] Function completed (Success, Id=438dae86-18a8-4c85-b121-3918e2307ca4, Duration=122ms)
[15/03/2018 11:03:14 PM] Executed 'Function1' (Succeeded, Id=438dae86-18a8-4c85-b121-3918e2307ca4)
当我创建一个基本的控制台应用程序时,我可以调用云来获取表引用。
如果我只是在本地运行项目,是否需要在门户上配置一些东西?