tags:

views:

137

answers:

4

How can I deploy a project? I'd prefer it if it's just a single execute file with everything built into it. Is this possible? Or does it need to be installed with the DLLs staying as external files? Thanks.

+3  A: 

Check out ILMerge

NerdFury
+1. ILMerge is the only option here, though there's no way to make it *truly* standalone (as the .NET runtime is required regardless of what you do)
Adam Robinson
A: 

You have ClickOnce and Visual Studio Setup projects... Both are capable of collapsing your install with the Visual Studio Setup project being able to create a single Setup.exe for your project.

masenkablast
+1  A: 

You may use Click once install (available in VS). Or check out Inno Setup http://www.jrsoftware.org/isinfo.php it's free and quite powerful.

Alex Khvatov
A: 

I prefer NSIS for deploying C# aps with a single setup executable

Edit: NSIS can be used to include the .NET runtime installer within the setup executable, or you can design it to download the .NET Framework if it is not present on the target machine.

AaronLS