This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Content Files Not Copying To Root Directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 28, 2013
10:34 AM
Content Files Not Copying To Root Directory
Hi,
I have a couple of .dlls my application is using they are in a separate folder called lib. I have added them as a content files.
When I build the solution they don't get put in the same directory as the application .exe but in the folder called lib. Thus the application can't then reference these .dlls.
How can these files be moved to the directory where the .exe file resides, I tried adding them in as a file but I have issues with relative paths then when I build it on my build machine.
Any help would be great.
Thanks
I have a couple of .dlls my application is using they are in a separate folder called lib. I have added them as a content files.
When I build the solution they don't get put in the same directory as the application .exe but in the folder called lib. Thus the application can't then reference these .dlls.
How can these files be moved to the directory where the .exe file resides, I tried adding them in as a file but I have issues with relative paths then when I build it on my build machine.
Any help would be great.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 05, 2013
02:21 AM
Hello,
Try this:
>Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
>Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
>delete your hard coded paths and files from the 'Destination computer's files'
>Click in the top left panel, on the project that has your files as 'Content Files'
>the top right panel will show 'Content Files from MyProject'
click and drag this to the bottom right panel (the 'Destination computer's files')
>Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy
to output directory=Copy Always
Hope this helps.
Thanks,
Chiranjeevi
Try this:
>Expand your install project in the Solution Explorer so you see the 1,2,3,4,5,6 sections
>Expand '2' and double click on 'Files' You will see a four panel page: with 'Source computer's files' and 'Destination computer's files'
>delete your hard coded paths and files from the 'Destination computer's files'
>Click in the top left panel, on the project that has your files as 'Content Files'
>the top right panel will show 'Content Files from MyProject'
click and drag this to the bottom right panel (the 'Destination computer's files')
>Go back into your project and make sure all your files you want copied have properties: Build Action=Content and Copy
to output directory=Copy Always
Hope this helps.
Thanks,
Chiranjeevi
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)