AntiXssLibrary 4.2 - Unable to add to GAC
-
Mittwoch, 11. Januar 2012 18:28Version 4.2 of the AntiXssLibrary was released yesterday to patch a security vulnerability. After installing, though, I see there are now 3 versions of the AntiXSSLibrary.dll for each of the .NET versions. I've found that if you attempt to add any of these 3 dll's to the GAC you get the following error: "Invalid file or assembly name."
I checked the file properties for the DLL and see that the OriginalFileName for each is listed as: AntiXSSLibrary20.dll, AntiXSSLibrary35.dll, and AntiXSSLibrary40.dll. I then renamed the dll to correspond with the OriginalFileName listed and now I am able to add the assembly to the GAC. The drawback, however, is now the file name has changed so I need to update my build script accordingly as well.
I assume this is a mistake in the release?
Alle Antworten
-
Montag, 16. Januar 2012 18:10Moderator
Hi -
Yes, this was a packaging bug.
Please download AntiXSS 4.2.1: http://www.microsoft.com/download/en/details.aspx?id=28589. The issue is fixed in this version.
Let us know if you have other questions.
The SDL Team
- Als Antwort markiert SDL TeamModerator Montag, 16. Januar 2012 18:10

