mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.82k stars 1.01k forks source link

Visual Studio For Mac throwing errors FS3031 and FS3005. While VSCode has no issue for the same project #9676

Open SnoCold opened 3 years ago

SnoCold commented 3 years ago

I created the default FSBolero template project using dotnet CLI. Opening it in VSCode using the Ionide extension suite works ok.

But If I open the same project in Visual Studio for Mac, I get FS3031 and FS3005 errors (Screenshot attached)

Repro steps

Provide the steps required to reproduce the problem:

  1. dotnet new -i Bolero.Templates
  2. dotnet new bolero-app -o HelloWorld
  3. Open the Project in Visual Studio For Mac.
  4. Get Error FS3031 and FS3005, found by hovering on top level module/namespace in any .fs file

Expected behavior

There should not be any such compiler error

Actual behavior

FS3031 and FS3005 Compiler Errors in the Project

Related information

Provide any related information (optional):

Operating system Mac OS Catalina 10.15.7
.NET Runtime kind (.NET 5.0 that comes by default with latest Visual Studio for Mac. It Installs Mono)
Editing Tools (Visual Studio Community, 8.9.9)
Screenshot 2021-05-12 at 9 44 32 AM