-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Description
I'm using the F# layer with spacemacs.
When opening any F# file, I can see a message stating that the fsproj is loaded, but then I immediately get a message saying that my current file it not part of the loaded projects.
Error checking works on built-in .net libraries but nothing else. Modules from other files in project are not recognized and I also don't get any auto completion (not even on .net built ins).
I have msbuild 15 on my path. I'm running spacemacs (emacs 25.3.1) on windows (Tried on both windows7 and windows10 and both have the same issue).
Repro steps
Please provide the steps required to reproduce the problem
-
Open up a .fs file
-
Get message that .fsproject is loaded
-
Get another messaging saying the current .fs file is not a part of the loaded projects.
Expected behavior
I expect the project to be properly loaded, modules in the project to be recognized, and autocomplete to work.
Actual behavior
Auto complete doesn't work.
Modules defined in the project scope are not recognized when imported.
Loaded F# project ’ConsoleApplication1.fsproj’
Error: c:/Users/sandoichi/dev/fsharp/ConsoleApplication1/ConsoleApplication1/Program.fs is not part of the loaded projects.
Related information
- Windows 10 and 7
- Master branch
- Emacs 25.3.1 (with spacemacs)
- .NET 4.5, 4.5.1, 4.6.1 / MSBuild 2017/2015/2013