ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

Mixed F# with C# solution shows completly wrong in solution explorer

Open jkone27 opened this issue 1 year ago • 2 comments

Describe the bug

I expect only F# code to show up in solution explorer, instead C# code is shown and F# code is not

Steps to reproduce

Create a project with F# unit tests, referencing a C# console project.

Open it in ionide

Link to sample reproduction

Expected behaviour

F# solution explorer loads F# files, but leaves out C# files? It's confusing

Screenshots

image image

Machine info

  • OS: MAC
  • .NET SDK version: 6.0
  • Ionide version: 7.0.0

jkone27 avatar Aug 04 '22 11:08 jkone27

F# solution explorer loads F# files, but leaves out C# files? It's confusing

Well, it is called F# solution explorer ;-)

But yeah, better support for csproj files is something I wanted to do for a while.

Krzysztof-Cieslak avatar Aug 08 '22 11:08 Krzysztof-Cieslak

Tested with Ionide 7.0.0:

I wanted to have a look at this issue but I am not sure what the problem is.

File explorer:

image

F# solution explorer:

image

It looks like both F# and C# project are loaded and displayed with their respective files.

The difference between F# and C#, is that F# project don't have the .fsproj suffix and the obj folder is hidden.

From this observation, I suppose we can remove the differences. But I don't really see a bug.

MangelMaxime avatar Aug 16 '22 13:08 MangelMaxime