-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Annotate XslCompiledTransform as RequiresDynamicCode. #84426
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
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/area-system-xml Issue Detailsnull
|
@vitek-karas @agocke @jkotas @MichalStrehovsky - This is a really unfortunate case that I'm not sure how to handle. It started with marking The good thing is that Do we have a strategy on when warnings can be suppressed in cases like this? Or is it a strict "it is guaranteed to work, or will warn" policy? |
The usual strategy we have developed for cases like this is to introduce a config switch and default it to false when PublishTrimmed / PublishAot is on. I think |
Thanks. For this case I'll wait for customer feedback before adding a feature switch in this area. The same APIs are getting annotated with |
…y.Xml on iOS/tvOS They started failing after dotnet#84426 because we now throw an exception when xslt is used. That exception gets hidden in CryptoHelpers.CreateFromName() though since you only see "Unknown transform has been encountered" so it is hard to figure out what happened. Added a more specific error message that mentions the algorithm name.
Related: #84389.