Purpose
This page provides information on how to download an extension using nuget. if a user is having problems with the extension down loader, this can be useful to debug and/or provide more details on the extension download process,
For more information, refer to:
- Official documentation for extension downloading: Download an extension
CAST Component Version
Release | Yes/No |
---|---|
8.2 | |
8.3 |
Applicable RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | N/A |
Microsoft SQL Server | N/A |
CSS3 | N/A |
CSS2 | N/A |
Details
Extension Down loader uses the .NET nuget assembly to download packages. By using nuget.exe, a more detailed trace on why extension down loader is not working can be found.
To use nuget, do the following:
- Obtain the executable nuget.exe which can be downloaded from here - Nuget
- Once you have downloaded the executable, then nuget.exe can be used to download the extensions using the command line like the following for the extension com.castsoftware.internal.platform:
- <path to nuget.exe>\nuget.exe install com.castsoftware.internal.platform -Source https://extend.castsoftware.com/V2/api/V2/ -Verbosity detailed
- It will then prompt for an id and password. Provide the CAST Extend credentials for this.
- The process will then run and provide information on the steps.
Below are sample messages of a run:
NuGet Version: 3.5.0.1938 Feeds used: https://extend.castsoftware.com/V2/api/V2/ GET https://extend.castsoftware.com/V2/api/V2/FindPackagesById()?id='com.castsoftware.internal.platform' OK https://extend.castsoftware.com/V2/api/V2/FindPackagesById()?id='com.castsoftware.internal.platform' 51ms Attempting to gather dependency information for package 'com.castsoftware.internal.platform.0.6.0' with respect to project 'C:\Users\xxx\Downloads', targeting 'Any,Version=v0.0' Package com.castsoftware.internal.platform from source https://extend.castsoftware.com/V2/api/V2/ gathered from cache. Total number of results gathered : 1 Gathering dependency information took 153.63 ms Summary of time taken to gather dependencies per source : Attempting to resolve dependencies for package 'com.castsoftware.internal.platform.0.6.0' with DependencyBehavior 'Lowest' Resolving dependency information took 0 ms Resolving actions to install package 'com.castsoftware.internal.platform.0.6.0' Resolved actions to install package 'com.castsoftware.internal.platform.0.6.0' Retrieving package 'com.castsoftware.internal.platform 0.6.0' from 'https://extend.castsoftware.com/V2/api/V2/'. GET https://extend.castsoftware.com/V2/api/v2/package/com.castsoftware.internal.platform/0.6.0 Please provide credentials for: https://extend.castsoftware.com/V2/api/V2/ UserName: xxxx Password: ********** OK https://extend.castsoftware.com/V2/api/v2/package/com.castsoftware.internal.platform/0.6.0 5239ms Acquiring lock for the installation of com.castsoftware.internal.platform 0.6.0 Acquired lock for the installation of com.castsoftware.internal.platform 0.6.0 Installing com.castsoftware.internal.platform 0.6.0. Completed installation of com.castsoftware.internal.platform 0.6.0 Adding package 'com.castsoftware.internal.platform.0.6.0' to folder 'C:\Users\xxx\Downloads' Added package 'com.castsoftware.internal.platform.0.6.0' to folder 'C:\Users\xxx\Downloads' Successfully installed 'com.castsoftware.internal.platform 0.6.0' to C:\Users\xxx\Downloads Executing nuget actions took 13.17 sec
Notes/comments
Related Pages