def _GetMsbuildToolsetOfProject(proj_path, spec, version):
 default_config = _GetDefaultConfiguration(spec)
 toolset = default_config.get('msbuild_toolset')
 if ((not toolset) and version.DefaultToolset()):
  toolset = version.DefaultToolset()
 return toolset

def _GetMsbuildToolsetOfProject ( proj_path , spec , version ) : default_config = _GetDefaultConfiguration ( spec ) toolset = default_config . get ( 'msbuild_toolset' ) if ( ( not toolset ) and version . DefaultToolset ( ) ) : toolset = version . DefaultToolset ( ) return toolset
get the platform toolset for the project .