dotnet / systemweb-adapters

MIT License
337 stars 59 forks source link

Some methods don't resolve on .NET Framework #486

Closed twsouthwick closed 2 months ago

twsouthwick commented 7 months ago

During porting, we had been using various tools (such as EnablePackageValidation and some tests) to validate that the members/types ported matched with System.Web.dll so that the assembly would resolve correctly. However, looks like the testing did not validate return types correctly. This is to track methods that will not resolve correctly on framework when using the .NET Standard library:

Can obsolete and add the correct members if possible:

Will require a breaking change to the API:

Thanks @AvremelM for point out the HttpResponseBase issue. I've added a test in #487 to catch further regressions and to identify other existing ones.

This will probably necessitate a bump for v2.0 of the adapters as changing these signatures is technically a breaking change (although it is currently in a broken state...)

See the baseline of known issues that should be updated as these are fixed