dotnet restore is case sensitive of project file name on Windows.
See original GitHub issueSteps to reproduce
dotnet new
- Rename
project.json
toProject.json
dotnet restore
Expected behavior
Restore successfully
Actual behavior
$ dotnet restore
log : Restoring packages for D:\dev\repo\np\Project.json...
info : Committing restore...
log : D:\dev\repo\np\Project.json
log : Restore completed in 24604ms.
NuGet Config files used:
C:\Users\troyd\AppData\Roaming\NuGet\NuGet.Config
Could not find a part of the path 'D:\dev\repo\np\Project.json\project.json'.
Environment data
dotnet --version
output:
Issue Analytics
- State:
- Created 8 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
dotnet restore is case sensitive of project file name on ...
Steps to reproduce dotnet new Rename project.json to Project.json dotnet restore Expected behavior Restore successfully Actual behavior ...
Read more >Common NuGet configurations
To change settings in a different file, use the -configFile switch. In this case files can use any filename. Keys are always case...
Read more >Git is case-sensitive and your filesystem may not be
I've encountered this when renaming from within Visual Studio where changing the file name capitalization only (i.e. ClassDTO => ClassDto). It ...
Read more >Dockerfile can't see local file or private nuget server
I found the problem but not solution. 'Dotnet Restore' command don't install one of my private package but install others from my private...
Read more >Docker build caching for .NET applications done right with ...
In our case that means that if no file in the project has changed, dotnet publish 's output from the previous run will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll assign this to myself for now.
@anurse not necessarily. You could imagine an API where you pass in a path and it returns whether the file system on that path is case sensitive or not 😃