Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Referencing Editors and Designers

$
0
0

So,

I have been working on my code and starting to clean up my libraries which have several custom designers and editors for the components.  (non windows.forms code).

Yet, the designers/editors use Windows.Forms.

I was wondering if there is a way to extract the editors and designers into a separate assembly:

QW.Collections.dll -> custom classes and libraries (DOES NOT REFERENCE System.Windows.Forms)

QW.Collections.Editors.dll -> editors and designers (REFERENCES System.Windows.Forms)

but I DON'T want QW.Collections.dll to reference QW.Collections.Editors.dll directly.

Is there a way to achieve this with the DesignerAttribute and UITypeEditor?

I get the Editors assembly will have to be installed somewhere in VisualStudio (GAC or PrivateAssemblies etc)

Thanks

Jaeden "Sifo Dyas" al'Raec Ruiner


"Never Trust a computer. Your brain is smarter than any micro-chip."
PS - Don't mark answers on other people's questions. There are such things as Vacations and Holidays which may reduce timely activity, and until the person asking the question can test your answer, it is not correct just because you think it is. Marking it correct for them often stops other people from even reading the question and possibly providing the real "correct" answer.



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>