![]() If you wish to forgo the use of a subfolder (placing the dll files in the project root), or use a hard-coded path to your subfolder(s) containing the dll files instead, there are alternative methods which would be more appropriate, but won’t be covered here.ġ) The dll files themselves need to be embedded in the Visual Studio project, rather than just referenced. Note: This method allows you to place dll files into any subfolder or series of subfolders within your project without needing to change any code after the fact. ![]() ![]() After some research, trial and error, and with the help of the Visual Studio debugger, here’s the solution. However, it still offered a very good starting point. Unfortunately, it didn’t work as presented and didn’t include clear instructions on how or where to implement it. The best example out of the lot was an excerpt from a book, posted on an MSDN blog by its author. But–documentation and tutorials on embedding dll files within an exe file were outdated, incomplete, or simply didn’t work. For the sake of simplifying the deployment process of the application, having all of its components bundled up into one exe file would make it much easier to manage. A while back I was working on a small C# WinForms application in Visual Studio 2008.
0 Comments
Leave a Reply. |