.nettemplatesf#visual-studio-project

F# desktop-support


I need to add a F# .Net Framework project to an existing solution (with older .Net Framework projects, mostly C#).

I have all the install options for F# (optional items) selected:

enter image description here

If I previously selected the F# .Net Framework

enter image description here

All worked fine (in earlier versions of Visual Studio 2019).

In the meantime I installed serveral updates and I am now running on Visual Studio Enterprise 2019 v16.7.2.

Now, if I create a new F# .Net Framework project (to add to the solution) I always get a project with a Dependencies folder instead of a References folder.

enter image description here

Also can't run it, it gives error: enter image description here

What need I to do to get a F# project with the References folder again?

enter image description here


Solution

  • If I am correct, it has to do with the .Net Framework versions. Defaults to .Net Standard as of .Net 4.6 or so ...