Skip to content
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

NS2 System.Data.SqlClient reference causes warnings #818

Closed
rockfordlhotka opened this issue Mar 21, 2018 · 3 comments
Closed

NS2 System.Data.SqlClient reference causes warnings #818

rockfordlhotka opened this issue Mar 21, 2018 · 3 comments
Assignees

Comments

@rockfordlhotka
Copy link
Member

@rockfordlhotka rockfordlhotka commented Mar 21, 2018

As per MarimerLLC/cslaforum#502

The assembly 'System.Data.SqlClient.dll' was loaded from a different path than the provided path
provided path: /Users/user135287/Library/Caches/Xamarin/mtbs/builds/UI.iOS/4a61fb5d59d8c2875723f6d1e7f44ce3/bin/iPhoneSimulator/Debug/System.Data.SqlClient.dll
actual path: /Library/Frameworks/Xamarin.iOS.framework/Versions/11.6.1.4/lib/mono/Xamarin.iOS/Facades/System.Data.SqlClient.dll
@rockfordlhotka
Copy link
Member Author

@rockfordlhotka rockfordlhotka commented Apr 25, 2018

This problem sadly does still exist even after updating the version of System.Data.SqlClient referenced by CSLA. It appears that Xamarin forms (for example) pulls the dependency from a different path.

Solving this will take further research. Fortunately it is just a warning, not an error, and has no real-world impact.

@rockfordlhotka rockfordlhotka removed their assignment Apr 25, 2018
@rockfordlhotka rockfordlhotka removed this from the 4.7.101 milestone Apr 25, 2018
@rockfordlhotka rockfordlhotka added this to the 4.7.300 milestone Jul 17, 2018
@rockfordlhotka
Copy link
Member Author

@rockfordlhotka rockfordlhotka commented Aug 23, 2018

This issue isn't the same, but might perhaps be related? It sounds like there are per-platform System.Data.SqlClient implementations, and a dummy one for NS2?

https://github.com/dotnet/corefx/issues/24229

Also, I've blogged about this in the hopes that someone knows an answer...

http://www.lhotka.net/weblog/IssueReferencingSystemDataSqlClientInNetStandardAndXamarin.aspx

@rockfordlhotka
Copy link
Member Author

@rockfordlhotka rockfordlhotka commented Jun 6, 2019

Fixed in #981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.