dll and exe

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, there,

I am new to .net programming, and need help how to build my own dll and use
it in an exe. I want to wrap part of my code into a dll and call it from my
exe, how to port/include the dll in my exe project? Thanks a lot!
 
Create a class library project, place your "dll" logic in a class within
this project, and compile the project to produce the IL assembly (dll).
Next, from within your application project (exe), add a reference to your
dll by right-clicking the "References" section within the Solution Explorer,
choosing "Add Reference..." on the context menu that appears, and browsing
to the output location for the custom dll.
 
Tim,

Thank you very much!


--
Kate


Tim Wilson said:
Create a class library project, place your "dll" logic in a class within
this project, and compile the project to produce the IL assembly (dll).
Next, from within your application project (exe), add a reference to your
dll by right-clicking the "References" section within the Solution Explorer,
choosing "Add Reference..." on the context menu that appears, and browsing
to the output location for the custom dll.
 
Back
Top