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

Does not support framework DNX, Version=v4.5.1 for all dependencies? #5

Closed
shima20 opened this issue Mar 22, 2016 · 9 comments
Closed

Comments

@shima20
Copy link

shima20 commented Mar 22, 2016

Hi,

I was wondering if this was still broken? I was trying restore packages and i get the following....

image

@capesean
Copy link
Owner

Should work fine, I've just fixed a few minor issues. I've got the 20270 version packages and with dnvm list I'm using version 20222 - you got the same?

@shima20
Copy link
Author

shima20 commented Mar 23, 2016

Here is what I have... I'm not exactly sure what I should do.

image

image

@capesean
Copy link
Owner

Try this:

  1. In your solution folder, i.e. at the folder with global.json in it, you should have the file Nuget.config. It should have contents like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="AspNetCiDev" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
    <add key="NuGet" value="https://api.nuget.org/v3/index.json" />
    <add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
  </packageSources>
</configuration>
  1. Open a normal command prompt in your project folder, i.e. at the folder with project.json in it. Type SET DNX_UNSTABLE_FEED=https://www.myget.org/F/aspnetcidev. Then type dnvm upgrade -u
  2. Once you have the latest runtime installed from step 2, in the same command prompt type dotnet restore. This step assumes you have the dotnet CLI installed. If not, download and install it from: https://github.com/dotnet/cli

Let me know how that goes?

@shima20
Copy link
Author

shima20 commented Mar 23, 2016

I got to step 2 but when I went to download the installer for windows, it looks like the build is failed?

@capesean
Copy link
Owner

You'll have to ignore that for now - try installing from here: https://get.asp.net/

@shima20
Copy link
Author

shima20 commented Mar 24, 2016

I downloaded the CLI. I'm getting this...

image

@Icestorm0141
Copy link

@capesean I followed your steps to the letter. Added a Nuget.config file to the solution directory, navigated into the project folder and ran the two commands. They ran, but I got a TON of errors. Any ideas?

errors.txt

@kevinchalet
Copy link
Contributor

The compilation issues you're seeing with DNX/VS should be fixed by #7.

@shima20
Copy link
Author

shima20 commented Apr 1, 2016

I was finally able to compile and the assemblies are fixed! thank you!

@shima20 shima20 closed this as completed Apr 1, 2016
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

4 participants