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

Autofac.ServiceFabric Dependencies Incompatible With Microsoft.ServiceFabric.AspNetCore.Kestrel #24

Closed
mkrain opened this issue Jan 26, 2018 · 1 comment

Comments

@mkrain
Copy link

mkrain commented Jan 26, 2018

Any chance to update the reference packages? I'm getting this error when trying to use ASP.NET Core Kestrel:

Error CS1705 Assembly 'Microsoft.ServiceFabric.AspNetCore.Kestrel' with identity 'Microsoft.ServiceFabric.AspNetCore.Kestrel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Fabric' with identity 'System.Fabric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

This is because Autofac.ServiceFabric depends on Microsoft.ServiceFabric.Actors which in turn depends on Microsoft.ServiceFabric, which again depends on System.Fabric (the incompatible version).

Also would it be better to break out the Actors vs Stateless vs Stateful integrations into their own packages?

@tillig
Copy link
Member

tillig commented Jan 25, 2019

If adding a direct reference to the 6.0 version of the System.Fabric library doesn't fix it, then this is likely somewhat related to the #18 issue where various libraries are pinning exact match versions rather than ranges. Rather than track this twice, we can fight version issues in #18.

@tillig tillig closed this as completed Jan 25, 2019
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