question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating Windsor to support Castle.Core@5.0.0 and modern TFMs

See original GitHub issue

With the release of Castle.Core@5.0.0, Windsor needs updating to support it as there are breaking changes (some detail in #610). 5.0.0 also has an updated list of TFMs:

<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>

The current targets for Windsor are:

Castle.Facilities.AspNet.Mvc = net45
Castle.Facilities.AspNet.Mvc.Tests = net45
Castle.Facilities.AspNet.SystemWeb = net45
Castle.Facilities.AspNet.SystemWeb.Tests = net45
Castle.Facilities.AspNet.WebApi = net45
Castle.Facilities.AspNet.WebApi.Tests = net45
Castle.Facilities.AspNetCore = netstandard2.0
Castle.Facilities.AspNetCore.Tests = netcoreapp2.0
Castle.Facilities.Logging = net45; netstandard2.0
Castle.Facilities.WcfIntegration = net45
Castle.Facilities.WcfIntegration.Demo = net45
Castle.Facilities.WcfIntegration.Tests = net45
Castle.Windsor = net45; netstandard2.0
Castle.Windsor.Extensions.DependencyInjection = netstandard2.0
Castle.Windsor.Extensions.DependencyInjection.Tests = net5.0; 
Castle.Windsor.Tests = net45; net5.0

Having not done much with the Windsor codebase, is it insane to suggest aligning with the Core TFM list, where reasonable? Does targeting net6.0 even make sense for Windsor? At the very least, it should support net462;netstandard2.0 against Castle.Core@5.0.0, which might be a good first step.

Could also consider retiring some of the Facilities, download counts don’t always set the world on fire (https://www.nuget.org/packages/Castle.Facilities.AspNet.Mvc/, https://www.nuget.org/packages/Castle.Facilities.AspNet.WebApi/).

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:7
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
rsr-maerskcommented, Jun 10, 2022

Any luck here with a new build here. Latest Moq gives: image on integration tests with: _container = new WindsorContainer();

1reaction
Jevoniuscommented, Jul 15, 2022

Yeah, it’s a pain there’s such a critical issue with no workaround. Hopefully there will be some progress soon 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases · castleproject/Windsor
Castle Windsor is a best of breed, mature Inversion of Control container available for .NET - Releases · castleproject/Windsor.
Read more >
Castle Project
Castle Windsor 4.0.0 is now available. This release includes the following changes: Breaking Changes: Remove .NET 3.5, .NET 4.0 and .NET 4.0 Client...
Read more >
Full text of "The New York Times , 1975, USA, English"
'S Since then 17,000 persons died and nearly a mil- 3D— roughly a third of So- malia's total population— be- le dependent on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found