Skip to content

dnvm upgrade fails #502

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

Closed
barranger opened this issue Apr 29, 2015 · 6 comments
Closed

dnvm upgrade fails #502

barranger opened this issue Apr 29, 2015 · 6 comments

Comments

@barranger
Copy link

If I try and run dnvm upgrade it's failing like so:

~$ dnvm upgrade
Determining latest version
Error: Could not find latest version from feed https://nuget.org/api/v2

however if I run it with the -u for the unstable feed, it seems to work (although I'm having completely different issues with kestrel). Is this an known issue?

@miguellira
Copy link

@barranger the -u argument updates the NuGet.config packageSources to include the latest dev builds namely https://www.myget.org/F/aspnetvnext/api/v2

What issues are you running into with Kestrel? There is a known issue running the latest dnvm and Mono 4.0.1. See #498

@barranger
Copy link
Author

actually I found out what the issue was/is for dnvm upgrade:

it looks like it's not following the redirect that http://nuget.org sends to go to http://www.nuget.org I added the DNX_FEED enviroment variable and was able to get it working.

The issue I was getting with the dev builds was:

TypeLoadException: Could not load type 'Microsoft.Framework.Runtime.ILibraryExport' from assembly 'Microsoft.Framework.Runtime.Interfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Hope that helps, I'm just happy to have it working with the non-dev builds

@darthdeus
Copy link

@barranger What did you change your DNX_FEED to? I've just tried the same thing and it doesn't seem to be working

@barranger
Copy link
Author

@darthdeus changed it to:

export DNX_FEED=https://www.nuget.org/api/v2

@makenova
Copy link

@barranger thanks, that worked for me.

@muratg
Copy link
Contributor

muratg commented Apr 29, 2015

Tracked in: aspnet/dnvm#235

@muratg muratg closed this as completed Apr 29, 2015
natemcmaster pushed a commit that referenced this issue Nov 14, 2018
Fix #502

Fix #492

Fix #491

Fix #486

Improves #489
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants