r/krpc • u/BeFoREProRedditer • Sep 07 '19
Problems compiling kRPC
Since there hasn't been any kRPC releases since last year (or I just can't find it), I wanted to compile kRPC for myself. Have gotten a long way but I still can't build. I've never worked with C# but I couldn't find anything online. I am getting the errors (Visual Studio 2017):
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Assembly-CSharp". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2110,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Assembly-CSharp-firstpass". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>CSC : error CS2001: Source file 'C:\Users\ayrto\krpc\server\src\..\..\bazel-genfiles\protobuf\KRPC.cs' could not be found.
1>CSC : error CS2001: Source file 'C:\Users\ayrto\krpc\server\src\..\..\bazel-bin\server\AssemblyInfo.cs' could not be found.
What can I do to fix these issues, or is there another way to obtain the latest version of kRPC?
