XDocumentExtensions.

GetOutputPaths(XDocument, string, string[], DirectoryPath, string) Method

Summary

Gets the first output path value for a specific config from an xml document

Syntax

public static DirectoryPath[] GetOutputPaths(this XDocument document, string config, string[] targetFrameworks, DirectoryPath rootDirectoryPath, string platform = "AnyCPU")

Parameters

Name Type Description
document XDocument The xml document
config string the configuration
targetFrameworks string[] the target frameworks expected (affects output paths)
rootDirectoryPath DirectoryPath the root directory for any relative assembly paths
platform string the platform

Return Value

Type Description
DirectoryPath[] the output path