How to make sure that files from a project are included in the application directory created by the installer?
- Or else: how do you include file dependencies in the installation project?
I have a DLL in my VB.NET (2010) project: TwinCAT.Ads.dll[has includes], which has its own dependency: TcAds.dll[does not include anywhere in my project], which is not a .NET assembly.
I got the compiler to make sure it spits TcAds.dllin the bin output folder during compilation, adding it as an existing element to my project, and then setting the build action for it to "Built-in resource" and setting it to always be copied to the Output directory.
Now that I am ready to publish, I have created a Windows installation project.
Please, no suggestions for using WIX or anything else, this is what I need to work with.
The problem is that this outcast from the DLL does not appear as a dependency and therefore is not part of the installer. After installation, the program starts, can not find the DLL, the bomb.
- I tried to add it as a resource to the project to no avail. (project - properties - resources)
- Unable to configure it for compilation (it gives the error "cannot open the module file ...")
- The action of the Resource assembly does not even include it in the bin folder, not to mention the installer
- ( " ... . , , COM-." )
, , - , , ?