I developed a vb.net application, named here as MyApp
. I would like to distribute the application; only for users. I see that the VS installer exported the following files. I want only the EXE function normally on the target machine.
I made a search though this site and learned that the .vshost and .vshost.exe.manifest are not necessary to export. I guess the same might be true for .PDB and HML, is that right? How about the Microsoft related dlls below? I inted to install the net framework on the target machine. In that case, is it necessary to export the last three DLLs (below) - the Interop and the Hostingprocess DLLs?
MyAPP.EXE
MyAPP.vshost
MyAPP.vshost.exe.manifest
MyAPP.PDB
MyAPP.XML
Microsoft.Office.Interop.Word.dll
Microsoft.Vbe.Interop.dll
Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll
答案 0 :(得分:1)
You need to distribute the exe file and all dll files that the application depends on (the references your project has in visual studio). Alternatively you can ilmerge the dll:s into the exe in order to only have to distribute the exe.