question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.0.4 CLI fails to create prime cache if 2.0.0-preview1-005972 version is installed as well

See original GitHub issue

Steps to reproduce

  1. Install CLI version 1.0.4
  2. Install CLI version 2.0.0-preview1-005972
  3. Create a new project that targets netcoreapp1.0
  4. Add a global.json with contents { "sdk": {"version": "1.0.4"} }
  5. Run dotnet restore

Expected behavior

The first time experience behavior completes and prime cache is created successfully for version 1.0.4

Actual behavior

Failed to create prime the NuGet cache. new failed with: -2147352571

cc @livarcocc @mlorbetske @balachir

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

7reactions
bradwilsoncommented, May 13, 2017

That feels like cheating. 😉

DOTNET_SKIP_FIRST_TIME_EXPERIENCE does make the problem “go away” for now. Thanks!

3reactions
dasMullicommented, Jun 13, 2017

@livarcocc this happens when you use the 2.0.0-* versions for playing around and then using 1.0.4 again through a global.json file (and nuking the nuget cache to trigger first run experience). I think the problem is that there is no public / “released” build of 1.0.* that contains dotnet/cli#6633 yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to create prime the NuGet cache. new failed with: 5
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take ......
Read more >
Failed to create prime the NuGet cache, dotnet restore.
I installed .net core 2.0; I changed package varsion to: 1.0.4 in .csproj; I used command dotnet nuget locals -c all and after...
Read more >
Builds always fail until clearing cache and re-trying
But when I manually “clear cache and retry”, it builds just fine. It also runs just fine locally on various machines (windows/mac/linux). For ......
Read more >
update-file-cache — AWS CLI 1.29.25 Command Reference
For more information see the AWS CLI version 2 installation instructions and ... Updates the configuration of an existing Amazon File Cache resource....
Read more >
Using the Infinispan Command Line Interface
Infinispan cache instances. The default cache container is empty. Use the CLI to create caches from templates or infinispan.xml files. counters.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found