Can't build mod -- did ModBuddy just break?

DoctorJones

Chieftain
Joined
Aug 10, 2011
Messages
3
Is anyone else getting this error?

As of today (11 Aug 2011) I cannot build mods using Civ5 SDK ModBuddy unless I manually edit Civ5Mod.targets. Everything worked fine yesterday. This morning, there was an update to ModBuddy. Now I get this error when I try to build any solution with ModBuddy (even a clean testing mod that I created 10 mins ago for this specific purpose):

Error 1 An unexpected token ")" was found at character position 68 in condition "'($(PackageMod)' != 'false' And '$(Configuration)' != 'Deploy Only')". C:\Program Files (x86)\MSBuild\Firaxis\ModBuddy\Civ5Mod.targets 117 42 Civ5Mod1

I'm an experienced programmer, but have poor familiarity with XML/LUA. So, looking at the Civ5Mod.targets file, it looks like this is the issue: '($(PackageMod)' != 'false' And '$(Configuration)' != 'Deploy Only') appears to contain a simple typo, and should instead read ('$(PackageMod)' != 'false' And '$(Configuration)' != 'Deploy Only') . However, correcting the file manually (which first requires modifying its file permissions in Windows Explorer) causes ModBuddy to update to the version with the typo.

I can fix it with a complete exit from ModBuddy, correcting the typo manually in Notepad, then restarting ModBuddy -- but I have to immediately disallow a system update that tries to revert Civ5Mod.targets to the version containing the typographical error. It gives some kind of crash warning, but then starts normally and I can build again.

Is anyone else experiencing this?
 
Nop, once the typo was corrected I had the updating dialog, allowed it once and it works since.
 
Nop, once the typo was corrected I had the updating dialog, allowed it once and it works since.

Ugh. It just gave me the updating dialog again and reinstalled the version with the typo. What specific steps did you take?

(edit) Never mind, found it in your post history. Looks like that fixes it. Is there a place that these threads can be consolidated?
 
I can fix it with a complete exit from ModBuddy, correcting the typo manually in Notepad, then restarting ModBuddy -- but I have to immediately disallow a system update that tries to revert Civ5Mod.targets to the version containing the typographical error. It gives some kind of crash warning, but then starts normally and I can build again.

Is anyone else experiencing this?

You need to fix the file in the Steam app location, NOT the one given in the error message - see post 4 of http://forums.2kgames.com/showthread.php?112785-Steam-has-finished-downloading-Civ-V-SDK
 
Ahhh, I see, I was scared mine was going to end up changing back, but I changed the right one thankfully, haha.
 
Back
Top Bottom