Friday, November 15, 2019 3:51:24 PM
  • Posted: Monday, August 19, 2019 9:08 AM
  • 4
Hello!
I have the same error when publishing project:
Grand.Web -> /root/source/grandnode/Grand.Web/bin/Release/netcoreapp2.2/Grand.Web.dll
/usr/share/dotnet/sdk/2.2.401/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.Compilation.targets(107,5): error MSB6006: "csc.dll" exited with code 137. [/root/source/grandnode/Grand.Web/Grand.Web.csproj]

How can I resolve this problem?
0
  • Posted: Monday, August 19, 2019 9:51 AM
  • Moderator
  • 364
Hi Denis,
Can you provide me the details of you environment?
0
  • Posted: Monday, August 19, 2019 10:09 AM
  • 4
Ubuntu 16.04
.NET SDK 2.1, 2.2 installed.
0
  • Posted: Monday, August 19, 2019 10:13 AM
  • 4
And this is VPS.
0
  • Posted: Monday, August 19, 2019 10:44 AM
  • Moderator
  • 364
Have you tried to remove the 2.1 sdk? and keep only the newest one?
0