Intellisense broken with message 'Build was not evaluated' #938
Apologies in advance, I do not have good repro steps for this, and I'm aware that this has historically
This error has started cropping up for us at design time, Intellisense stops working and the first symbol in each file in an affected project has a red squiggly with this message:
All projects in the workspace build. We are targeting netcoreapp2.1, we have F# 4.5 installed, and Ionide version is 3.28.0. There are multiple projects in the workspace, one of them referenced by two other projects, which happened around the same time this problem started, but not sure they're actually related.
If I check out previous commits in our repo, the error message stops appearing in the affected projects, but no intellisense appears, either. Vertical space is made for the CodeLens annotations, but they never appear, even after doing a full
I know last time it had to do with referencing netstandard2.0 dependencies, but we've been referencing such dependencies without issue for some time prior to this problem occurring.
I've tried using
After clearing the cache, I did a full clean and rebuild, then reloaded Code and opened a file, waited for CodeLens space to appear with nothing in it, then checked the Ionide logs and observed multiple message groups like the following:
I'm seeing the same errors within the last few days. Only things that changed on my machine was updating dotnet core sdk from 2.1.402 to 2.1.403 and Visual Studio to 15.8.7 (from like 15.8.3, i think). As a workaround, things currently work again if i change the fsacRuntime to net over netcore.
The differences I notice in the logs occurs after the workspaceLoad response finishes. The next parse that goes out throws an exception about not being able to launch a process.
Both runtime's logs showed the same exe locations:
I'm able to reproduce this (or at least a very similar problem) on Win 10 with latest build stack as per today. If I've done something wrong, please let me know...
With a simple hello.fsx file.
let hello = "hello"
When I have "FSharp.fsacRuntime": "net" I get this in F# Language Service Console (ctrl+shift+U -> drop down)
With "FSharp.fsacRuntime": "netcore"
referenced this issue
Nov 12, 2018
I'm having the same issue, ever since I referenced another project. Tinkering with the .fsproj for long enough eventually makes it go away for a few minutes, before it comes back again.
Compiling, recompiling, cleaning make no difference.