I'm trying to add an assembly reference to my project in Rider, and when doing so, I can normally navigate to the desired folder and select the .dll. The selected .dll immediately appears under assemblies, despite having a warning sign next to it (hovering over it yields no extra information). When trying to build, I get the following error:
Microsoft.Common.CurrentVersion.targets(2127, 5): [MSB3245] Could not resolve this reference. Could not locate the assembly "Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
The same happens if I try to build the project from terminal using either xbuild or msbuild. If it makes any difference, I'm using Linux.