Closed danpowell88 closed 12 years ago
Thanks for filing this! This is because I am using a pre release version on WebAPI. It has since been released and I can "upgrade" to the lastest. I'll try to get this fixed stat but for now you can add http://www.myget.org/F/aspnetwebstacknightly/ as a source and it should work...
Yeah I tried adding the myget source but it didnt work, perhaps those packages are gone now seeing as they were probably nightlies, maybe they are only keeping so many?
I was able to get it working by replacing the versions in the packages.config files with the versions in nuget.org and it seemed to have fixed the problem. I can create a pull request with the changes if you are interested.
@lfoust Pull Requests are always welcome :)
@thecubical or @lfoust can you verify this works...
Didnt seem to fix it, i clone it again from scratch
F:\Playr>.nuget\NuGet.exe install Playr.Api\packages.config Successfully installed 'Microsoft.AspNet.WebApi.SelfHost 4.0.20918.0'. Successfully installed 'Microsoft.Web.Infrastructure 1.0.0.0'. Successfully installed 'DotNetZip 1.9.1.8'. Successfully installed 'jQuery 1.8.2'. Successfully installed 'Newtonsoft.Json 4.5.9'. Successfully installed 'RavenDB.Client 1.2.2045-Unstable'. Successfully installed 'NLog 2.0.0.2000'. Successfully installed 'SignalR 0.5.3'. Successfully installed 'RavenDB.Embedded 1.2.2045-Unstable'. Successfully installed 'SignalR.Hosting.AspNet 0.5.3'. Successfully installed 'SignalR.Hosting.Common 0.5.3'. Successfully installed 'SignalR.Hosting.Self 0.5.3'. Successfully installed 'SignalR.Js 0.5.3'. Successfully installed 'SignalR.Server 0.5.3'. Successfully installed 'RavenDB.Database 1.2.2045-Unstable'. Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Client' . Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Core'. Unable to find version '2.0.20726.0' of package 'Microsoft.Net.Http'. One or more errors occurred.
Looks like the versions are
Microsoft.AspNet.WebApi.Client : 4.0.20710.0 (or 4.1.0-alpha-120809) Microsoft.AspNet.WebApi.Core: 4.0.20710.0 Microsoft.Net.Http: 2.0.20710.0
Other build issues can be seen here https://dl.dropbox.com/u/78170732/Untitled.png
Okay this should really fix it now... I was using some unpublished preview packages :) one of the dangers of working on the asp.net team....
:shipit:
Looks like there is a few you missed
Error 2 Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Core'. Playr.Api Error 6 Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Core'. Playr.Web Error 1 Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Client'. Playr.Api Error 5 Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Client'. Playr.Web Error 3 Unable to find version '2.0.20726.0' of package 'Microsoft.Net.Http'. Playr.Api Error 7 Unable to find version '2.0.20726.0' of package 'Microsoft.Net.Http'. Playr.Web
I finally got around to trying this out and I am seeing the same errors as those listed above.
I have submitted a pull request for the changes needed to get it compiling on my machine: https://github.com/osbornm/Playr/pull/20
package restore seems to fail on
Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Client' . Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.Core'. Unable to find version '4.0.20726.0' of package 'Microsoft.AspNet.WebApi.SelfHos t'. Unable to find version '2.0.20726.0' of package 'Microsoft.Net.Http'. One or more errors occurred.
Is there a specific nuget repository that needs to be referenced?