Apologies in advance, I do not have good repro steps for this, and I'm aware that this has historically
been a difficult bug to track down. I'm reporting everything I can think of here.
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:
Problem reading assembly 'PATH_REDACTED': Build was not evaluated, expected the results to be ready after 'Eval' (GetCheckResultsAndImplementationsForProject, data = ("FinalizeTypeCheck", [|Id 1007; Id 1008; Id 1009; Id 1010; Id 1011|], Id 1013,
false, None)).
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 dotnet clean; paket install; dotnet build for all and restarting Code. My teammate who added these projects says that intellisense worked in these projects up until a certain point but he doesn't know exactly when this started happening. Given that I can get my workspace into a state where neither intellisense nor the error message appears, it feels as though there is extra state lurking somewhere on my machine.
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 F#: clear cache; that makes the red squiggles go away, but intellisense still doesn't work.
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:
[08:53:03 DEBUG] REQ (008) -> {recordStubGenerator}, File = "PATH_REDACTED"
Data={"FileName":"PATH_REDACTED","Line":26,"Column":88,"Filter":""}
[08:53:03 DEBUG] RES (008) <- {recordStubGenerator} in 32 ms: Kind={"error"}
Data={"Code":1,"Message":"File 'PATH_REDACTED' not parsed","AdditionalData":{}}
[08:53:03 ERROR] Cannot execute recordStubGenerator, File 'PATH_REDACTED' not parsed
Apologies in advance, I do not have good repro steps for this, and I'm aware that this has historically
been a difficult bug to track down. I'm reporting everything I can think of here.
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
dotnet clean; paket install; dotnet buildfor all and restarting Code. My teammate who added these projects says that intellisense worked in these projects up until a certain point but he doesn't know exactly when this started happening. Given that I can get my workspace into a state where neither intellisense nor the error message appears, it feels as though there is extra state lurking somewhere on my machine.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
F#: clear cache; that makes the red squiggles go away, but intellisense still doesn't work.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: