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

Stub Type.GetInterfaceMap on CoreRT #2820

Merged
merged 2 commits into from
Feb 13, 2021
Merged

Stub Type.GetInterfaceMap on CoreRT #2820

merged 2 commits into from
Feb 13, 2021

Conversation

MaceWindu
Copy link
Contributor

Fix #2680

Note that this issue applies only to CoreRT runtime, enabled by Compile with .NET Native tool chain build option.
Implementation for this method were added to corert by this PR but it looks like it was never released and whole CoreRT stuff looks like dead horse.

@Daveismus, I'm replacing GetInterfaceMap implementation with noop method, which means you cannot use interfaces in your data model (linq2db will not see them). Another option to make it work is to disable AOT buid for your project...

@MaceWindu MaceWindu added this to the 3.3.0 milestone Feb 7, 2021
@MaceWindu
Copy link
Contributor Author

/azp run test-all

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MaceWindu
Copy link
Contributor Author

/azp run test-all

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MaceWindu
Copy link
Contributor Author

Tested stub with sqlite - as expected only 4 tests that use interface mappings failed. Also managed to run some queries in UWP using MS sqlite provider.

@MaceWindu MaceWindu merged commit 0919c30 into master Feb 13, 2021
@MaceWindu MaceWindu deleted the issue/2680_uwp branch February 13, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

SQLite.Ms wants to use System.Data.Sqlite in Release mode
2 participants