Cannot add to VS
Cannot add to VS
18 Oct 2023, 08:43
Cannot install on VS
I get the following errors:
Each package is licensed to you by its owner. NuGet is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may include dependencies which are governed by additional licenses. Follow the package source (feed) URL to determine any dependencies.
Package Manager Console Host Version 6.7.0.127
Type 'get-help NuGet' to see all available NuGet commands.
PM> NuGet\Install-Package cTrader.Automate -Version 1.0.8
Restoring packages for C:\Users\sirin\OneDrive\Documents\cAlgo\Sources\Robots\Grid Level Trading\Grid Level Trading\Grid Level Trading.csproj...
GET https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0
NotFound https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0 1773ms
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
GET https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0
NotFound https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0 540ms
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
GET https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0
NotFound https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0 532ms
NuGet\Install-Package : NU1301: Failed to retrieve information about 'cTrader.Automate' from remote source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
At line:1 char:1
+ NuGet\Install-Package cTrader.Automate -Version 1.0.8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
NuGet\Install-Package : Package restore failed. Rolling back package changes for 'Grid Level Trading'.
At line:1 char:1
+ NuGet\Install-Package cTrader.Automate -Version 1.0.8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Time Elapsed: 00:00:07.3382475
PM>
Replies
sirinath
19 Oct 2023, 09:04
( Updated at: 19 Oct 2023, 11:18 )
RE: Cannot add to VS
PanagiotisChar said:
Hi,
What do you need to install and why? Usually there is nothing you need to do to work with VS
Because I am getting a missing assembly reference.
Build started...
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Retrying 'FindPackagesByIdAsyncCore' for source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
Response status code does not indicate success: 404 (Not Found).
Failed to restore C:\Users\XXXXXX\cAlgo\Sources\Robots\XXXX\XXXX\XXXX.csproj (in 5.98 sec).
1>------ Build started: Project: Grid Level Trading, Configuration: Debug Any CPU ------
NuGet package restore failed. Please see Error List window for detailed warnings and errors.
1>C:\Users\XXXXXX\cAlgo\Sources\Robots\XXXX\XXXX\XXXX.csproj : error NU1301: Failed to retrieve information about 'cTrader.Automate' from remote source 'https://nuget.org/FindPackagesById()?id='cTrader.Automate'&semVerLevel=2.0.0'.
1>Done building project "Grid Level Trading.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 02:28 PM and took 06.403 seconds ==========
@sirinath
sirinath
19 Oct 2023, 09:06
( Updated at: 21 Dec 2023, 09:23 )
RE: Cannot add to VS
PanagiotisChar said:
Hi,
What do you need to install and why? Usually there is nothing you need to do to work with VS
@sirinath
PanagiotisChar
19 Oct 2023, 06:10 ( Updated at: 19 Oct 2023, 06:18 )
Hi,
What do you need to install and why? Usually there is nothing you need to do to work with VS
@PanagiotisChar