我在看服务织物网。到目前为止,已经构建了一个ASP.netcoreapi应用程序-运行良好。
现在,我正在尝试在新项目中添加一个(计划的)参与者,如中所述
this tutorial
private static void Main()
{
try
{
ActorRuntime.RegisterActorAsync<SchedulingActor>((context, actorType) => new SchedulingActorService<ISchedulingActor>(context, actorType)).Wait();
}
catch
{
throw;
}
}
System.TypeInitializationException: 'The type initializer for 'Microsoft.ServiceFabric.Actors.Runtime.ActorRuntime' threw an exception.'
InnerException: DllNotFoundException: Unable to load DLL 'FabricRuntime.dll' or one of its dependencies: The specified module could not be found.