How to use HtmlSanitizer for NET45? #402
Unanswered
murtazahabib
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Unfortunately, HtmlSanitizer no longer targets net45 because AngleSharp doesn't either 😢 You'll have to revert back to an older version of HtmlSanitizer. |
Beta Was this translation helpful? Give feedback.
6 replies
-
Also worth noting (which partially explains the lack of support): Releases
https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am facing issues in utilizing the package for the target framework .NET 4.5, and cannot change the target framework due to dependencies of multiple project.
I tried by referencing the DLLs of the HtmlSanitizer by downloading it using nuget CLI. However, keep getting below error on building the project.
The type or namespace name 'Ganss' could not be found (are you missing a using directive or an assembly reference?)
Request you guys to please advise on how may I use this well developed package on .NET 45.
Beta Was this translation helpful? Give feedback.
All reactions