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.

Package restoration layout changed

See original GitHub issue

Steps to reproduce

On a case-sensitive file-system (say, defaults of Ubuntu 16.04):

dotnet restore

Expected behavior

Packages get restored using their correct name, not the lower-cased version:

~/.nuget/packages/Microsoft.CodeAnalysis.Common

Actual behavior

Package names are getting lower-cased:

~/.nuget/packages/microsoft.codeanalysis.common

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview3-003546)

Product Information:
 Version:            1.0.0-preview3-003546
 Commit SHA-1 hash:  c0c07ed959

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  16.04
 OS Platform: Linux
 RID:         ubuntu.16.04-x64

The last known good version was 003246.

This caused a CI break for PowerShell, see https://github.com/PowerShell/PowerShell/pull/2162.

@brthor is this a NuGet.Client problem?

/cc @vors

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

4reactions
brthorcommented, Sep 1, 2016

/cc @joelverhagen @eerhardt

This was an intentional change

2reactions
gkhanna79commented, Sep 12, 2016

We intend to bring it up in Nov timeframe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet/sdk - Package restoration layout changed #6809
@andschwa - a few thoughts: The ProjectModel library is going to be deleted with the transition from project.json/.xproj projects to to normal ...
Read more >
Package restore failed. Rolling back package changes
CodeGeneration.Design v5.0.2 . After some digging I found out that scaffolding was trying to install a version of Microsoft.EntityFrameworkCore.
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
Select the Tools > NuGet Package Manager > Package Manager Settings menu command. Set both options under Package Restore. Select OK. Build your ......
Read more >
NuGet Package Restore
NuGet Package Restore restores all of a project's dependencies that are listed in either a project file or a packages.config file.
Read more >
Package restore failed. Rolling back package changes
This article discusses what to do when your package restore fails. Steps to Complete: 1. In Visual Studio 2019, goto Tools > Options...
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