Base solution for your next web application
Open Closed

OpenIddict issues when building new 12.4.0 solution #11748


User avatar
0
lschelvan created

I just downloaded the new 12.4.0 version. (Angular + .NET core)

Using VS2022 17.7.0 I get this when building Web.Host

There are also a couple of errors when building the MAUI project (I ignored them because we're not yet developing the mobile project).


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @lschelvan

    Are you using All.sln solution ? If so, could you try with Web.sln ? I assume this happens becasue of MAUI build problems.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @lschelvan,

    Could you change the TargetFramework of Mobile.MAUI.csproj to <TargetFrameworks>net7.0-android;net7.0-ios;</TargetFrameworks> and see if it works ?

  • User Avatar
    0
    lschelvan created

    Hi @lschelvan,

    Could you change the TargetFramework of Mobile.MAUI.csproj to <TargetFrameworks>net7.0-android;net7.0-ios;</TargetFrameworks> and see if it works ?

    This fixed the build errors in the Mobile.MAUI project.. thank you.

    I'm still getting the OpenIddict errors ... This happens in the .Web.Host project, when using the .Web.sln

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @lschelvan

    Is it possible to share your project via email ? Because when we download same version, we are not able to reproduce the problem. You can share the project with [email protected]

    Thanks,

  • User Avatar
    0
    lschelvan created

    I was able to get the solution to build by removing and then re-adding various Nuget packages.

    I am currently tackling the Angular project - there are numerous build errors, but mostly just html changes related to Prime NG components, so I hope to have it running soon.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @lschelvan

    Great news :). If you can share the errors you are getting in Angular app, I can try to help.