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

Remove dependency to Microsoft.AspNetCore.Mvc.Core #22

Closed
WolfspiritM opened this issue Feb 22, 2023 · 2 comments
Closed

Remove dependency to Microsoft.AspNetCore.Mvc.Core #22

WolfspiritM opened this issue Feb 22, 2023 · 2 comments

Comments

@WolfspiritM
Copy link

WolfspiritM commented Feb 22, 2023

There are a few dependencies to Microsoft.AspNetCore.Mvc.Core which seems to not be needed (at least I was able to build with them removed) and it's causing issues when trying to build a self-contained executable cause it seems to have old and outdated dependencies itself.

tomware.OpenIddict.UI.Identity.Api 1.7.0 -> Microsoft.AspNetCore.Mvc.Core 2.2.5 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.IO.FileSystem 4.0.1 -> runtime.unix.System.IO.FileSystem 4.3.0 -> System.Runtime.InteropServices (>= 4.3.0)  [/src/Solution.sln]
tomware.OpenIddict.UI.Identity.Api 1.7.0 -> Microsoft.AspNetCore.Mvc.Core 2.2.5 -> Microsoft.Extensions.DependencyModel 2.1.0 -> Microsoft.DotNet.PlatformAbstractions 2.1.0 -> System.Runtime.InteropServices (>= 4.1.0) [/src/Solution.sln]

Can this reference be removed?

As a work around I got it working by adding this to my csproj:

<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" />

@thomasduft
Copy link
Owner

Hi @WolfspiritM

Sure, will try and remove the mentioned dependency in the very near-term future (maybe til this weekend ;-)).

Thanks for the hint, cheers Thomas

@thomasduft
Copy link
Owner

thomasduft commented Feb 23, 2023

Hi @WolfspiritM

Removed it with v1.9.0. Hope it helps.

Have a nice day, Thomas

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

2 participants