Repository navigation
Permissive string types - #4638
Conversation
8c2ff60 to
a00a323
Compare
There was a problem hiding this comment.
Previously this was ConfigurationException and SecurityException. Now ConfigurationException and SystemException. Why? Also, are you actually seeing the ConfigurationException on .NETCore?
There was a problem hiding this comment.
No, as I recall the only exception I could catch in the test that exercised this codepath was a SystemException-derived private type. Since you're discouraging using ConfigurationManager, I'll leave the full framework type catches alone and catch that only for core.
There was a problem hiding this comment.
Details for posterity: when passing an unrecognized language (like in the test Microsoft.Build.UnitTests.GenerateResource_Tests.InProc.PropertyErrors.UnknownStronglyTypedLanguage), .NET Core CodeDOM throws a private ConfigurationErrorsException, which is a SystemException.
a00a323 to
a2b66d0
Compare
a2b66d0 to
016e339
Compare
This builds on #4588; the only new change is 8c2ff60, but I wanted to expand on the newly-extracted
IsString().rainersigwald/msbuild@StronglyTypedResourceBuilder-ResXDataNode...permissive-string-types
Description
Support more assembly-qualified names for
stringin.resxfiles.Customer Impact
Some legacy
.resxfiles created with .NET 2.0 type references caused exceptions at runtime rather than returning strings.Regression
Regression from .NET Framework functionality; bugs in features new to crossplatform .NET Core MSBuild.
Risk
Low--impacts only the new resource codepaths.