Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 12.2 to 13.2 fails due to AjaxControlToolkit #149

Open
PrabhdeepSingh opened this issue Sep 27, 2021 · 2 comments
Open

Upgrade from 12.2 to 13.2 fails due to AjaxControlToolkit #149

PrabhdeepSingh opened this issue Sep 27, 2021 · 2 comments

Comments

@PrabhdeepSingh
Copy link

Error message from upgrade.log:

Updating project 'SitefinityReloaded.Web'

package 'Telerik.Sitefinity.All' version '13.3.7633'

upgrading from '12.2.7232' to '13.3.7633'
Update-Package : Unable to find a version of 'AjaxControlToolkit' that is compatible with 'Progress.Sitefinity 
14.0.7700 constraint: AjaxControlToolkit (= 3.0.20820)'.
At line:1 char:1
+ Update-Package -Id Telerik.Sitefinity.All -ProjectName "SitefinityRel ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : 
NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Update-Package : Unable to find a version of 'AjaxControlToolkit' that is compatible with 'Progress.Sitefinity 14.0.7700 constraint: AjaxControlToolkit (= 3.0.20820)'.
At line:1 char:1
+ Update-Package -Id Telerik.Sitefinity.All -ProjectName "SitefinityRel ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

PS>TerminatingError(Updater.ps1): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 
Error occured while upgrading Telerik.Sitefinity.All. The error was: Unable to find a version of 'AjaxControlToolkit' that is compatible with 'Progress.Sitefinity 14.0.7700 constraint: AjaxControlToolkit (= 3.0.20820)'."

Things I've tried so far without any success:

  • Cleared NuGet cache
  • Grabbed the latest copy of CLI tool
  • Re-cloned repo

Other projects within the solution that are referencing sitefinity nuget packages do get upgraded successfully but it fails as soon as it tries upgrading our .Web project which is our sitefinity webapp that has the Telerik.Sitefinity.All package.

It looks like the author of the AjaxControlToolkit has removed v3 from the NuGet feed but it does exist in Sitefinity's NuGet feed but the CLI is prioritizing the NuGet feed over Sitefinity's feed even though Sitefinity feed is first:

Package sources used: https://nuget.sitefinity.com/nuget/,https://nuget.org/api/v2/
@kreed-st
Copy link

I had a similar issue in #122 with HTMLSanitizer. I ended up adding a new empty site and installing the package there to get it in my packages folder.

@RuzmanovDev
Copy link
Contributor

When the the CLI opens visual studio and executed the upgrade powershell the nuget config for is the one that controls the priority of the package sources. You can check in it to see if nuget.sitefinity.com is on top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants