Skip to content
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

Don't use exceptions for flow control when loading dlls. #933

Merged

Conversation

jlaanstra
Copy link
Collaborator

This PR changes the way CsWinRT loads dlls to use the Try* pattern. Currently lookup throws an exception when a specific dll is not found resulting in a lot of first chance exceptions being thrown slowing down debugging.

@jlaanstra jlaanstra force-pushed the user/jlaans/no-dll-load-exceptions branch from a314389 to a17b6e1 Compare July 27, 2021 19:56
@jlaanstra
Copy link
Collaborator Author

Internal bug for this: 34604102

@manodasanW
Copy link
Member

Can you locally run build.cmd and confirm everything builds fine and all the tests it runs pass?

@jlaanstra
Copy link
Collaborator Author

@manodasanW Build completed locally. Some test didn't run because it couldn't find a test adapter, but the tests that did run passed. Probably wanna do a CI build or a local build to also validate yourself.

@jlaanstra jlaanstra requested a review from manodasanW July 28, 2021 22:33
@manodasanW manodasanW merged commit c956f4c into microsoft:master Jul 28, 2021
@jlaanstra jlaanstra deleted the user/jlaans/no-dll-load-exceptions branch July 29, 2021 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants