Compile reference dll

Using VS2005 and VB.NET.

I have a project that is an API for a data warehouse that I created. When compiled, it is created api.dll.

I have a second project in the same solution that has a link to an API project that it will create when compiled wrapper.dll. This is basically an API shell that is application specific. When I use wrapper.dllthe other application, I need to copy wrapper.dlland api.dllin my new app. How can I make the shell project compile api.dllinto myself so that I can only navigate dll?

+3
source share
4 answers

@Jas, Visual Studio. , " " . , , .

, " ". (), , . "" "" ( Visual Studio), . "" " ", Visual Studio 2003 "" " " 2005 ( 2008 ). , "". - , , , "" .

, wrapper.dll api.dll, , api.dll( wrapper.dll).

+1

, , , ILMerge, .

+1

. ( Visual Studio-ese) wrapper.dll, api.dll. wrapper.dll.

+1

, api.dll wrapper.dll. api.dll . , .

DLL , xml ( ). " ". wrapper.dll Assembly api.dll, . Assembly.Load http://msdn.microsoft.com/en-us/library/system.reflection.assembly.load.aspx

0

Source: https://habr.com/ru/post/1696559/


All Articles