Bug 20630 - Nuget Package Ids are case-sensitive.
Summary: Nuget Package Ids are case-sensitive.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NuGet ()
Version: 5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Matt Ward
URL:
Depends on:
Blocks:
 
Reported: 2014-06-16 15:33 UTC by Mark Smith
Modified: 2017-10-10 12:39 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mark Smith 2014-06-16 15:33:49 UTC
When resolving dependencies, Xamarin Studio fails to locate a dependency package if the case is incorrect. Visual Studio does not have this issue.

Repro:

1) Create a new Console Application
2) Add a Nuget reference to ".NET Bio Web Services" - this is a pre-release.

It will fail to find the dependency "NetBioCore-PCL" because Nuget changed the case to "NETBioCore-PCL" (the package id in the original nuspec is correct, but it got changed on upload).

Visual Studio resolves it just fine.
Comment 1 Matt Ward 2014-06-16 15:41:05 UTC
There are some case sensitivity problems with NuGet when not on Windows. The same problem occurs if you try to install the bootstrap NuGet package.

https://bugzilla.xamarin.com/show_bug.cgi?id=19300

The current workaround, which works for bootstrap and may work for .NET Bio Web Services, is to install NetBioCore-PCL first.
Comment 2 Matt Ward 2017-10-10 12:39:35 UTC
It looks like the stable versions of the NetBioWeb.PCL and NetBioCore.PCL have been fixed on NuGet. I also believe that on a non case sensitive file system this problem should not happen. There are problems on Linux still if you have a case sensitive file system. There is another bug for this. Going to mark this as fixed.