How do I tell SCA to not attempt to download from the powershell gallery?
PeterDaniels
Posts: 89 Bronze 3
I was demonstrating SCA today without an internet connection. It showed the warnings below. How can I tell SCA to skip DL and use the currently installed versions?
package provider manually.
...
Could not find any suitable versions of SqlChangeAutomation from any registered PSRepository
WARNING: Network connectivity may not be available, unable to reach remote
April 16th 2019 10:32:37
Info
sources.
April 16th 2019 10:32:37
Info
WARNING: Unable to bootstrap the required package provider due to problems with
April 16th 2019 10:32:37
Info
network connectivity. Please fix your network connection. If this is not
April 16th 2019 10:32:37
Info
possible, refer to 'Get-Help Install-PackageProvider' or
April 16th 2019 10:32:37
Info
http://go.microsoft.com/fwlink/?LinkId=626941 for guidance on installing the
April 16th 2019 10:32:37
Info
...
WARNING: Unable to resolve package source
April 16th 2019 10:32:42
Info
VERBOSE: Total package yield:'0' for the specified package
April 16th 2019 10:32:42
Info
'SqlChangeAutomation'.
April 16th 2019 10:32:42
Warning
Tagged:
Best Answer
-
Dan B Posts: 287 Gold 5Hi Peter,
Apologies for the delay as I have been checking this with the team.At present, you can't change this behaviour within the tool. The best thing to do would be to use the team's uservoice page here https://redgate.uservoice.com/forums/267000-sql-change-automation to suggest this as an improvement.
Kind regards,
Dan Bainbridge
Product Support Engineer | Redgate Software
Answers
As requested if you still need assistance on this could you please elaborate on your setup and we can assist further.
Dan Bainbridge
Product Support Engineer | Redgate Software
Do you have either
In your build script?
Dan Bainbridge
Product Support Engineer | Redgate Software