I'm working on creating an Universal Windows Plateform application with WinJS and a Windows RT component. I use the TweetInvi in the RT component and call the associate class through JS. I installed TweetInviAPI (v1.1.1) with NuGet package installer so normally the dependencies are installed.
When I try to call TweetInvi I have an exception raised and the following message:
System.IO.FileNotFoundException: Could not load file or assembly 'Tweetinvi, Version=1.1.1.0, Culture=neutral, PublicKeyToken=7247f14397bf67b9' or one of its dependencies. Le fichier spécifié est introuvable.
Informations WinRT : System.IO.FileNotFoundException: Could not load file or assembly 'Tweetinvi, Version=1.1.1.0, Culture=neutral, PublicKeyToken=7247f14397bf67b9' or one of its dependencies. Le fichier spécifié est introuvable.
I already tried to reinstall, refresh packages in my solution. I also tried to fix the bindingRedirect
but it's quiet complicated and i'm a little bit lost in it. The only other dependencie is Microsoft.NetCore.UniversalWindowsPlatform
(v5.2.2)
I succeed in making it work on a normal uwp application but not with winjs and windows RT.
If you need any further information feel free to ask.
Thanks
UPDATE I use TweetInviAPI 1.2.0 alpha2 + Microsoft.NETCore.UnviersalWindowsPlatform 5.1.0 and i found that my project target .NET core 5.0
I'm digging in log file to find out the dependency that's not working and I found some interesting things for you @Linvi I think: Here is the raw part of my logs where the dependencies are not found http://pastebin.com/pJHddU3r
and here the a non exhaustive list of the non found dependencies:
- mscorlib
- system.core
- System
- System.net
- System.Net.Http
- System.ComponentModel.Annotations
- System.Net.NetworkInformation
- System.Runtime.Serialization.Primitives
- System.Runtime.Serialization.Xml
- System.Runtime.Serialization.Json
- System.ServiceModel.Primitives
- System.ServiceModel.Http
- System.ServiceModel.Duplex
- System.ServiceModel.NetTcp
- System.ServiceModel.Security .....
It's the first time i use nugget and it's really a bad experience, I have never seen such a bad package manager. I really want to use TweetInvi because it's the only realistic C# library on the market.