-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
PlatformNotSupportedException thrown for System.ComponentModel.TypeDescriptor.NodeFor #90311
Comments
Tagging subscribers to this area: @dotnet/area-system-componentmodel Issue DetailsError when running Several errors like:
Build InformationBuild: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=368974 Error Message{
"ErrorMessage": "at System.ComponentModel.TypeDescriptor.NodeFor",
"BuildRetry": false
}
|
@JeremyKuhne it looks like this is regression from f43b0c1 Lines 1545 to 1546 in 26ae097
Looks like these are running Mono on Windows. I guess mono runtime doesn't implement this. Can we get this condition updated to exclude Mono runtime? |
Let's just wrap |
Return false from ComWrappers.TryGetComInstance/TryGetObject instead of throwing PNSE. It saves callers from needing to protect against PNSE. Fix dotnet#90311
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsError when running Several errors like:
Build InformationBuild: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=368974 Error Message{
"ErrorMessage": "at System.ComponentModel.TypeDescriptor.NodeFor",
"BuildRetry": false
} Known issue validationBuild: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=368974 ReportSummary
|
* Return false from ComWrappers.Try... methods Return false from ComWrappers.TryGetComInstance/TryGetObject instead of throwing PNSE. It saves callers from needing to protect against PNSE. Fix #90311 * More efficient IsWindows check
Return false from ComWrappers.TryGetComInstance/TryGetObject instead of throwing PNSE. It saves callers from needing to protect against PNSE. Fix #90311
Return false from ComWrappers.TryGetComInstance/TryGetObject instead of throwing PNSE. It saves callers from needing to protect against PNSE. Fix #90311
* Return false from ComWrappers.Try... methods Return false from ComWrappers.TryGetComInstance/TryGetObject instead of throwing PNSE. It saves callers from needing to protect against PNSE. Fix #90311 * More efficient IsWindows check --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Error when running
/azp run runtime-extra-platforms
windows.10.amd64.android.open
Several errors like:
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=368974
Build error leg or test failing:
Pull request: #90119
Error Message
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=368974
Error message validated:
at System.ComponentModel.TypeDescriptor.NodeFor
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/10/2023 1:46:54 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: