If you need to quote parameters or commands, because they contain spaces, you need to use XML Character Entities to quote, i.e. "
For example:
<Exec Command=""C:\Program Files\Black Duck Software\protexIP\bin\bdstool" login"
WorkingDirectory="$(MSBuildProjectDirectory)"/>