I am trying JetBrains Rider out on Ubuntu 20.04.1 , and I just downloaded a .NET application from my OneDrive in to my Linux machine. When I open JetBrains Rider, whenever I want to run or build my app the following Error appears:
Done building project "InterviewTest.csproj" -- FAILED.
Build FAILED.
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Entity". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
CSC : error CS0041: Unexpected error writing debug information -- 'Operation is not supported on this platform.'
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.42
I previously tried removing the following 2 packages:
- Microsoft.CodeDom.Providers.DotNetCompilerPlatform
- Microsoft.Net.Compilers
as suggested in this question : CSC: error CS0041: Unexpected error writing debug information -- 'Operation is not supported on this platform.'
But the highlighted solution didn't seem work for me.
UPDATE: I just realized that this project may not be a >NET Standard application. The app seems to work fine on Windows but according to the Jetbrains website I shouldn not have a problem running this app on linux.