parameters: (spec)
return_statement: return None
docstring: Returns the extension for this target, including the dot
  
    If product_extension is specified, set target_extension to this to avoid
    MSB8012, returns None otherwise. Ignores any target_extension settings in
    the input files.
  
    Arguments:
      spec: The target dictionary containing the properties of the target.
    Returns:
      A string with the extension, or None
docstring_summary: Returns the extension for this target, including the dot
docstring_tokens: Returns the extension for this target including the dot
function: def _GetOutputTargetExt(spec):
    """Returns the extension for this target, including the dot
  
    If product_extension is specified, set target_extension to this to avoid
    MSB8012, returns None otherwise. Ignores any target_extension settings in
    the input files.
  
    Arguments:
      spec: The target dictionary containing the properties of the target.
    Returns:
      A string with the extension, or None
    """
    target_extension = spec.get('product_extension')
    if target_extension:
      return '.' + target_extension
    return None
function_tokens: def _GetOutputTargetExt ( spec ) : target_extension = spec . get ( 'product_extension' ) if target_extension : return '.' + target_extension return None