-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Could not load type 'SqlGuidCaster' from assembly System.Data.SqlClient on .NET 8 Preview #86969
Comments
Tagging subscribers to this area: @DavoudEshtehari, @David-Engel, @JRahnama Issue DetailsDescriptionRunning on .NET 8 Preview 4, reflection into
This appears to be identical to the issue reported for Microsoft.Data.SqlClient a few months ago. Reproduction StepsConsole app, targeting .NET 8 Preview 4.
Expected behaviorApplication should not throw an exception Actual behaviorException as noted above Regression?Works fine under .NET 7.0 Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
@tippmar-nr this is a duplicate of #1930 in SqlClient. I will close this issue and you can follow the progress on the mentioned issue and related PR. |
@JRahnama So should we expect this issue to be resolved for |
@tippmar-nr @danmoseley is this something that |
This is owned by the SQL team -- @David-Engel (per https://github.com/dotnet/runtime/blob/main/docs/area-owners.md) should answer. Note, it may be easier to ask them over in https://github.com/dotnet/sqlclient |
System.Data.SqlClient, is unlikely to receive further updates, much less those that are only for fixing Reflection issues. Regards, |
Description
Running on .NET 8 Preview 4, reflection into
System.Data.SqlClient
throws an exception:This appears to be identical to the issue reported for Microsoft.Data.SqlClient a few months ago.
Reproduction Steps
Console app, targeting .NET 8 Preview 4.
Add the latest
System.Data.SqlClient
packageExpected behavior
Application should not throw an exception
Actual behavior
Exception as noted above
Regression?
Works fine under .NET 7.0
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: