Created
July 20, 2016 23:23
-
-
Save RLittlesII/c99f82813157f6d6c08cf17afe504cab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Task("WiX-Directory") | |
.IsDependentOn("Nuget-Restore") | |
.Does(() => | |
{ | |
var harvestDirectory = Directory("./"); | |
var filePath = File("Wix.Directory.wxs"); | |
var settings = new HeatSettings { HarvestType = WiXHarvestType.Dir }; | |
Information(MakeAbsolute(harvestDirectory).FullPath); | |
WiXHeat(harvestDirectory, filePath, settings); | |
}); | |
======================================== | |
WiX-Directory | |
======================================== | |
Executing task: WiX-Directory | |
C:/Users/RLITTLES/Source/Repos/Xamarin.MobileWorld | |
An error occured when executing task 'WiX-Directory'. | |
---------------------------------------- | |
Teardown | |
---------------------------------------- | |
Executing custom teardown action... | |
Later Cake | |
Error: System.ArgumentException: Incorrect harvest type for input. | |
Parameter name: harvestTarget | |
at Cake.Common.Tools.WiX.Heat.HeatRunner.GetArguments(String harvestTarget, FilePath outputFile, HeatSettings settings) | |
at Cake.Common.Tools.WiX.Heat.HeatRunner.Run(String harvestTarget, FilePath outputFile, HeatSettings settings) | |
at Submission#0.<.ctor>b__6() | |
at Cake.Core.ActionTask.Execute(ICakeContext context) | |
at Cake.Core.DefaultExecutionStrategy.Execute(CakeTask task, ICakeContext context) | |
at Cake.Core.CakeEngine.ExecuteTask(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeRepo | |
rt report) | |
at Cake.Core.CakeEngine.RunTarget(ICakeContext context, IExecutionStrategy strategy, String target) | |
at Cake.Scripting.BuildScriptHost.RunTarget(String target) | |
at Submission#0..ctor(Session session, Object& submissionResult) | |
at Submission#0.<Factory>(Session session) | |
at Roslyn.Scripting.CommonScriptEngine.Execute[T](String code, String path, DiagnosticBag diagnostics, Session session, Boolean isI | |
nteractive) | |
at Roslyn.Scripting.Session.Execute(String code) | |
at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments) | |
at Cake.Commands.BuildCommand.Execute(CakeOptions options) | |
at Cake.CakeApplication.Run(CakeOptions options) | |
at Cake.Program.Main() | |
----------------------------------------------------------------------------------------------------------------------------------- | |
Task("WiX-Directory") | |
.IsDependentOn("Nuget-Restore") | |
.Does(() => | |
{ | |
DirectoryPath harvestDirectory = Directory("./"); | |
var filePath = File("Wix.Directory.wxs"); | |
var settings = new HeatSettings { HarvestType = WiXHarvestType.Dir }; | |
Information(MakeAbsolute(harvestDirectory).FullPath); | |
WiXHeat(harvestDirectory, filePath, settings); | |
}); | |
======================================== | |
WiX-Directory | |
======================================== | |
Executing task: WiX-Directory | |
C:/Users/RLITTLES/Source/Repos/Xamarin.MobileWorld | |
Executing: "C:/Program Files (x86)/WiX Toolset v3.10/bin/heat.exe" dir "C:/Users/RLITTLES/Source/Repos/Xamarin.MobileWorld" -out "C:/U | |
sers/RLITTLES/Source/Repos/Xamarin.MobileWorld/Wix.Directory.wxs" | |
Windows Installer XML Toolset Toolset Harvester version 3.10.2.2516 | |
Copyright (c) Outercurve Foundation. All rights reserved. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Android.Support.v4.21.0.3.0\lib\MonoAndroid10\Xamarin.Android.Support.v4.dll. If this file is | |
not an assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file | |
or assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system c | |
annot find the file specified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Forms.1.3.5.6335\lib\MonoAndroid10\FormsViewGroup.dll. If this file is not an assembly you can | |
ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly 'Mono.Andro | |
id, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot find the file spe | |
cified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Forms.1.3.5.6335\lib\MonoAndroid10\Xamarin.Forms.Platform.Android.dll. If this file is not an | |
assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or asse | |
mbly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot f | |
ind the file specified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Forms.1.3.5.6335\lib\MonoTouch10\Xamarin.Forms.Platform.iOS.Classic.dll. If this file is not a | |
n assembly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or as | |
sembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot fi | |
nd the file specified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Forms.1.3.5.6335\lib\WP80\Xamarin.Forms.Platform.WP8.dll. If this file is not an assembly you | |
can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly 'System. | |
Windows, Version=2.0.6.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the fil | |
e specified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.Forms.1.3.5.6335\lib\Xamarin.iOS10\Xamarin.Forms.Platform.iOS.dll. If this file is not an asse | |
mbly you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly | |
'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot find t | |
he file specified. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.TestCloud.Agent.0.16.2\lib\MonoTouch10\Calabash.dll. If this file is not an assembly you can i | |
gnore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly 'monotouch, V | |
ersion=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot find the file specifie | |
d. | |
heat.exe : warning HEAT5151 : Could not harvest data from a file that was expected to be an assembly: C:\Users\RLITTLES\Source\Repos\X | |
amarin.MobileWorld\src\packages\Xamarin.TestCloud.Agent.0.16.2\lib\Xamarin.iOS10\Calabash.dll. If this file is not an assembly you can | |
ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Could not load file or assembly 'monotouch, | |
Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies. The system cannot find the file specif | |
ied. | |
Finished executing task: WiX-Directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment