cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

MsBuild Problem for Upgraded Project

Hi,

Updated to Spring. Projects Build file from Installshield and Visual Studio.
However, when using MsBuild I get a popup message from MsBuild

The program can't start because BECommonLib.dll is missing from your computer. Try reinstalling the program to fix this problem.

Msbuild then returns a -5056 error.

My msbuild proj files calls


The isproj file correctly details the 2012Spring InstallShield.targets file.
The Installshield.targets file correctly details the InstallShieldPath variable
C:\Program Files (x86)\InstallShield\2012Spring\System

The System directory contains the BECommonLib.dll file.

Any clues as to why I get this problem?

Thanks,

Adam
Labels (1)
0 Kudos
1 Reply
Highlighted
Flexera beginner

Re: MsBuild Problem for Upgraded Project

Workaround:

I set the PATH variable to include the Installshield Spring System directory and MSBuild works fine again.

Therefore it seems that there is a problem around the InstallshieldPath property.
I used a in the Installshield.targets file.
In the Visual Studio Command Prompt (2010) it outputs correctly during the build.

Adam
0 Kudos