Bugs item #1487283, was opened at 2006-05-12 03:19
Message generated for change (Settings changed) made by robmen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1487283&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: build process
>Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Frederik Carlier (fcarlier)
>Assigned to: Justin Rockwood (justinrockwood)
Summary: Light task fails when OutputFile not specified

Initial Comment:
When the OuputFile property is not specified, the 
light Task fails:

error MSB4018: The "Light" task failed unexpectedly.
error MSB4018: System.NullReferenceException: Object 
reference not set to an instance of an object.
error MSB4018:    at 
Microsoft.Tools.WindowsInstallerXml.Build.Tasks.Light.G
enerateCommandLineCommands()
error MSB4018:    at 
Microsoft.Build.Utilities.ToolTask.Execute()
error MSB4018:    at 
Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask
(ExecutionMode howToExecuteTask, Hashtable 
projectItemsAvailableToTask, BuildPropertyGroup 
projectPropertiesAvailableToTask, Boolean& 
taskClassWasFound)

probably due to this line:

commandLineBuilder.AppendSwitchIfNotNull("-out ", 
outputFile.ItemSpec);

in

protected override string GenerateCommandLineCommands()

in Light.cs (WixTasks)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1487283&group_id=105970

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to