Mod Build Failure

S3rgeus

Emperor
Joined
Apr 10, 2011
Messages
1,270
Location
London, United Kingdom
I'm wondering if anyone else has encountered this while building a mod in ModBuddy:

Code:
C:\Program Files (x86)\MSBuild\Firaxis\ModBuddy\Civ5Mod.targets(129,9): error MSB4018: The "PackageMod" task failed unexpectedly.
SevenZip.SevenZipException: The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
   at SevenZip.SevenZipBase.ThrowException(SevenZipBase handler, Exception[] e)
   at SevenZip.SevenZipBase.CheckedExecute(Int32 hresult, String message, SevenZipBase handler)
   at SevenZip.SevenZipCompressor.CompressFilesEncrypted(Stream archiveStream, Int32 commonRootLength, String password, String[] fileFullNames)
   at SevenZip.SevenZipCompressor.CompressFilesEncrypted(String archiveName, Int32 commonRootLength, String password, String[] fileFullNames)
   at SevenZip.SevenZipCompressor.CompressFiles(String archiveName, String[] fileFullNames)
   at Firaxis.ModBuddy.Civ5ModBuildTasks.PackageMod.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

I seem to get it most often after adding a new version of a DLL into a mod and pressing build soon after that. (Doesn't occur if I wait 45+ seconds.) Closing and restarting ModBuddy fixes it (build succeeds with no changes after restart), but it's become quite aggravating!
 
I get this pretty frequently these days, and it's pretty frustrating.

Something that seems to alleviate the issue a bit, at least for me, is to always load your projects by using File -> Open... and manually finding your .civ5sln file to load, rather than using the list of Recent Projects. It's not a foolproof way of preventing it, but I've found it makes it happen far less often.
 
Back
Top Bottom