Skip to content

dotnet restore app.cs #48551

@RikkiGibson

Description

@RikkiGibson

The vscode tooling appears to run a restore by digging up the SDK associated with the current project and running dotnet restore <project> in a subprocess. (I'll try to dig up the source code for this when I get a chance.)

So, the most expedient way for us to do restore in the editor, is likely going to be to support that command for file-based programs as well.

Possibly dotnet restore <project> is just an alias for dotnet build <project> -t:Restore, which would give us a straightforward workaround.

Metadata

Metadata

Labels

Area-run-fileItems related to the "dotnet run <file>" effort

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions