Skip to content

Initializing project system triggers incorrect restore prompt and reprocesses projects multiple times #504

Open
@troydai

Description

@troydai

Move from: dotnet/vscode-csharp#141
Author: @natemcmaster

Repro step

Clone entity framework to Mac.
From command line: dotnet restore (should succeed)
Open VS Code.
Select the whole "solution" in "Omnisharp: Select Project".

Expected behavior

Initialize project state and intellisense. No restore necessary.

Actual behavior

VS Code produces dozens of errors "There are unresolved dependencies from '(project)'. Please execute the restore command to continue." This is produce multiple times per project.

Furthermore, the Omnisharp output shows it is continually processing the same projects over and over. Appears to have processed each project state about 40 times.

Full log:
omnisharp-log.txt

After about ~4 minutes, project initialization appears done and omnisharp operates as expected.

My setup

VS Code 0.10.11
Using C# 0.3.7
Using omnisharp-roslyn build locally from aab690c (result of mergeing #501)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions