Visual Studio 2013 - Project Output - Advanced Installer Community
falconerg
Posts: 1
Joined: Mon Jan 19, 2015 2:57 pm

Visual Studio 2013 - Project Output

Hi

I have created an AI project within my VS 2013 solution and I have added Project Output, Primary and References. All references are included in the Files and Folders, including system ones such as System.Core.dll. I would only expect References with CopyLocal=True to be included? Basically I would only expect the files that end up in bin\Release to be included as 'project output'. As far as I understand this content is updated automatically via the VS extension so even if I edit the project manually in AI the changes will be lost the next time I build the solution in Visual Studio. Hopefully you can help me resolve this.

Regards
Gill
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Visual Studio 2013 - Project Output

Hello Gill and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm afraid this is the default behavior of our Advanced Installer extension for Visual Studio. You have options to add, in "Files and Folders" page of your installer project, the primary output of your application project and/or the application project references (all of them). Currently we don't have any option which will allow you to add only the references having the "CopyLocal" property set to "True". I've added this improvement in our TODO list and maybe it will be available in a future version of Advanced Installer. Thank you for your suggestion.

Until then, as a workaround, you should uncheck both options ("PrimaryOutput" and "Refrences") by using the [Add Project Output] button of our VS extension. Next, you should use the [Edit in Advanced Installer] button to open the project in AI. Then, you should go to "Files and Folders" page and synchronize your "Application Folder" with the output folder (from disk) of your VS application project

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Visual Studio 2013 - Project Output

Hello,

This improvement has been added in version 13.5 of Advanced Installer released on December 14th, 2016.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”