IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Développement Mobile .NET Discussion :

[UWP] Impossible d'installer Microsoft.Owin et Flickr API


Sujet :

Développement Mobile .NET

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    décembre 2010
    Messages
    4
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : décembre 2010
    Messages : 4
    Points : 5
    Points
    5
    Par défaut [UWP] Impossible d'installer Microsoft.Owin et Flickr API
    Bonjour

    J'essai d'installer Flikr NET API ainsi que Microsoft.Owin via Nuget j'ai testé toutes les versions aucune ne veut s'installer

    Ma version de Visual Studio : 2017
    .NET Framework : 4.7 (je viens d'installer la version 4.7 et il me dit qu'elle était déja existante)

    J'utilise la plateforme UWP.

    GET https://api.nuget.org/v3/registratio...win/index.json
    OK https://api.nuget.org/v3/registratio...win/index.json 147ms
    Restoring packages for c:\users\79037\documents\visual studio 2017\Projects\EpictureNet\EpictureNet\EpictureNet.csproj...
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586). Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586). Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586.
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-arm).
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-arm-aot).
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x64).
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64-aot. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64-aot. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x64-aot).
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x86).
    Package Microsoft.Owin 3.1.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Package Microsoft.Owin 3.1.0 supports: net45 (.NETFramework,Version=v4.5)
    Package Owin 1.0.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Package Owin 1.0.0 supports: net40 (.NETFramework,Version=v4.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x86-aot).
    Package restore failed. Rolling back package changes for 'EpictureNet'.
    Time Elapsed: 00:00:01.6416187
    ========== Finished ==========

  2. #2
    Modérateur
    Avatar de DotNetMatt
    Homme Profil pro
    CTO
    Inscrit en
    février 2010
    Messages
    3 611
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Etats-Unis

    Informations professionnelles :
    Activité : CTO
    Secteur : Finance

    Informations forums :
    Inscription : février 2010
    Messages : 3 611
    Points : 9 744
    Points
    9 744
    Billets dans le blog
    3
    Par défaut
    Tu peux essayer de nettoyer le cache de NuGet :
    1 - Telecharge la derniere version du client : https://dist.nuget.org/index.html (v4.1.10 a l'heure ou j'ecris ce post)
    2 - Lance la commande nuget locals all -clearEnsuite restore/installe ton package. Est-ce que ca aide ?
    Less Is More
    Pensez à utiliser les boutons , et les balises code
    Desole pour l'absence d'accents, clavier US oblige
    Celui qui pense qu'un professionnel coute cher n'a aucune idee de ce que peut lui couter un incompetent.

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    décembre 2010
    Messages
    4
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : décembre 2010
    Messages : 4
    Points : 5
    Points
    5
    Par défaut
    Je l'avais déja fait je crois je viens de la relancer et ça a ré échoué :/

    Restoring packages for C:\Users\79037\documents\visual studio 2017\Projects\Epicture\Epicture\Epicture.csproj...
    GET https://api.nuget.org/v3-flatcontain...api/index.json
    OK https://api.nuget.org/v3-flatcontain...api/index.json 490ms
    GET https://api.nuget.org/v3-flatcontain...pi.4.0.1.nupkg
    OK https://api.nuget.org/v3-flatcontain...pi.4.0.1.nupkg 404ms
    GET https://api.nuget.org/v3-flatcontain...net/index.json
    GET https://api.nuget.org/v3-flatcontain...son/index.json
    OK https://api.nuget.org/v3-flatcontain...son/index.json 110ms
    GET https://api.nuget.org/v3-flatcontain...on.9.0.1.nupkg
    OK https://api.nuget.org/v3-flatcontain...net/index.json 492ms
    GET https://api.nuget.org/v3-flatcontain...t.3.24.0.nupkg
    OK https://api.nuget.org/v3-flatcontain...on.9.0.1.nupkg 394ms
    OK https://api.nuget.org/v3-flatcontain...t.3.24.0.nupkg 417ms
    Installing runtime.native.System.Security.Cryptography 4.0.0.
    Installing Microsoft.NETCore.Targets 1.0.1.
    Installing Microsoft.NETCore.Platforms 1.0.2.
    Installing System.Security.Cryptography.Cng 4.2.0.
    Installing System.Threading.Tasks.Extensions 4.0.0.
    Installing Microsoft.NETCore.UniversalWindowsPlatform 5.2.3.
    Installing System.Diagnostics.DiagnosticSource 4.0.0.
    Installing Imgur.API 4.0.1.
    Installing FlickrNet 3.24.0.
    Installing System.Reflection.Emit.Lightweight 4.0.1.
    Installing System.Buffers 4.0.0.
    Installing Microsoft.NETCore 5.0.2.
    Installing runtime.native.System.IO.Compression 4.1.0.
    Installing Microsoft.NETCore.Portable.Compatibility 1.0.2.
    Installing System.Security.Cryptography.Primitives 4.0.0.
    Installing Microsoft.NETCore.Runtime.CoreCLR 1.0.3.
    Installing Microsoft.NETCore.Targets 1.0.2.
    Installing Microsoft.Win32.Primitives 4.0.1.
    Installing System.Collections.NonGeneric 4.0.1.
    Installing System.Collections.Specialized 4.0.1.
    Installing System.Security.Cryptography.Encoding 4.0.0.
    Installing System.ComponentModel.EventBasedAsync 4.0.11.
    Installing System.Security.Cryptography.Algorithms 4.2.0.
    Installing System.Runtime.InteropServices.RuntimeInformation 4.0.0.
    Installing System.Data.Common 4.1.0.
    Installing System.IO.Compression 4.1.0.
    Installing System.Diagnostics.Contracts 4.0.1.
    Installing System.Console 4.0.0.
    Installing System.Diagnostics.StackTrace 4.0.2.
    Installing System.Reflection.Emit.ILGeneration 4.0.1.
    Installing System.IO.IsolatedStorage 4.0.1.
    Installing System.Net.Http.Rtc 4.0.1.
    Installing System.Net.NameResolution 4.0.0.
    Installing System.Net.Requests 4.0.11.
    Installing System.Net.Sockets 4.1.0.
    Installing System.Net.WebHeaderCollection 4.0.1.
    Installing System.Net.WebSockets 4.0.0.
    Installing System.Net.WebSockets.Client 4.0.0.
    Installing System.Numerics.Vectors.WindowsRuntime 4.0.1.
    Installing System.Reflection.Context 4.0.1.
    Installing System.Runtime.InteropServices.WindowsRuntime 4.0.1.
    Installing System.Runtime.Serialization.Json 4.0.3.
    Installing System.Runtime.Serialization.Primitives 4.1.1.
    Installing System.Runtime.Serialization.Xml 4.1.2.
    Installing System.Runtime.WindowsRuntime 4.0.11.
    Installing System.Runtime.WindowsRuntime.UI.Xaml 4.0.1.
    Installing System.ServiceModel.Duplex 4.0.1.
    Installing System.ServiceModel.Http 4.1.0.
    Installing System.ServiceModel.NetTcp 4.1.0.
    Installing System.ServiceModel.Primitives 4.1.0.
    Installing System.ServiceModel.Security 4.0.1.
    Installing System.Text.Encoding.CodePages 4.0.1.
    Installing System.Threading.Overlapped 4.0.1.
    Installing System.Xml.XmlDocument 4.0.1.
    Installing System.Xml.XmlSerializer 4.0.11.
    Installing NETStandard.Library 1.6.0.
    Installing Newtonsoft.Json 9.0.1.
    Installing Microsoft.CSharp 4.0.1.
    Installing Microsoft.NETCore.Platforms 1.0.1.
    Installing Microsoft.VisualBasic 10.0.1.
    Installing System.AppContext 4.1.0.
    Installing System.Collections 4.0.11.
    Installing System.Collections.Concurrent 4.0.12.
    Installing System.Collections.Immutable 1.2.0.
    Installing System.ComponentModel 4.0.1.
    Installing System.ComponentModel.Annotations 4.1.0.
    Installing System.Diagnostics.Debug 4.0.11.
    Installing System.Diagnostics.Tools 4.0.1.
    Installing System.Diagnostics.Tracing 4.1.0.
    Installing System.Dynamic.Runtime 4.0.11.
    Installing System.Globalization 4.0.11.
    Installing System.Globalization.Calendars 4.0.1.
    Installing System.Globalization.Extensions 4.0.1.
    Installing System.IO 4.1.0.
    Installing System.IO.Compression 4.1.1.
    Installing System.IO.Compression.ZipFile 4.0.1.
    Installing System.IO.FileSystem 4.0.1.
    Installing System.IO.FileSystem.Primitives 4.0.1.
    Installing System.IO.UnmanagedMemoryStream 4.0.1.
    Installing System.Linq 4.1.0.
    Installing System.Linq.Expressions 4.1.0.
    Installing System.Linq.Parallel 4.0.1.
    Installing System.Linq.Queryable 4.0.1.
    Installing System.Net.Http 4.1.0.
    Installing System.Net.NetworkInformation 4.1.0.
    Installing System.Net.Primitives 4.0.11.
    Installing System.Numerics.Vectors 4.1.1.
    Installing System.ObjectModel 4.0.12.
    Installing System.Reflection 4.1.0.
    Installing System.Reflection.DispatchProxy 4.0.1.
    Installing System.Reflection.Extensions 4.0.1.
    Installing System.Reflection.Metadata 1.3.0.
    Installing System.Reflection.Primitives 4.0.1.
    Installing System.Reflection.TypeExtensions 4.1.0.
    Installing System.Resources.ResourceManager 4.0.1.
    Installing System.Runtime 4.1.0.
    Installing System.Runtime.Extensions 4.1.0.
    Installing System.Runtime.Handles 4.0.1.
    Installing System.Runtime.InteropServices 4.1.0.
    Installing System.Runtime.Numerics 4.0.1.
    Installing System.Security.Claims 4.0.1.
    Installing System.Security.Principal 4.0.1.
    Installing System.Text.Encoding 4.0.11.
    Installing System.Text.Encoding.Extensions 4.0.11.
    Installing System.Text.RegularExpressions 4.1.0.
    Installing System.Threading 4.0.11.
    Installing System.Threading.Tasks 4.0.11.
    Installing System.Threading.Tasks.Dataflow 4.6.0.
    Installing System.Threading.Tasks.Parallel 4.0.1.
    Installing System.Threading.Timer 4.0.1.
    Installing System.Xml.ReaderWriter 4.0.11.
    Installing System.Xml.XDocument 4.0.11.
    Installing Microsoft.NETCore.Jit 1.0.3.
    Installing Microsoft.NETCore.Windows.ApiSets 1.0.1.
    Installing System.Security.Cryptography.X509Certificates 4.1.0.
    Installing System.Private.DataContractSerialization 4.1.2.
    Installing System.Private.ServiceModel 4.1.0.
    Installing System.Reflection.Emit 4.0.1.
    GET https://api.nuget.org/v3-flatcontain...ole/index.json
    OK https://api.nuget.org/v3-flatcontain...ole/index.json 416ms
    GET https://api.nuget.org/v3-flatcontain...le.4.0.0.nupkg
    OK https://api.nuget.org/v3-flatcontain...le.4.0.0.nupkg 399ms
    Installing runtime.win10-x86-aot.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.win7-x86.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.win7-x86.Microsoft.NETCore.Jit 1.0.3.
    Installing runtime.win7-x86.Microsoft.NETCore.Runtime.CoreCLR 1.0.2.
    Installing runtime.win10-x64-aot.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.win7-x64.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.win7-x64.Microsoft.NETCore.Jit 1.0.3.
    Installing runtime.win8-arm.Microsoft.NETCore.Runtime.CoreCLR 1.0.2.
    Installing runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR 1.0.2.
    Installing runtime.win.Microsoft.Win32.Primitives 4.0.1.
    Installing runtime.win.System.Net.Sockets 4.1.0.
    Installing runtime.win10-arm-aot.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.any.System.Collections 4.0.11.
    Installing runtime.win.System.Diagnostics.Debug 4.0.11.
    Installing runtime.aot.System.Threading.Timer 4.0.1.
    Installing runtime.aot.System.Threading.Tasks 4.0.11.
    Installing runtime.any.System.Diagnostics.Tools 4.0.1.
    Installing runtime.any.System.Diagnostics.Tracing 4.1.0.
    Installing runtime.aot.System.Text.Encoding.Extensions 4.0.11.
    Installing runtime.aot.System.Text.Encoding 4.0.11.
    Installing runtime.any.System.Globalization.Calendars 4.0.1.
    Installing runtime.any.System.Globalization 4.0.11.
    Installing runtime.any.System.IO 4.1.0.
    Installing runtime.aot.System.Runtime.InteropServices 4.0.20.
    Installing runtime.win.System.IO.FileSystem 4.0.1.
    Installing runtime.aot.System.Runtime.Handles 4.0.1.
    Installing runtime.win.System.Net.Primitives 4.0.11.
    Installing runtime.aot.System.Runtime 4.0.20.
    Installing runtime.any.System.Reflection 4.1.0.
    Installing runtime.any.System.Reflection.Extensions 4.0.1.
    Installing runtime.any.System.Reflection.Primitives 4.0.1.
    Installing runtime.any.System.Resources.ResourceManager 4.0.1.
    Installing runtime.any.System.Runtime 4.1.0.
    Installing runtime.win.System.Runtime.Extensions 4.1.0.
    Installing runtime.any.System.Runtime.Handles 4.0.1.
    Installing runtime.aot.System.Resources.ResourceManager 4.0.0.
    Installing runtime.any.System.Runtime.InteropServices 4.1.0.
    Installing runtime.any.System.Text.Encoding 4.0.11.
    Installing runtime.any.System.Text.Encoding.Extensions 4.0.11.
    Installing runtime.any.System.Threading.Tasks 4.0.11.
    Installing runtime.any.System.Threading.Timer 4.0.1.
    Installing runtime.win.System.Console 4.0.0.
    Installing runtime.win8-arm.runtime.native.System.IO.Compression 4.0.1.
    Installing runtime.aot.System.Reflection.Primitives 4.0.0.
    Installing System.Private.Uri 4.0.1.
    Installing runtime.win7.System.Private.Uri 4.0.2.
    Installing runtime.aot.System.Collections 4.0.10.
    Installing runtime.aot.System.Diagnostics.Tools 4.0.1.
    Installing runtime.aot.System.Diagnostics.Tracing 4.0.20.
    Installing runtime.aot.System.Globalization 4.0.11.
    Installing runtime.aot.System.Globalization.Calendars 4.0.1.
    Installing runtime.aot.System.IO 4.1.0.
    Installing runtime.aot.System.Reflection.Extensions 4.0.0.
    Installing runtime.aot.System.Reflection 4.0.10.
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586). Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586.
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-arm).
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-arm-aot. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-arm-aot).
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x64).
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x64-aot. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x64-aot).
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x86).
    Package FlickrNet 3.24.0 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586) / win10-x86-aot. Package FlickrNet 3.24.0 supports: net20 (.NETFramework,Version=v2.0)
    One or more packages are incompatible with UAP,Version=v10.0.10586 (win10-x86-aot).
    Package restore failed. Rolling back package changes for 'Epicture'.
    Time Elapsed: 00:00:35.8853341
    ========== Finished ==========

  4. #4
    Modérateur
    Avatar de DotNetMatt
    Homme Profil pro
    CTO
    Inscrit en
    février 2010
    Messages
    3 611
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Etats-Unis

    Informations professionnelles :
    Activité : CTO
    Secteur : Finance

    Informations forums :
    Inscription : février 2010
    Messages : 3 611
    Points : 9 744
    Points
    9 744
    Billets dans le blog
    3
    Par défaut
    Ok, en regardant le package je m'apercois qu'il y a une version plus recente : 4.0.4-alpha. C'est une Portable Class Library donc tu peux l'installer pour UWP.

    Par contre c'est une prerelease donc a toi de juger si c'est suffisamment stable pour ton projet ou non.
    Less Is More
    Pensez à utiliser les boutons , et les balises code
    Desole pour l'absence d'accents, clavier US oblige
    Celui qui pense qu'un professionnel coute cher n'a aucune idee de ce que peut lui couter un incompetent.

  5. #5
    Futur Membre du Club
    Profil pro
    Inscrit en
    décembre 2010
    Messages
    4
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : décembre 2010
    Messages : 4
    Points : 5
    Points
    5
    Par défaut
    Super Merci ça a fonctionné

    Problème résolu

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Impossible d'installer Microsoft Office
    Par Malick dans le forum Microsoft Office
    Réponses: 1
    Dernier message: 12/02/2016, 23h56
  2. [2007] installation microsoft office professionnal 2007 impossible
    Par pafacil dans le forum Microsoft Office
    Réponses: 1
    Dernier message: 27/07/2012, 14h19
  3. Impossible d'installer Mandriva 2006
    Par Cazaux-Moutou-Philippe dans le forum Mandriva / Mageia
    Réponses: 7
    Dernier message: 14/10/2005, 17h54
  4. impossible d'installer une application
    Par kitiss dans le forum Windows XP
    Réponses: 4
    Dernier message: 23/09/2005, 21h14
  5. [Plugin][Tomcat]impossible d'installer le plugin tomcat
    Par LSL dans le forum Eclipse Java
    Réponses: 6
    Dernier message: 06/04/2005, 10h57

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo