castleproject/Windsor

Make Castle.Windsor.Extensions.DependencyInjection depend on abstractions

ikkentim opened this issue · 2 comments

Castle.Windsor.Extensions.DependencyInjection currently depends on the implementations of the hosting and logging extensions. It would be nice if it could depend on the abstractions instead.

- <PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.3" />
- <PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.3" />
+ <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.3" />
+ <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.3" />

I asked the same question when this was contributed by a previous contributor and was told it had to work that way. Gladly accept the change.

I've attached a pull request for this change.