Search code examples
vb.netwinformsdllexesoftware-packaging

Publish WinForm that uses .dll in one file


How can you publish a WinForm that uses a .dll extension into one .exe file? I'm using VB.NET on Visual Studio 2013.

I have tried several methods such as using only the program .exe file from both the Debug and Release folder but these didn't work in isolation - a runtime error happened every time a command from the extension was used, as if it didn't exist.

My problem is packaging the entire program into one file. I don't want to have to use ClickOnce applications because you can't use a custom logo and so it kinda looks bad. I'll use it if there's no alternative.


Solution

  • I realised that the answer was to use the setup.exe file when publishing. Also, changing the logo of a ClickOnce program is possible.