MSBuild integration fails - Advanced Installer Community
clinke
Posts: 3
Joined: Tue May 16, 2017 4:38 pm

MSBuild integration fails

Hello together,

I'm using an AI setup project in our main project. This is regularly build on our servers using TFS Build services. But I always get an error when it comes to building the setup project.
I've added all files with the VS Import Wizard, so these are relative paths to the needed files. What is very strange: The files exists on these paths on the build server (also the setup build comes last, so the files are definetly created), and they are accessable.

Can I somehow disable the automatic build, so it doesn't always throw errors? Or is there a way to fix these errors?

Many thanks in advance!

Build
C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer\AdvInstExtTasks.Targets (132, 5)
IsVsixCmd
build -buildslist MainBuild
Checking builds status
Resources referred by the project are missing:
E:\AutomatischeBuilds\_work\2\s\BibliothekenTest\bin\Release\BibliothekenTest.dll
E:\AutomatischeBuilds\_work\2\s\BusinessLogik\bin\Release\BusinessLogik.dll
E:\AutomatischeBuilds\_work\2\s\Converters\bin\Release\Converters.dll
E:\AutomatischeBuilds\_work\2\s\DataConverters\bin\Release\DataConverters.dll
E:\AutomatischeBuilds\_work\2\s\DatenzugriffBasis\bin\Release\DatenzugriffBasis.dll
E:\AutomatischeBuilds\_work\2\s\DatenzugriffLogDB\bin\Release\DatenzugriffLogDB.dll
E:\AutomatischeBuilds\_work\2\s\Datenzugriff\bin\Release\Datenzugriff.dll
E:\AutomatischeBuilds\_work\2\s\GuiTest\bin\Release\GuiTest.dll
E:\AutomatischeBuilds\_work\2\s\LagerTest\bin\Release\LagerTest.dll
E:\AutomatischeBuilds\_work\2\s\SoBasisLayout\bin\Release\SoBasisLayout.dll
E:\AutomatischeBuilds\_work\2\s\SoBusyAdorner\bin\Release\SoBusyAdorner.dll
E:\AutomatischeBuilds\_work\2\s\SoKomponentenTest\bin\Release\SoKomponentenTest.dll
E:\AutomatischeBuilds\_work\2\s\SoLibBasisWPF\bin\Release\SoLibBasisWPF.dll
E:\AutomatischeBuilds\_work\2\s\SoLibBasis\bin\Release\SoLibBasis.dll
E:\AutomatischeBuilds\_work\2\s\SoLibBasis\bin\Release\SoLibBasis.targets
E:\AutomatischeBuilds\_work\2\s\SoLibBasis\bin\Release\TIKOSCrypt_32.dll
E:\AutomatischeBuilds\_work\2\s\SoLibBasis\bin\Release\TIKOSCrypt_64.dll
E:\AutomatischeBuilds\_work\2\s\SoLibLicense\bin\Release\SoLibLicense.dll
E:\AutomatischeBuilds\_work\2\s\SoLibLogin\bin\Release\SoKomponenten.dll
E:\AutomatischeBuilds\_work\2\s\SoLibLogin\bin\Release\SoLibLogin.dll
E:\AutomatischeBuilds\_work\2\s\SoLibUpdate\bin\Release\SoLibUpdate.dll
E:\AutomatischeBuilds\_work\2\s\SoLogDB\bin\Release\SoLogDB.dll
E:\AutomatischeBuilds\_work\2\s\SoMenu\bin\Release\SoMenu.dll
E:\AutomatischeBuilds\_work\2\s\SoTelefonanlage\bin\Release\SoTelefonanlage.dll
E:\AutomatischeBuilds\_work\2\s\SoWaagePipe\bin\Release\SoWaagePipe.dll
E:\AutomatischeBuilds\_work\2\s\TIKOS6-Setup\Prerequisites\.NET Framework 4.5\dotNetFx45_Full_setup.exe
E:\AutomatischeBuilds\_work\2\s\TIKOS6\bin\Release\NLog.config
E:\AutomatischeBuilds\_work\2\s\TIKOS6\bin\Release\TIKOS.exe
E:\AutomatischeBuilds\_work\2\s\TIKOS6\bin\Release\TIKOS.exe.config
E:\AutomatischeBuilds\_work\2\s\TestUtil\bin\Release\TestUtil.dll
E:\AutomatischeBuilds\_work\2\s\Tests\DatenzugriffTest\bin\Release\DatenzugriffTest.dll
E:\AutomatischeBuilds\_work\2\s\Tests\ViewModelTest\bin\Release\ViewModelTest.dll
E:\AutomatischeBuilds\_work\2\s\ViewModelsBasis\bin\Release\ViewModelsBasis.dll
E:\AutomatischeBuilds\_work\2\s\ViewModelsLogDB\bin\Release\ViewModelsLogDB.dll
E:\AutomatischeBuilds\_work\2\s\ViewModels\bin\Release\NLog.dll
E:\AutomatischeBuilds\_work\2\s\ViewModels\bin\Release\ViewModels.dll
E:\AutomatischeBuilds\_work\2\s\View\bin\Release\Views.dll
Build finished because an error was encountered.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: MSBuild integration fails

Hello and welcome to Advanced Installer forums,

Although you said the files do exist on the TFS, can you please check this once again and see if the files exist and if they can be accessed? I'm asking you because the error message seems to be pretty clear.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clinke
Posts: 3
Joined: Tue May 16, 2017 4:38 pm

Re: MSBuild integration fails

Hello Dan,

thanks for the answer. Yes because it's so clear I've double-checked it. The setup is the last build step, and they are definetly there and accessable.

Kind regards,

Christian Linke
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: MSBuild integration fails

Hello Christian,

Can you help us with more details about how we could isolate this behavior? If you could find a detailed step by step test case which we can follow to replicate this issue this will be very useful.

Please let us know how it is your MSBuild configured. Also, if you could send us a test solution to support at advancedinstaller dot com which we could build on our side this will be very useful.

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

Return to “Common Problems”