Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Open Eikon .NET Sample - Unable to find package
Neil Shah
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
Find more posts tagged with
eikon
nuget
refinitiv-internal
Accepted answers
Neil Shah
The issue was that the Nuget server location was unticked
![alt text][1]
[1]:
http://techoverflow.int.thomsonreuters.com/upfiles/Nuget.bmp
All comments
julien.gony
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.
Denis Dollfus
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-c7cf6bc9970c
Denis Dollfus
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.png
Neil Shah
The issue was that I had unchecked the box to allow access to the Nuget server. Once this was checked it worked fine
Denis Dollfus
Hi Neil, is there any of below contributions that could be marked as answer?
Neil Shah
The issue was that the Nuget server location was unticked
![alt text][1]
[1]:
http://techoverflow.int.thomsonreuters.com/upfiles/Nuget.bmp
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act