dotnet / orleans

Cloud Native application framework for .NET
https://docs.microsoft.com/dotnet/orleans
MIT License
10.04k stars 2.02k forks source link

error msb3073 the command dotnet code -2147450730 #6537

Closed xrkraken closed 4 years ago

xrkraken commented 4 years ago

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

xrkraken commented 4 years ago
<Exec Command="&quot;$(Orleans_DotNetHost)&quot; &quot;$(Orleans_GeneratorAssembly)&quot; SourceToSource &quot;$(Orleans_ArgsFile)&quot;" Outputs="$(Orleans_OutputFileName)" />
xrkraken commented 4 years ago

"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.",

xrkraken commented 4 years ago

public class DeviceCloudGrains : IDeviceCloud

xrkraken commented 4 years ago

原因是:C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0,or C:\Program Files\dotnet\sdk\3.1.100-preview1-014459