dotnet / dotnet/vscode-csharp

File based programs cannot restore if `dotnet.projects.enableAutomaticRestore": false`

Open
#8,477 0 comments 0 reactions 1 assignee Claimed by @RikkiGibson View on GitHub
Bug Feature - Run File
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
18h 40m
Merged PRs (30d)
31

Description

The current restore workflow involves
1. make a change to a directive like `#:package`/`#:project` etc
2. save
3. wait for restore popup.

When `enableAutomaticRestore` is false, (3) doesn't happen. My expectation was that in the false case for this, we would give a prompt like: `app.cs` needs to be restored, and buttons like "Restore"/"Ignore". But nothing pops up.

The `.NET: Restore` command also doesn't behave correctly on FBPs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.