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

Nuget packages with numbers at the end of the name kill ripple download #53

Closed
jrios opened this issue Apr 17, 2013 · 0 comments
Closed

Comments

@jrios
Copy link

jrios commented Apr 17, 2013

Found this when trying to download nuget package: Spark.Web.Mvc3.

It appears that when ripple is trying to parse the version, if it ends in a number, it is prepending that number to the version string to search for.

Here is the log that ripple generated:

[Debug] Searching for Spark.Web.Mvc3 from http://nuget.org/api/v2
[Error] Error executing DownloadMissingNugets
[Error] System.AggregateException: One or more errors occurred. ---> System.ArgumentException: '3.1.7.5.1' is not a valid version string.

Notice the exception points out it search for '3.1.7.5.1' but the version on nuget.org is '1.7.5.1'.

Here is also a stack trace that is included in the ripple log:

   at NuGet.SemanticVersion.Parse(String version)
   at ripple.Nuget.NugetName.Parse(String input) in c:\home\github\bob-ripple\src\ripple\Nuget\NugetFile.cs:line 45
   at ripple.Nuget.NugetFile..ctor(String path, SolutionMode mode) in c:\home\github\bob-ripple\src\ripple\Nuget\NugetFile.cs:line 64
   at ripple.Nuget.NugetFolderCache.<findNugetFiles>b__2(String file) in c:\home\github\bob-ripple\src\ripple\Nuget\NugetFolderCache.cs:line 63
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at ripple.Nuget.NugetFolderCache.findNugetFiles() in c:\home\github\bob-ripple\src\ripple\Nuget\NugetFolderCache.cs:line 61
   at System.Lazy`1.CreateValue()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants