parameters: (s)
return_statement: return s
docstring: Convert the the MSVS macros found in the string to the MSBuild equivalent.
  
    This list is probably not exhaustive.  Add as needed.
docstring_summary: Convert the the MSVS macros found in the string to the MSBuild equivalent.
docstring_tokens: Convert the the MSVS macros found in the string to the MSBuild equivalent .
function: def ConvertVCMacrosToMSBuild(s):
    """Convert the the MSVS macros found in the string to the MSBuild equivalent.
  
    This list is probably not exhaustive.  Add as needed.
    """
    if '$' in s:
      replace_map = {
          '$(ConfigurationName)': '$(Configuration)',
          '$(InputDir)': '%(RelativeDir)',
          '$(InputExt)': '%(Extension)',
          '$(InputFileName)': '%(Filename)%(Extension)',
          '$(InputName)': '%(Filename)',
          '$(InputPath)': '%(Identity)',
          '$(ParentName)': '$(ProjectFileName)',
          '$(PlatformName)': '$(Platform)',
          '$(SafeInputName)': '%(Filename)',
      }
      for old, new in replace_map.iteritems():
        s = s.replace(old, new)
      s = FixVCMacroSlashes(s)
    return s
function_tokens: def ConvertVCMacrosToMSBuild ( s ) : if '$' in s : replace_map = { '$(ConfigurationName)' : '$(Configuration)' , '$(InputDir)' : '%(RelativeDir)' , '$(InputExt)' : '%(Extension)' , '$(InputFileName)' : '%(Filename)%(Extension)' , '$(InputName)' : '%(Filename)' , '$(InputPath)' : '%(Identity)' , '$(ParentName)' : '$(ProjectFileName)' , '$(PlatformName)' : '$(Platform)' , '$(SafeInputName)' : '%(Filename)' , } for old , new in replace_map . iteritems ( ) : s = s . replace ( old , new ) s = FixVCMacroSlashes ( s ) return s