Closed vasily-kirichenko closed 6 years ago
I have seen this. Do you have a reliable repro?
I can repro this on current master by referencing a library in a console app. Repro
@majocha I tried opening Library3.sln but didn't reproduce this error.
Could you write out step by step instructions please?
Also indicate if you have in-memory-project-references on or off (it is on by default, see Text Editor --> F# --> Performance).
Also indicate whether you have built the solution or not
@cartermp I've marked this as "fix now" since the above error should really never happen.
@dsyme Now I had problems myself, but I think I nailed it. It appears it happens for pre-opened files only.
Repro steps
ETA: building the solution is not required, it builds fine, the error shows up when the file is pre-opened on solution load.
@majocha, @dsyme, the repro from the previous post works reliably (using current nightly, in my case, not necessarily the same as current master). And as he said, you need to have tabs open from your previous session to receive this error.
Also, rebuilding, clean etc does not remove the error. Closing/reopening the offended tab does not resolve it either. You can see it in this vid, using the above repro:
@abelbraaksma this should be already fixed on master.
@majocha, I just did another build vs
, which I believe installs this and other things into VS, but I still see the same error. Though not always, i.e. I don't get it in FSharp.sln.
@majocha, I just did another build vs, which I believe installs this and other things into VS
@abelbraaksma No, build vs
doesn't install into master. See the DEVGUIDE.md for how to install the bits after you build them
This problem just happened for me too, while working on a solution with two F# libs. I get the error:
FS3160 Problem reading assembly 'C:\@build\blah\source\Blah\bin\Debug\Blah.dll': Build was not evaluated, expected the results to be ready after 'Eval' (GetCheckResultsAndImplementationsForProject, data = ("FinalizeTypeCheck", [|Id 1189; Id 1190; Id 1191; Id 1192; Id 1193|], Id 1195,
false, None)). Blah.Properties C:\@build\blah\source\Blah.Properties\Properties.fs 1 Active
I can resolve this by closing all file windows and re-opening the solution, as per @majocha work around. I'm not sure if this is fixed or if I have the fixed version (I think I'm getting nightlies), but I've included my VS info if it's any help.
See #3899 as well - @forki sees this on 15.5 Preview 3 with his own solution as well.
with paket sln and all of my private solutions.
My current assumption is is that this error is hit way more often in VS 15.5 preview 3 because there seems to be an other issue with incremental build
ok https://github.com/dotnet/project-system/issues/2945 is the reason why this issue here is triggered for me all the time
for the record: https://github.com/dotnet/project-system/issues/2945 and this bug here are two different things
so @Pilchie showed me the workaround. Disable Fast up to date check here:
I've seen FS3160 once in VS 15.4.3.
This no long reproduces.