Closed xrkraken closed 4 years ago
<Exec Command=""$(Orleans_DotNetHost)" "$(Orleans_GeneratorAssembly)" SourceToSource "$(Orleans_ArgsFile)"" Outputs="$(Orleans_OutputFileName)" />
"ClassName": "System.ArgumentException", "Message": "Cannot find an implementation class for grain interface: SCCM.Interface.DeviceCloud.IDeviceCloud. Make sure the grain assembly was correctly deployed and loaded in the silo.",
public class DeviceCloudGrains : IDeviceCloud
原因是:C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0,or C:\Program Files\dotnet\sdk\3.1.100-preview1-014459
ERROR MSB3073 the command “"dotnet" "C:\Users\LW.nuget\packages\microsoft.orleans.codegenerator.msbuild\3.1.6\build..\tasks\netcoreapp3.1\Orleans.CodeGenerator.MSBuild.dll" SourceToSource "xxxxxxxxxx\xxxxx\xxxxxxxxxx\xxxxxxx\obj\Debug\netcoreapp3.1\ZLSoft.ZHSZ.Basics.orleans.g.args.txt"”已退出,代码为 -2147450730。 xxxxx C:\Users\xxxx.nuget\packages\microsoft.orleans.codegenerator.msbuild\3.1.6\build\Microsoft.Orleans.CodeGenerator.MSBuild.targets 125