-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update SQLitePCL.raw dependency #10724
Comments
@Eilon, what are the chances of updating a third-party dependency in a patch? |
@bricelam - it's certainly not impossible. We've done it before in some serious cases. |
Good to know. I'm not sure we'll be able to justify the risk since we'd have to update from version 1.1.7 to 1.1.10+, and the current workaround is simply to use |
The workaround gets really painful for some people that are trying to publish win-x64. I have seen other cases where doing win7-x64 breaks people when using. We need to support win-x64 in .NET Core 2.0. How would we service this package if there were a fix we needed in it? Are we saying that we can't take their latest patched version? |
There's nothing preventing users from just putting this in their project: <PackageReference Include="SQLitePCLRaw.bundle_green" Version="1.1.10" /> Updating the dependency in a 2.0.x patch is a balancing act between value and risk. Forcing every change between SQLitePCL.raw versions 1.1.7 and 1.1.10 onto everyone using EF Core 2.0.x is risky and we need to weigh it against the severity of the issue we're fixing. Of course we'll update the dependency in 2.1, but those customer are opting into the risk when they update to a new minor version. |
@Petermarcu If we feel that this meets the bar for patching, then we would ask Eric to create a new patch version for us that has just this change. We wouldn't just take all the changes since RTM in the same way that we wouldn't do that for our own code. However, based on the information above, including the workarounds, it doesn't seem to me like this meets the bar. @Eilon @divega Any thoughts on whether this meets the bar to patch? |
If it has such an easy workaround, it is doubtful that we would take it. In fact, there's more than one workaround, and they're both easy (use different RID, or upgrade dependency). |
Ok, so it sounds like we should just make sure we pick up the updated version in 2.1? |
We update the dependency in 2.1 and verify that the issue is fixed. Leaving this open to track. |
win-x64
FYI Eric Sink just published a version of SQLitePCLRaw that has this fix. https://www.nuget.org/packages/SQLitePCLRaw.bundle_green/1.1.10-pre20180223200113 |
EFCore using Sqlite doesn't support publishing an app to the generic
win-x64
orwin-x86
runtime identifier. In .NET Core 2.0, we moved to telling people to use the generic runtime identifiers ofwin-x64
,linux-x64
andosx-x64
but this issue prevents that from working on Windows.ericsink/SQLitePCL.raw#194
People should be able to
dotnet publish -r win-x64
and get a working application on Windows.If you follow this how to and then try to publish your application using the above command, you will get:
I'm filing this here because I think this should be tracked and likely patched into the 2.0 SDK.
The text was updated successfully, but these errors were encountered: