Skip to content

Restore operation should not be required for newly created projects #7905

@dsplaisted

Description

@dsplaisted

When you create a new project (ie via dotnet new console), you currently have to run dotnet restore before running other commands such as build, run, or publish.

This issue is to make it unnecessary to explicitly run dotnet restore after creating a new project via dotnet new.

Possible ways of achieving this include implicitly running a restore operation after creating the project, or having the template include a pregenerated assets file.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions