SD.EXE not found

Nov 17, 2008 at 8:23 AM
Edited Nov 17, 2008 at 8:25 AM
Hello,

when I try to run the following command I get an message about a missing "sd.exe":

    <VersionNumber.Update VersionNumberConfigFileLocation="version.xml" OnlyIncrementRevision="true">
      <Output TaskParameter="VersionNumber" ItemName="VersionNumber" />
    </VersionNumber.Update>

The complete message block looks like that:

Task "VersionNumber.Update"
  AUTO Checking out the VersionNumber file...
 
  Der Befehl ""sd.exe"" ist entweder falsch geschrieben oder
  konnte nicht gefunden werden. (this means, that the sd.exe was not found)
 
  Updating build number...
 
  Der Befehl ""sd.exe"" ist entweder falsch geschrieben oder
  konnte nicht gefunden werden.
 
Done executing task "VersionNumber.Update".

What is and where can I find the  "sd.exe".

Thanks
Developer
Nov 17, 2008 at 8:58 AM
Call it with SkipSourceControl="true". Sd.exe is not available publicly and should be removed from this task. if you are using vss, you can call the VSSUpdate task.

 

Nov 17, 2008 at 9:06 AM
Thanks a lot for your answer.
So this means I have to check-out and check-in my "version.xml" file from TFS source control manually, respectively with Microsoft.Sdc.Tasks.SourceTfs Cehckout and Checkin?
Developer
Nov 17, 2008 at 9:59 AM
Yes. Do you have to use this versioining approach? I've logged a few thoughts here: http://freetodev.spaces.live.com/blog/cns!EC3C8F2028D842D5!631.entry. You can find the tasks and other options in here http://www.codeplex.com/MSBuildExtensionPack
Nov 17, 2008 at 11:16 AM
Yes, currently I follow the versioning approach from the Microsoft.Sdc.Tasks.VersionNumber documentation. Basically I'm happy with it accept the problems with "sd.exe". Now I'll try it following your hints.

Thanks again