-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Fix System.Configuration.ConfigurationManager.Tests on Android and reenable on non-Windows platforms #56558
Conversation
…enable on non-Windows platforms The test assembly got changed to `$(NetCoreAppCurrent)-windows` in dotnet@809a06f#diff-4d639cb37fe53cdeae4262c1f5be7936cdd81e3b4f256f9c59ad02ec69b300d9R7 but when talking to Viktor we're not sure why, probably a mistake. Target `$(NetCoreAppCurrent)` instead so it runs on all platforms and fix a test issue that occurs on Android due to BaseDirectory not having a trailing slash. Fixes dotnet#37071 Incidentally, that's likely also the reason why the .csproj set `TestDisableAppDomain` so we can remove that as well. Also replace `TestDisableParallelization` with the assembly attribute equivalent which is what we use everywhere else.
Tagging subscribers to this area: @safern Issue DetailsThe test assembly got changed to Target Also replace
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The test assembly got changed to
$(NetCoreAppCurrent)-windows
in 809a06f#diff-4d639cb37fe53cdeae4262c1f5be7936cdd81e3b4f256f9c59ad02ec69b300d9R7 but when talking to Viktor we're not sure why, probably a mistake.Target
$(NetCoreAppCurrent)
instead so it runs on all platforms and fix a test issue that occurs on Android due to BaseDirectory not having a trailing slash.Fixes #37071
Incidentally, that's likely also the reason why the .csproj set
TestDisableAppDomain
so we can remove that as well.Also replace
TestDisableParallelization
with the assembly attribute equivalent which is what we use everywhere else.