[wix-users] Wix Msbuild issue

Laique Abbas laiqueabbas_is at yahoo.com
Wed Mar 1 06:09:59 PST 2017


I am using the below line and this is working fine on one machine but its giving error while running on other machine. The error is mentioned as below:MSBUILD : error MSB1008: Only one project can be specified. Switch...

"/property:DefineConstants=`"ServiceSourcePath=$variablename1;SourcePath=$variablename2`""

Regards,Laique

    On Wednesday, March 1, 2017 7:04 PM, Laique Abbas <laiqueabbas_is at yahoo.com> wrote:
 

 Thanks.  Can you confirm me on how to write more than one constants in msbuild script ? "/property:DefineConstants=`"ServiceSourcePath="abc";SourcePath="xyz"`""

Regards,Laique 

    On Wednesday, March 1, 2017 6:42 PM, Phill Hogland <phill.hogland at rimage.com> wrote:
 

 #yiv8190643030 -- .yiv8190643030EmailQuote {margin-left:1pt;padding-left:4pt;border-left:#800000 2px solid;}#yiv8190643030 #yiv8190643030 --p {margin-top:0;margin-bottom:0;}#yiv8190643030 I would add MSBuild logging and then evaluate the 'binding' paths in the call to light.exe, just before the error
/v:diagnostic /fl /flp:logfile=<path><name>.log;append;verbosity=diagnostic

/v:normal will give you less noise and still show the binding paths to let you see where the problem is.From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Laique Abbas <laiqueabbas_is at yahoo.com>
Sent: Wednesday, March 1, 2017 7:00:20 AM
To: WiX Toolset Users Mailing List
Subject: [wix-users] Wix Msbuild issue I am getting an error stated below :
light.exe : error LGHT0103: The system cannot find the file '{Filename}' with type ''.
Though this {Filename} exists on physical path.
Is there a problem with my Define constant property as I have provided 2 variables in it ?
I am using msbuild.exe. I am providing 2 define constants variable in the below line : I am breaking my msbuild line for clarity purposes for this email :
 & C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /property:configuration="Debug" /property:Platform="Any CPU" /property:OutputPath=$outputPath /property:Version=$version "/property:DefineConstants=`"ServiceSourcePath="abc";SourcePath="xyz"`"" $solution /m /target:build 
Can any one help me figure out whats the issue ?
Regards,Laique

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

   

   


More information about the wix-users mailing list