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 And Unload Package Downloaded #203

Open
chuongmep opened this issue Nov 26, 2021 · 5 comments
Open

Load And Unload Package Downloaded #203

chuongmep opened this issue Nov 26, 2021 · 5 comments
Labels
Engine Engine improvements Package Manager Package manager improvements Tracked Items that are tracked internally on the development boards UX UX improvement

Comments

@chuongmep
Copy link

What improvement/feature would you like to see in Dynamo?

It would be great if we had this, for example I have downloaded a lot of packages, sometimes I don't want to use it for performance gain or bugs, but sometimes I want to turn them back on without having to uninstall or install anything.
image

How would you see this improvement/feature working?

The benefits of this include :

  • Performance: I'm sure this will improve when too many packages are loaded that are not needed.
  • Fast error detection: it's very easy to quickly check for conflicts of a package. We just need to turn them off and on one by one to check.
@mjkkirschner
Copy link
Member

We've actually done a lot of work and iteration to support some packages being unloaded without being uninstalled. It's not generally available, but I agree it will be useful.

Unfortunately, because we can't unload assemblies from the current appdomain - it results in a lot of very sticky and confusing ux issues. We hope to investigate the new features of .net core/5 for assembly isolation and unloading since packages are essentially plugins - but this will depend on other host products and the whole ecosystem moving forward with their hosted .net runtimes.
https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support

@chuongmep
Copy link
Author

Is there a roadmap or anything where I can track this when the ecosystem is updated to .net core?

@Amoursol
Copy link
Contributor

Hello @chuongmep - We have a Dynamo Public Roadmap available here https://github.com/DynamoDS/Dynamo/wiki/Dynamo-Public-Roadmap (Which I have plans to update soon!), which typically covers the larger experiences being worked upon. The .NET core update wouldn't probably make this list Roadmap as it's more of a thematic narrative rather than technical rundown.

Would it be useful to you to see some of these explorations also added to the Roadmap link above? Typically, this gets updated every ~6 months, and I'm lagging a little as we've been furiously working through the Visual Refresh work.

@Amoursol Amoursol added UX UX improvement Engine Engine improvements labels Mar 25, 2022
@Amoursol
Copy link
Contributor

Amoursol commented Mar 2, 2023

@chuongmep we are currently working through an upgrade to .NET 8 that would allow Dynamic Loading/Unloading of Assemblies, so this isn't technically possible until that work is complete. The work is actively underway right now, so we should be able to spike on this soon.

@Amoursol Amoursol added the Tracked Items that are tracked internally on the development boards label Mar 2, 2023
@chuongmep
Copy link
Author

chuongmep commented Mar 2, 2023

@Amoursol this really a good new with me today, resolved many issues I can't continue in many years

@avidit avidit added the Package Manager Package manager improvements label Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engine Engine improvements Package Manager Package manager improvements Tracked Items that are tracked internally on the development boards UX UX improvement
Projects
Status: Backlog
Development

No branches or pull requests

4 participants