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

Load package manager dependencies without assembly lock #1049

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

glopesdev
Copy link
Member

This PR introduces a runtime assembly resolution path without locking the assembly file on disk by leveraging File.ReadAllBytes to load the assembly into memory without a file reference. This allows the package manager UI to use installed local dependencies while still allowing those same dependencies to be updated.

Caveat: code used specifically by the package manager UI can never depend on Assembly.Location or similar properties in the Assembly class that depend on loading the assembly from a file path.

Fixes #1048

@glopesdev glopesdev added this to the 2.7.0 milestone Sep 21, 2022
@glopesdev glopesdev merged commit 24dc2e9 into bonsai-rx:main Sep 21, 2022
@glopesdev glopesdev deleted the issue-1048 branch September 21, 2022 08:55
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.

Package manager cannot update core dependencies
1 participant