Distribution of custom controls

G

Guest

H
I'm trying to "link" my library of custom controls to a program I am writing. I would like to be able to include the controls on build time and not distribute them in a seperate .dll. I have been reading up on Private and Global Assemblies and feel that I am on the right track but not quite. I can run the program on my computer but only after I register my control as a Global Assemblie or if the control dll is in the same directory as the executable. What I want to do is to include it into the executable like a static library in C++

Hopefully someone knows the solution and can help m

Regards
Ulfar
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi,

You can compile the controls to .NET modules and then link these modules
into the main application's assembly. Or, you can just include them as
source files to your project. The former option required manual compiling as
the IDE does not support multi-module assemblies. The latter is fully
supported by the IDE but this is most likely not exactly what you want.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

Ulfar Bjornsson said:
Hi
I'm trying to "link" my library of custom controls to a program I am
writing. I would like to be able to include the controls on build time and
not distribute them in a seperate .dll. I have been reading up on Private
and Global Assemblies and feel that I am on the right track but not quite. I
can run the program on my computer but only after I register my control as a
Global Assemblie or if the control dll is in the same directory as the
executable. What I want to do is to include it into the executable like a
static library in C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top