.NET Development
Westwind.Data.EfCore NuGet Install Error
Gravatar is a globally recognized avatar based on your email address. Westwind.Data.EfCore NuGet Install Error
  Craig Tucker
  All
  Jul 11, 2022 @ 01:47pm

Hi Rick, I am trying to install Westwind.Data.EfCore into the Piranha CMS content manager to have better wwc access to make SQL calls to stored procedures etc. but the NuGet install keeps failing with

"User canceled out of save dialog (Exception from HRESULT: 0x8004000C (OLE_E_PROMPTSAVECANCELLED))".

I have a feeling it is because of target framework, Piranha in .NET 6.0.

Do you know what might be going on here? Thanks, Craig

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Rick Strahl
  Craig Tucker
  Jul 11, 2022 @ 02:13pm

Latest version only works in .NET Core 6.x.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Craig Tucker
  Rick Strahl
  Jul 12, 2022 @ 05:54am

The solution is .NET Core 6.x. I'll reach out to you for assistance. Thanks, Craig

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Rick Strahl
  Craig Tucker
  Jul 12, 2022 @ 12:06pm

Older versions of the package support older versions of .NET Core.

The main issue that the EF Core libraries are not compatible with earlier versions, so once we jump to EF Core 6.0 .NET 5 support is no longer available unfortunately, so essentially these libraries have to be synced to the EF Core versions they work with.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Craig Tucker
  Rick Strahl
  Jul 13, 2022 @ 08:25am

Hi Rick, I am confused as usual... Below is the project target. Aren't they both .NET 6?

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Rick Strahl
  Craig Tucker
  Jul 13, 2022 @ 01:55pm

Yes that should work just fine...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Westwind.Data.EfCore NuGet Install Error
  Craig Tucker
  Rick Strahl
  Jul 18, 2022 @ 10:56am

I reran the Nuget install and it installed and is running perfectly with no issues. Not sure why I was getting error before but good to go now. So glad you ported ExecuteDynamicDataReader over! Thanks, Craig

© 1996-2024