ekgcorp
ekgcorp

Reputation: 165

error installing Entity Framework Core SqlServer on VS 2017

Does anyone have any ideas about how to fix this?

I have tried it various different ways and version on VS 2015, and then I just recently upgraded to VS 2017, but still have same issue.

I'm in the process of installing Entity Framework Core, and wanted to connect to a SqlServer.

When I install the package via Pack Man Console or via NuGet interface, I get the following error....

I have the following installed currently.. I have the following installed currently..

System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm. One or more packages are incompatible with UAP,Version=v10.0 (win10-arm). System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-arm-aot. One or more packages are incompatible with UAP,Version=v10.0 (win10-arm-aot). System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x64. One or more packages are incompatible with UAP,Version=v10.0 (win10-x64). System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x64-aot. One or more packages are incompatible with UAP,Version=v10.0 (win10-x64-aot). System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x86. One or more packages are incompatible with UAP,Version=v10.0 (win10-x86). System.Threading.Thread 4.3.0 provides a compile-time reference assembly for System.Threading.Thread on UAP,Version=v10.0, but there is no run-time assembly compatible with win10-x86-aot. One or more packages are incompatible with UAP,Version=v10.0 (win10-x86-aot). Package restore failed. Rolling back package changes for 'RapidDeploy'.

Thanks in advance for any help on this. Randy

Upvotes: 0

Views: 276

Answers (1)

ErikEJ
ErikEJ

Reputation: 41799

You cannot use the SQL Server provider with UWP applications, you must use the SQLite provider instead. https://learn.microsoft.com/en-us/ef/core/providers/sql-server/

Upvotes: 0

Related Questions