Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: --no-cache for dotnet new #2874

Closed
stefanloerwald opened this issue Feb 8, 2021 · 6 comments
Closed

Feature request: --no-cache for dotnet new #2874

stefanloerwald opened this issue Feb 8, 2021 · 6 comments
Labels
triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Milestone

Comments

@stefanloerwald
Copy link

Hi, similar to dotnet/sdk#9577, there's currently no way to to force an update to the cache of packages used for dotnet new other than to wait. It would be great if dotnet new also understood --no-cache such that the cache can be avoided explicitly.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dsplaisted dsplaisted removed their assignment Feb 17, 2021
@dsplaisted dsplaisted transferred this issue from dotnet/sdk Feb 17, 2021
@vlada-shubina
Copy link
Member

@stefanloerwald we are currently reworking the NuGet integration in scope of #2745 and #2592.

For template engine purposes, we decided not to use cache at all for any calls to NuGet by default, so option is not needed.
Commit fixing the issue: c6b567c

We will close the issue once the feature branch is merged to master.

@vlada-shubina vlada-shubina added the triaged The issue was evaluated by the triage team, placed on correct area, next action defined. label Feb 18, 2021
@bekir-ozturk bekir-ozturk added this to the March sprint milestone Mar 3, 2021
@vlada-shubina
Copy link
Member

The implementation is already in master, closing

@LechuckThePirate
Copy link

Which version of the dotnet client includes this fix? How do I update it?

@vlada-shubina
Copy link
Member

@LechuckThePirate this fix is available from .NET 6 preview 4. You can get it from https://dotnet.microsoft.com/download/dotnet.

@LechuckThePirate
Copy link

@LechuckThePirate this fix is available from .NET 6 preview 4. You can get it from https://dotnet.microsoft.com/download/dotnet.

Thanks! I will wait for the final release then... the project can wait for one month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged The issue was evaluated by the triage team, placed on correct area, next action defined.
Projects
None yet
Development

No branches or pull requests

5 participants