GithubHelp home page GithubHelp logo

Can not find runtime target for framework 'DNXCore,Version=v5.0' and RID's 'win10-x64, win81-x64, win8-x64, win7-x64'. Possible causes about core HOT 6 CLOSED

dotnet avatar dotnet commented on July 17, 2024 4
Can not find runtime target for framework 'DNXCore,Version=v5.0' and RID's 'win10-x64, win81-x64, win8-x64, win7-x64'. Possible causes

from core.

Comments (6)

AndreyMonastyrskiy avatar AndreyMonastyrskiy commented on July 17, 2024 1

After dotnet restore, i try to run dotnet run and get this error:
Can not find runtime target for framework 'DNXCore,Version=v5.0' and RID's 'win7-x64'. Possible causes:

  1. Project is not restored or restore failed - run dotnet restore
  2. Project is not targeting runable framework (netstandardapp* or net*)

while dotnet restore run i have error:
error: The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/system.io.filesystem/index.json' has timed out after 100000ms.

Internet connection is up, nothing blocked.... how to fix this error?

from core.

CreativeManix avatar CreativeManix commented on July 17, 2024

I do have same issue

from core.

JonathonCwik avatar JonathonCwik commented on July 17, 2024

One issue you have is there's errors in your restore.

from core.

tiomke avatar tiomke commented on July 17, 2024

maybe you choose the wrong NuGet Feeds, the default Feed don't have NETStandard.Library yet.

try

dotnet restore -s https://myget.org/f/dotnet-core

or write a NuGet.Config file adding the myget feed into it.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <!--To inherit the global NuGet package sources remove the <clear/> line below -->
    <clear />
    <add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
    <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
    <add key="nuget.org" value="https://www.nuget.org/api/v2/" />
  </packageSources>
</configuration>

from core.

joshfree avatar joshfree commented on July 17, 2024

Closing this old issue. Please feel free to reactivate if there is still a problem.

Instructions are available at http://dot.net/core

from core.

adrua avatar adrua commented on July 17, 2024

hi,

are you update to .NET Core 1.0 for Visual Studio?.
Please change your frameworks list in 'Project.json' by

"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": "dnxcore50"
}
},

rebuild your application

Good luck

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.