Hello.
I am creating a small winforms application for distribution to a few people. I would like the users to be able to export the contents of a DataGridView to a file that Excel can read. I would like the file to be a excel file and not csv or xml. In the past when I have created an "export to excel" function I have always had to include the "Microsoft.Office.Interop.Excel.dll" as part of the distribution. I would like to just send the users the exe file nothing else. is there a way that I could get away from this second file?
update:
to combine the assemblys I used ILmerge with the following Cmd Line ilmerge /target:winexe /out:PpShiftReport.exe OperatorShiftReport.exe Microsoft.Office.Interop.Excel.dll