Exception thrown: 'System.PlatformNotSupportedException' in Microsoft.Data.SqlClient.dll
An exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.Data.SqlClient.dll but was not handled in user code
Microsoft.Data.SqlClient is not supported on this platform.
However, Microsoft.Data.SqlClient woks fine with Wealthlab.core and works fine for a WPF desktop window app. Does not work with Wealthlab.WPF for any versions of Microsoft.Data.SqlClient.
Thanks
Greg
An exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.Data.SqlClient.dll but was not handled in user code
Microsoft.Data.SqlClient is not supported on this platform.
However, Microsoft.Data.SqlClient woks fine with Wealthlab.core and works fine for a WPF desktop window app. Does not work with Wealthlab.WPF for any versions of Microsoft.Data.SqlClient.
Thanks
Greg
Rename
Have you already checked this out?
https://www.wealth-lab.com/Discussion/Add-Microsoft-Data-SqlClient-dll-2-1-2-as-an-assembly-reference-5780
https://www.wealth-lab.com/Discussion/Add-Microsoft-Data-SqlClient-dll-2-1-2-as-an-assembly-reference-5780
Yes. I used Microsoft.data.sqlclient 2.2.1 for both WL7 and WL8. It worked fine. However if I update the 2.2.1 to higher version, I will see platformNotSupport exception; or to include Wealthlab.WPF, see platformNotSupport exception even at 2.2.1.
Looks like WPF app requires Microsoft.data.sqlclient at least 3.1.1 to work.
Looks like WPF app requires Microsoft.data.sqlclient at least 3.1.1 to work.
Your Response
Post
Edit Post
Login is required