|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Compiling internally instead of as a DLL?Hi all,
I have added a class library project to my VB solution. All works fine but when I compile the project, the compiler creates an external DLL file. What I would rather it do is compile the class library project into the main VB .exe app that I am compiling. Is this possible? If so, how? Thanks Either add the source (I believe there is also a "add as a link" feature
that allows all projects to refer to the same source file) or you'll likely have to use the command line compiler that allows to compile source code into "modules" that you can then combine when building the final exe... -- Patrice "Hugh Janus" <my-junk-acco***@hotmail.com> a écrit dans le message de news: 1146827167.814906.195***@y43g2000cwc.googlegroups.com...Show quoteHide quote > Hi all, > > I have added a class library project to my VB solution. All works fine > but when I compile the project, the compiler creates an external DLL > file. What I would rather it do is compile the class library project > into the main VB .exe app that I am compiling. Is this possible? If > so, how? > > Thanks > "Hugh Janus" <my-junk-acco***@hotmail.com> schrieb: I do not see much sense in doing that because typically libraries are > I have added a class library project to my VB solution. All works fine > but when I compile the project, the compiler creates an external DLL > file. What I would rather it do is compile the class library project > into the main VB .exe app that I am compiling. Is this possible? If > so, how? intended to be reusable and replaceable. However, search for ILLink and ILMerge on the Web... -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Hugh Janus wrote:
> I have added a class library project to my VB solution. All works fine If you build a library project, you get a library (Dll) out of it.> but when I compile the project, the compiler creates an external DLL > file. What I would rather it do is compile the class library project > into the main VB .exe app that I am compiling. Is this possible? If > so, how? Move the class files into the main Executable's Project and it'll all get built in together. HTH, Phill W. |
|||||||||||||||||||||||