Skip to content
Discussion options

You must be logged in to vote

There should be no need to interpret the paths the server is asking you to restore. You should be able to take each entry in projectFilePaths and pass it straight through to dotnet restore. No need to check if a similarly named .csproj exists or things like that.

We do also have an issue where, if the solution is not yet loaded (i.e. the initial loading process is ongoing), we are "over-eager" in treating .cs files as if they are file-based apps. That's something I am meaning to address later on when possible. But once the language server has loaded the solution/projects it should not be asking you to restore .cs files that are part of a project.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@seblyng
Comment options

@RikkiGibson
Comment options

Answer selected by seblyng
@jasonmalinowski
Comment options

@RikkiGibson
Comment options

@seblyng
Comment options

@seblyng
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants