William Thompson

William Thompson

  • 1.6k
  • 155
  • 298.5k

bringing DLL source code into a project

Jul 24 2013 11:39 AM
Hello Forum !

I have a solution with a project (ASP.NET with C#) that uses a DLL. The app crashes inside the DLL. Fortunately, the DLL was written in-house and I have the source code for the DLL. My question is this. What are the steps involved for including the DLL's project into my solution?

What I think is this. I put the source for the DLL into a subdirectory. Then I add the .cproj file to the solution by "adding new project" in the solution. Now, what I don't know off hand how to do is make sure that that project builds the DLL first, and that the project deposits the compiled DLL into the bin folder where the other project expects to find it. There might be other steps I need to do as well.

I have to edit this post because this forum does not allow for replies somehow...

I am not asking how to add a DLL to a solution.  that is not what I am asking at all.  I am asking how to add a DLL project to a solution.

This:

http://larsjacob.wordpress.com/2010/06/15/use-a-dll-library-in-visual-studio-2010/

and this:

http://msdn.microsoft.com/en-us/library/vstudio/wkze6zky.aspx

Does not answer my question.  I am already using the DLL  in the project.

I have a problem where there is a bug in the DLL source code.  So I have to add the project of the DLL into the same solution where the current project resides.


Answers (2)