(name, seed='msvs_new')
return guid
Returns a GUID for the specified target name.

  Args:
    name: Target name.
    seed: Seed for MD5 hash.
  Returns:
    A GUID-line string calculated from the name and seed.

  This generates something which looks like a GUID, but depends only on the
  name and seed.  This means the same name/seed will always generate the same
  GUID, so that projects and solutions which refer to each other can explicitly
  determine the GUID to refer to explicitly.  It also means that the GUID will
  not change when the project for a target is rebuilt.
Returns a GUID for the specified target name.
Returns a GUID for the specified target name .
def MakeGuid(name, seed='msvs_new'):
  """Returns a GUID for the specified target name.

  Args:
    name: Target name.
    seed: Seed for MD5 hash.
  Returns:
    A GUID-line string calculated from the name and seed.

  This generates something which looks like a GUID, but depends only on the
  name and seed.  This means the same name/seed will always generate the same
  GUID, so that projects and solutions which refer to each other can explicitly
  determine the GUID to refer to explicitly.  It also means that the GUID will
  not change when the project for a target is rebuilt.
  """
  # Calculate a MD5 signature for the seed and name.
  d = _new_md5(str(seed) + str(name)).hexdigest().upper()
  # Convert most of the signature to GUID form (discard the rest)
  guid = ('{' + d[:8] + '-' + d[8:12] + '-' + d[12:16] + '-' + d[16:20]
          + '-' + d[20:32] + '}')
  return guid
def MakeGuid ( name , seed = 'msvs_new' ) : # Calculate a MD5 signature for the seed and name. d = _new_md5 ( str ( seed ) + str ( name ) ) . hexdigest ( ) . upper ( ) # Convert most of the signature to GUID form (discard the rest) guid = ( '{' + d [ : 8 ] + '-' + d [ 8 : 12 ] + '-' + d [ 12 : 16 ] + '-' + d [ 16 : 20 ] + '-' + d [ 20 : 32 ] + '}' ) return guid