Add a downloaded plugin to your VS-Solution automatically
Introduce a way to add new downloaded plugins from the repo in your VS-solution. So you don't need to reference this plugin manually.
In the Repo-Manager you can decide if the the plugin should referenced in your VS-Solution or not before it gets installed. Maybe a checkbox? (default = false)
What do u think?
It's possible, but I do like to think of adding a project reference as an operation that a user should do explicitly, especially since most plugins do not need to be referenced at all.
Open for discussion!
This feels like a plugin specific setting. Maybe make it possible for plugin authors to modify their package to include such a setting which duality then uses to decide this?
There is another issue though. How will it handle solutions with multiple projects?
Both good points.
There is another issue though. How will it handle solutions with multiple projects?
Could be added to all the projects. Then again, Duality usually doesn't interfere with solution or project files beyond a minimum, and I think that's generally a good thing. We don't know what additional projects users might have in there, or even what project types those are.
Could be added to all the projects.
When the user first downloads the plugin, shouldn't it be possible to allow them to select each project that should get the reference? We could have a select-all or solution-wide option as well, but only having that option is going to be annoying for users that work with multiple projects.