We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

trevpope
Posts: 4
Joined: Fri Dec 11, 2015 10:04 am

MsBuild - Visual Studio 2012 - Package Failing To Build

Hi,

I have an Advanced Installer project as part of a larger Visual Studio 2012 solution with which it builds it package from, on my local machine this builds and the Advanced Installer output package successfully executes and all is well, however, when this solution is uploaded to our repository and attempts to be built by our Team City server it is failing with the following error:

[08:56:22][MSBuild] Foo.Bar\Foo.Bar.csproj: Build default targets (2s)
[08:56:23][Step 2/4] MSBuild command line parameters contain "/property:" or "/p:". It is recommended to define System Property on Build Parameters instead.
[08:56:27][MSBuild]Foo.Bar.Tests\Foo.Bar.Tests.csproj: Build default targets (1s)
[08:56:29][MSBuild] Foo.Bar.Host\Foo.Bar.Host.csproj: Build default targets (1s)
[08:56:30][MSBuild] Foo.Bar.Api.Tests\Foo.Bar.Api.Tests.csproj: Build default targets
[08:56:30][MSBuild] Foo.Bar.Installer\Foo.Bar.Installer.aiproj: Build default targets
[08:56:30][Foo.Bar.Installer\Foo.Bar.Installer.aiproj] C:\BuildAgent\work\aee70d34aac12bf1\Foo.Bar.Installer\Foo.Bar.Installer.aiproj error MSB4057: The target "Build" does not exist in the project.

Can anyone shed any light as to the reasons of this failing?

Many thanks for your time.

Trevor
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MsBuild - Visual Studio 2012 - Package Failing To Build

Hi Trevor and welcome to Advanced Installer forums,

Can you please tell us if the behaviour still persist when using the latest version of Advanced Installer? We had a similar issue that has been fixed in the 12.6 version of Advanced Installer released few days ago.

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

Return to “Building Installers”