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

Unable to find a version of 'HtmlSanitizer' that is compatible with 'Progress.Sitefinity 13.3.7623 #122

Open
azavarben opened this issue Apr 15, 2021 · 3 comments

Comments

@azavarben
Copy link

Hi,

I'm getting the following when upgrading from 11.0.6741:

Updating project 'SitefinityWebApp'

package 'Telerik.Sitefinity.All' version '13.3.7623'

upgrading from '11.0.6741' to '13.3.7623'
Update-Package : Unable to find a version of 'HtmlSanitizer' that is compatible with 'Progress.Sitefinity 13.3.7623 
constraint: HtmlSanitizer (= 5.0.353)'.
@RuzmanovDev
Copy link
Contributor

Hi, this is something that we've encountered and it seems related to the way nuget resolves packages. Can you try to move the nuget.sitefinity source to be the first in the nuget.config list

@kreed-st
Copy link

Changing the order of the package sources did not work for me. BTW I noticed that HtmlSanitizer 5.0.353 is not listed on nuget.org, but it is on nuget.sitefinity.com. I ended up creating a new, empty web project in the same solution and adding the correct version of the package to get it in my packages folder. Then I reran the upgrade command and was able to proceed past this issue.

@Veretax
Copy link

Veretax commented May 20, 2022

I had a couple of projects like this, and had to add locks on a couple of the progress nuget libraries in packages.json to prevent it trying to upgrade things that don't match with the version.

Sitefinity Support keeps saying that going to latest is so easy, but when you want to move at a pace that's sustainable (especially if you don't have dedicated QA staff) That isn't always going to be an option.

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

4 participants