terry151151
Posts: 11
Joined: Tue Dec 19, 2017 1:40 pm

Visual Studio 2017 Extension not working

Thu Dec 28, 2017 2:33 am

I have two problems with the Visual Studio Extension.
The first being at when I try to use the "Edit In Advanced Installer" it says that it cannot save the .aip file. If I then open the .aip in Advanced Installer any changes in the Visual Studio project are not reflected in the Advanced Installer project. This problem also happens when I try to do a build in Visual Studio the Visual Studio Output Window also say that Advanced Installer cannot save the project.

The second being that the build the build also fail with the Output Window saying:

13>------ Rebuild All started: Project: IdsClientSetup, Configuration: DefaultBuild ------
13>C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets(182,5): error : Invalid process execution "C:\Program Files (x86)\Caphyon\Advanced Installer 14.5.2\bin\x86\AdvancedInstaller.com" - Aip File "D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Client\Ids2Wpf\Setup\Setup\IdsClientSetup.aip" Arguments/Commands "UpdateVsOutputGroup -project_id "{1644bc4f-7151-4d32-9c93-e21bd01703ea}" -project_name "IdsRemoteService" -output_group "PrimaryOutput" -outputs "D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Azure Web Service\IdsRemoteService\bin\Release\IdsRemoteService.dll"#UpdateVsOutputGroup -project_id "{1644bc4f-7151-4d32-9c93-e21bd01703ea}" -project_name "IdsRemoteService" -output_group "References" -outputs "D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Client\Ids2\WindowsService\RemoteService\bin\Release\RemoteService.dll|D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Azure Web Service\ProtocolData\bin\Release\ProtocolData.dll|D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Azure Web Service\IdsRemoteService\bin\Release\IdsRemoteService.dll|D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Azure Web Service\Utils\bin\Release\Utils.dll|D:\Ids Source\CSharp\Visual
....
....
....
.... (Had to remove due to posting size limit)
....
....
Service\packages\WindowsAzure.Storage.8.6.0\lib\net45\Microsoft.WindowsAzure.Storage.dll|D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Tasks\Priority\Route Consolidation\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll|D:\Ids Source\CSharp\Visual Studio\2017\Ids2\Azure Web Service\packages\System.Spatial.5.8.3\lib\net40\System.Spatial.dll"
" IdsClientSetup C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets 182

terry151151
Posts: 11
Joined: Tue Dec 19, 2017 1:40 pm

Re: Visual Studio 2017 Extension not working

Fri Dec 29, 2017 12:49 am

Deleted and re-created the project from scratch. Now seems to work.

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Visual Studio 2017 Extension not working

Tue Jan 02, 2018 10:53 am

Hello and welcome to our forums,

Thank you for your follow up on this.

I'm glad you got everything working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

terry151151
Posts: 11
Joined: Tue Dec 19, 2017 1:40 pm

Re: Visual Studio 2017 Extension not working

Tue Apr 10, 2018 5:05 am

This keeps happening about once every 2 months and the project is now getting too big to recreate all the time. Even if I restore the whole setup folder from a backup, the problem still exists, so the problem is probably to do with a temporary file held somewhere.

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Visual Studio 2017 Extension not working

Thu Apr 12, 2018 2:11 pm

Hello,

I'm not sure why this happens. Can you please send us your solution (only SLN file and all the project files - without their source code files - being part of the solution) to support at advancedinstaller dot com so we can further check and investigate this?

Also, please send us the full output log of the build failure operation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”