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.
 

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

Back
Top