Skip to content

Project doesn't properly load, files in project aren't recognized, and autocomplete doesn't work at all #166

@sandoichi

Description

@sandoichi

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

  1. Open up a .fs file

  2. Get message that .fsproject is loaded

  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions