I'm creating a Nuget package that includes runtime and design time assemblies. And I want to deliver both via Nuget.
The problem is that Nuget adds a reference to the design time assembly to the target project. If you do that then you have to reference WPF assemblies as well.
Also I need to register a VSPackage with Visual Studio so that the Workflow Activities appear in the toolbox but only when that project is open.
I'm sure that there are similar issues for people building controls that include design time components. Typically these components get delivered via an MSI or VSIX package that does all the registration at a machine level.
Nuget is so much more project oriented. I'm trying to work out what it means to bring design time components in at a project level. Is that even possible?
I suppose I could deliver just the runtime components via nuget and use a vsix package to install the design time components. Is that the right way?