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?
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?