-
Notifications
You must be signed in to change notification settings - Fork 548
Return the plist value instead of the type #23721
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
Return the plist value instead of the type #23721
Conversation
/azp run |
No pipelines are associated with this pull request. |
/azp run xamarin-macios-pr |
No pipelines are associated with this pull request. |
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.
Would it be possible to get tests for this task as well? We don't seem to have any existing tests, but it should go in this directory: https://github.com/dotnet/macios/tree/main/tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests
Yes Sir - unit tests added |
@dotnet-policy-service agree |
Thanks for your contribution! |
When reading the value from a propertylist, the value is of base type PValueObject. When returning value.ToString() we get the type and not the actual value.
FIX: We check and cast to IPValueObject and return the actual value.