autofac / Autofac.ServiceFabric

Autofac integration for Azure Service Fabric. Provides service factory implementations for Actors, Stateful Services and Stateless Services.
MIT License
26 stars 27 forks source link

ServiceFabric package requires Autofac 4.6 #12

Closed tidusjar closed 7 years ago

tidusjar commented 7 years ago

Hello,

I installed the latest nuget package (1.0.0-beta2) and when attempting to use the RegisterServiceFabricSupport extension method I am getting the following:

Assembly 'Autofac.Integration.ServiceFabric' with identity 'Autofac.Integration.ServiceFabric, Version=1.0.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' uses 'Autofac, Version=4.6.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da' which has a higher version than referenced assembly 'Autofac' with identity 'Autofac, Version=4.5.0.0, Culture=neutral, PublicKeyToken=17863af14b0044da'

Looking at the package it takes in the Autofac 4.5.0 package and not 4.6.X. After installing 4.6.1 it now compiles correctly.