c# - NuGet package update error for EntityFrameworkCore.Tools -
i updated old c# uwp project of mine haven't worked on since december/january. decided open , update packaged via nuget
.
i'm running vs2017 v15.3.1
, nuget v4.3.0
.
so updated packages via nuget, having trouble updating package microsoft.entityframeworkcore.tools
:
restoring packages d:\programming\c#\projekts vs2017\myuwpproject\myuwpproject\myuwpproject.csproj... https://api.nuget.org/v3-flatcontainer/microsoft.identitymodel.clients.activedirectory/index.json ok https://api.nuget.org/v3-flatcontainer/microsoft.identitymodel.clients.activedirectory/index.json 462ms microsoft.onedrivesdk.authentication 1.0.10 not provide inclusive lower bound dependency microsoft.identitymodel.clients.activedirectory (> 2.22.0 && < 3.0.0). approximate best match of microsoft.identitymodel.clients.activedirectory 2.22.302111727 resolved. package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393). package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-arm. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-arm-aot. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-x64. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-x64-aot. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-x86. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393) / win10-x86-aot. package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package restore failed. rolling package changes 'myuwpproject'. time elapsed: 00:00:02.1287297 ========== finished ==========
so removed project , in case removed folder c:\program files (x86)\microsoft sdks\nugetpackages\tools
well, no luck. when trying reinstall it, above output.
first thought might because of
microsoft.onedrivesdk.authentication 1.0.10 not provide inclusive lower bound dependency microsoft.identitymodel.clients.activedirectory (> 2.22.0 && < 3.0.0). approximate best match of microsoft.identitymodel.clients.activedirectory 2.22.302111727 resolved.
so after removing it. still gave same of message (without microsoft.onedrivesdk.authentication
part), reinstalled again.
i tried set minimum , target version creators update in hope of solving uap10.0.14393
issue, no luck, set minimum version 14393 (anniversary update).
can me right direction? i'm not sure, else try.
if help, rest of installed packages are:
microsoft.entityframeworkcore.sqlite v2.0.0 microsoft.netcore.universalwindowsplatform v5.4.0 microsoft.onedrivesdk v2.0.7 microsoft.onedrivesdk.authentication v1.0.10 win2d.uwp v1.21.0
so updated packages via nuget, having trouble updating package microsoft.entityframeworkcore.tools
there key point need pay attention. microsoft, author of package microsoft.entityframeworkcore.tools
has released new version 2.0 on august 12, 2017 (8/12/2017) (several days ago), which supports: .netstandard2.0.
however, sdk 10.0.14393
, 10.0.15063
not been updated compatible package .netstandard2.0. if install package, supports: .netstandard2.0. uwp project, below error:
package microsoft.entityframeworkcore.tools 2.0.0 not compatible uap10.0.14393 (uap,version=v10.0.14393). package microsoft.entityframeworkcore.tools 2.0.0 supports: netstandard2.0 (.netstandard,version=v2.0) package
to resolve issue, please please use package microsoft.entityframeworkcore.tools
version 1.1.1 instead of 2.0.0.
update: there release note .netstandard 2.0: "uwp work in progress , ship later year."
Comments
Post a Comment