Giter VIP home page Giter VIP logo

Comments (6)

JonPSmith avatar JonPSmith commented on June 22, 2024 1

Hi @raulidavid,

Are you using the latest version, AuthP version 8.0.0, which I released yesterday or an older version. The older version supported .NET 6, 7 and 8 and had some problems with Microsoft.CodeAnalysis... . Version 8.0.0 only supports .NET 8 and should be better, but maybe I missed something.

Let me know.

from authpermissions.aspnetcore.

JonPSmith avatar JonPSmith commented on June 22, 2024 1

Hi @raulidavid,

Can I close this issue? It would useful if you could add a comment saying which approach works for you. That would help other users if they have the same type of problem.

from authpermissions.aspnetcore.

raulidavid avatar raulidavid commented on June 22, 2024

Please @JonPSmith review this issue

from authpermissions.aspnetcore.

raulidavid avatar raulidavid commented on June 22, 2024

I am using the latest AuthP version 8.0.0

from authpermissions.aspnetcore.

JonPSmith avatar JonPSmith commented on June 22, 2024

Your error shows a difference of the Microsoft.CodeAnalysis.Common between your Jiban.Application project and your Jiban.Infrastructure project, which has AuthPermissions.AspNetCore in it. And the solution is in the error "add Microsoft.CodeAnalysis.Common 4.8.0 directly to project Jiban.Application". But why??

When I compiled 6.2.0, which supports .NET 6, 7 and 8, I had the same problem as yours and the solution was to do what the error says - add a Microsoft.CodeAnalysis.Common version ???. But when I created 8.0.0 I didn't need to add any Microsoft.CodeAnalysis.??? any more because there wasn't a crashing of any of the analysers.

Things to try:

  1. If you were using AuthP 6.2.0 before, and updated to AuthP 8.0.0, then I would be a good idea to use "Build>Clean Solution" and then "Build>Rebuild Solution". Maybe it will sort out the analysers.
  2. Try AuthP 6.2.0 to see if there is a difference.
  3. If nothing else works then just add Microsoft.CodeAnalysis.Common 4.8.0 directly to project Jiban.Application as the error says.

from authpermissions.aspnetcore.

raulidavid avatar raulidavid commented on June 22, 2024

I am using the latest version of authp v8.0.0 but I am inheriting from legacy authp classes, I am going to validate it

from authpermissions.aspnetcore.

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.