Closed julienXX closed 6 years ago
@rneatherway
I can reproduce this with latest fsautocomplete 0.33.
I suspect this is related to the use relative Compile item pathnames in sdk 2.0?
Ah, I see. Do you think that would be fixed by a release of the latest fsautocomplete, or it is an bug there that needs to be fixed? Is the format for sdk 2.0 different in that way then? I don't have any experience with these projects.
@rneatherway is not the sdk format, is a bug inside FCS, more info in https://github.com/fsharp/FsAutoComplete/issues/180
latest FCS should contains the fix, as @juergenhoetzel said, need to upgrade it, ref https://github.com/fsharp/FsAutoComplete/issues/183
until then, intellisense for lib targeting netstandard2.0
doesnt work. all others (netcoreapp2.0, netstandard1.6, etc) will work, with .net core sdk 2.0 too
OK, so this will come soon once we have proved and integrated latest FCS. Then I will rerelease FSAC and it will flow to here and VIM.
Hi @rneatherway ; do we have an estimate of timescales for this? I can see the FSAC pull request is closed, but I don't know what other work is still involved for emacs/vim/etc to be updated.
(not trying to pressure, I just don't know what the workflow is)
Now that the FSAC PR is in, I will do a release to be incorporated into the other editors. It is slightly backwards-incompatible so there will be a small amount of work for emacs and vim to start using it.
I have made a release of FSAC at https://github.com/fsharp/FsAutoComplete/releases/tag/0.34.0
I will make a branch for fsharp-mode
with the new release as a first step to upgrading. I think there are just a few rough edges, but as it has been a few months I am not 100% sure. Hopefully the tests will point them out to me :-)
/cc @kjnilsson for VIM
Thanks Robin
Needs at least https://github.com/fsharp/emacs-fsharp-mode/pull/146
OK, I would expect this to work once the latest is on MELPA (try tomorrow). Please reopen or a new issue if any problems.
Description
Keep getting 'file not part of the project' on a brand new .NET Core 2 project. For a classlib:
For a XUnit test file:
Also saw this in the Messages buffer:
I'm not really sure the issue is in fsharp-mode or fsautocomplete though.
Repro steps
Create a .NET Core 2 classlib.
Expected behavior
It should work as in .NET Core 1 projects.
Actual behavior
See Description.
Known workarounds
Changing the type of the classlib project from
netstandard2.0
tonetcoreapp2.0
works.Related information
With debug logs enabled I get: