Hello,
Following the answers given on this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=327228&SiteID=1
I started using the %(Identity) and %(Filename) metadata to batch some of my tasks. Unfortunately, whenever I try reloading a project containing such medata usage, I get an error: "{0} is not a valid batching parameter."
I was forced to remove these information from the project file using a text editor, and to put them back once in the project editor.
Thanks,
Gwenael

Error reloading xna projects using batches
Dave_W
Beric Holt
Can you post the line as it appears in your script
Have you tried the syntax:
Also have you tried running the script using the command line of MSBuild to see if it complains about the same thing
jodz
Here's the line as it appears in a test script of mine:
<Target Name="Check Lst Content">
<Microsoft.Xna.Build.Tasks.XnaExec OutputIgnoredItemsToLogs="False" Timeout="-1" TrackFileAccess="True" Sources="@(HandmadeLST)" CommandLineCommands="%(Identity)" LogFileDirectory="c:\log\" LogFilename="CheckLstContent.log" ExeName="LstExtractor.exe" ToolPath="C:\Data\Deuce\Batches">
<Output TaskParameter="ExitCode" PropertyName="IncludedFiles" />
</Microsoft.Xna.Build.Tasks.XnaExec>
</Target>
However, trying the %(HandmadeLST.Identity) syntax allowed me to load the file without problem.
Thanks,
Gwenael.