0

is there a way to publish a windows form application in c# that can include all the dll references as well as all the data-sets in one file??

every time i try to publish the application, i get a message displaying:

Exception: missing reference

any help appreciated thanks

Jim Mischel
  • 131,090
  • 20
  • 188
  • 351

1 Answers1

1

You can use ILMerge for merging the assemblies:

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output.

I guess that the data-sets you refer to are actually strongly typed System.Data.DataSet classes. They will probably be compiled and included in the assemblies they belong to.

Alex Filipovici
  • 31,789
  • 6
  • 54
  • 78
  • This can be set up to run automatically when msbuild compiles. Excellent tool. Another option is to invest in an obfuscation program, they will also merge assemblies. – Pete Garafano Mar 14 '13 at 15:46