Open Eikon .NET Sample - Unable to find package
When I try and build the sample ApiDemo-1.0.0-build00018, it tries to resolve the packages via Nuget, but I get an error about the package version
Error 5 Unable to find version '2.1.2' of package 'Common.Logging'. TimeSeriesDailyIntervalDemo
Error 6 Unable to find version '2.1.2' of package 'Common.Logging.Log4Net1211'. TimeSeriesDailyIntervalDemo
Error 7 Unable to find version '1.0.2' of package 'Expression.Blend.Sdk'. TimeSeriesDailyIntervalDemo
Error 8 Unable to find version '2.0.3' of package 'log4net'. TimeSeriesDailyIntervalDemo
Error 9 Unable to find version '2.0.0.640' of package 'protobuf-net'. TimeSeriesDailyIntervalDemo
I've tried changing the packages.config file to reference the latest version available on Nuget but I still see the same errors
Error 1 Unable to find version '2.2.0' of package 'Common.Logging'. RealtimeChainSubscriptionDemo
Error 2 Unable to find version '2.2.0' of package 'Common.Logging.Log4Net1211'. RealtimeChainSubscriptionDemo
Error 3 Unable to find version '1.0.2' of package 'Expression.Blend.Sdk'. RealtimeChainSubscriptionDemo
Error 4 Unable to find version '2.0.3' of package 'log4net'. RealtimeChainSubscriptionDemo
Error 5 Unable to find version '2.0.0.668' of package 'protobuf-net'. RealtimeChainSubscriptionDemo
Does anyone know how I can resolve these? Thanks
Neil
*****Cant comment on thread so response is here****
Hi julien, Denis
Thanks for your feedback
I have managed to use nuget to reference some other packages on a blank project and these work fine but i still cant get it to work for the sample.
I currently have the latest version of Nuget installed which is 2.8.50313.31.
One thing I noticed is when I manually use the nuget console to get Common.Logging, it still errors
PM> Install-Package Common.Logging
Install-Package : Unable to find package 'Common.Logging'.
At line:1 char:16
+ Install-Package <<<< Common.Logging
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackage
Command
I wonder if this is an issue other people are getting or if its just my machine?
neil
Error 5 Unable to find version '2.1.2' of package 'Common.Logging'. TimeSeriesDailyIntervalDemo
Error 6 Unable to find version '2.1.2' of package 'Common.Logging.Log4Net1211'. TimeSeriesDailyIntervalDemo
Error 7 Unable to find version '1.0.2' of package 'Expression.Blend.Sdk'. TimeSeriesDailyIntervalDemo
Error 8 Unable to find version '2.0.3' of package 'log4net'. TimeSeriesDailyIntervalDemo
Error 9 Unable to find version '2.0.0.640' of package 'protobuf-net'. TimeSeriesDailyIntervalDemo
I've tried changing the packages.config file to reference the latest version available on Nuget but I still see the same errors
Error 1 Unable to find version '2.2.0' of package 'Common.Logging'. RealtimeChainSubscriptionDemo
Error 2 Unable to find version '2.2.0' of package 'Common.Logging.Log4Net1211'. RealtimeChainSubscriptionDemo
Error 3 Unable to find version '1.0.2' of package 'Expression.Blend.Sdk'. RealtimeChainSubscriptionDemo
Error 4 Unable to find version '2.0.3' of package 'log4net'. RealtimeChainSubscriptionDemo
Error 5 Unable to find version '2.0.0.668' of package 'protobuf-net'. RealtimeChainSubscriptionDemo
Does anyone know how I can resolve these? Thanks
Neil
*****Cant comment on thread so response is here****
Hi julien, Denis
Thanks for your feedback
I have managed to use nuget to reference some other packages on a blank project and these work fine but i still cant get it to work for the sample.
I currently have the latest version of Nuget installed which is 2.8.50313.31.
One thing I noticed is when I manually use the nuget console to get Common.Logging, it still errors
PM> Install-Package Common.Logging
Install-Package : Unable to find package 'Common.Logging'.
At line:1 char:16
+ Install-Package <<<< Common.Logging
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackage
Command
I wonder if this is an issue other people are getting or if its just my machine?
neil
Tagged:
0
Best Answer
-
The issue was that the Nuget server location was unticked ![alt text][1] [1]:
http://techoverflow.int.thomsonreuters.com/upfiles/Nuget.bmp0
Answers
-
Hi Neil, You seem to have a nuget connectivity issue. Please restore the default packages.config provided in the project, and you have to fix your nuget connectivity issue (you can try to create a new project and add a nuget reference to see if it works properly). Let me know if it works. Julien.0
-
In case the problem persists after applying Julien's suggestion, and if you use Visual Studio 2010 or 2012, consider upgrading the NuGet Package Manager extension from
http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c0 -
Are the Visual Studio options "Allow NuGet to download missing packages" and "Automatically ..." (screenshot below) checked? If not, please try again by starting from a new unzipped solution with these options checked. ![alt text][1] [1]:
http://techoverflow.int.thomsonreuters.com/upfiles/NuGet_Restore_Options.png0 -
The issue was that I had unchecked the box to allow access to the Nuget server. Once this was checked it worked fine0
-
Hi Neil, is there any of below contributions that could be marked as answer?0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛