Giter VIP home page Giter VIP logo

Comments (3)

Aaronontheweb avatar Aaronontheweb commented on September 26, 2024

Going to give this a try first, just in case https://codebankblog.wordpress.com/2021/05/17/resolve-error-nu1100-unable-to-resolve-dotnet-ef-0-0-0-for-net5-0/

from akkadotnet-healthcheck.

Aaronontheweb avatar Aaronontheweb commented on September 26, 2024

Welp, that actually made the error worse:

D:\Repositories\olympus\akkadotnet-templates\src\WebApiTemplate\src\WebApiTemplate.Domain\WebApiTemplate. Domain.csproj : error NU1100: Unable to resolve 'Akka (>= 1.4.49)' for 'net7.0'. PackageSourceMapping is
enabled, the following source(s) were not considered: nuget. [D:\Repositories\olympus\akkadotnet-template s\src\WebApiTemplate\WebApiTemplate.sln]
D:\Repositories\olympus\akkadotnet-templates\src\WebApiTemplate\WebApiTemplate.App\WebApiTemplate.App.csp roj : error NU1100: Unable to resolve 'Akka.Cluster.Hosting (>= 1.0.2)' for 'net7.0'. PackageSourceMappin g is enabled, the following source(s) were not considered: nuget. [D:\Repositories\olympus\akkadotnet-tem plates\src\WebApiTemplate\WebApiTemplate.sln]
D:\Repositories\olympus\akkadotnet-templates\src\WebApiTemplate\WebApiTemplate.App\WebApiTemplate.App.csp roj : error NU1100: Unable to resolve 'Akka.HealthCheck.Hosting.Web (>= 1.0.0)' for 'net7.0'. PackageSour ceMapping is enabled, the following source(s) were not considered: nuget. [D:\Repositories\olympus\akkado tnet-templates\src\WebApiTemplate\WebApiTemplate.sln]
D:\Repositories\olympus\akkadotnet-templates\src\WebApiTemplate\WebApiTemplate.App\WebApiTemplate.App.csp roj : error NU1100: Unable to resolve 'Microsoft.AspNetCore.OpenApi (>= 7.0.0)' for 'net7.0'. PackageSour ceMapping is enabled, the following source(s) were not considered: nuget. [D:\Repositories\olympus\akkado tnet-templates\src\WebApiTemplate\WebApiTemplate.sln]
D:\Repositories\olympus\akkadotnet-templates\src\WebApiTemplate\WebApiTemplate.App\WebApiTemplate.App.csp roj : error NU1100: Unable to resolve 'Swashbuckle.AspNetCore (>= 6.4.0)' for 'net7.0'. PackageSourceMapp ing is enabled, the following source(s) were not considered: nuget. [D:\Repositories\olympus\akkadotnet-t emplates\src\WebApiTemplate\WebApiTemplate.sln]

I think the error is my package source mapping, not this project.

from akkadotnet-healthcheck.

Aaronontheweb avatar Aaronontheweb commented on September 26, 2024

Found the problem:

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

  <packageSourceMapping>
    <packageSource key="nuget.org">
      <package pattern="*" />
    </packageSource>
  </packageSourceMapping>
</configuration>

The keys for package source mapping need to match - nuget.org and nuget are different.

from akkadotnet-healthcheck.

Related Issues (18)

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.