Delen via


GetReferenceAssemblyPaths Task

Returns the reference assembly paths of the various frameworks.

Parameters

The following table describes the parameters of the GetReferenceAssemblyPaths task.

Parameter

Description

ReferenceAssemblyPaths

Optional String[] output parameter.

Returns the path, based on the TargetFrameworkMoniker parameter. If the TargetFrameworkMoniker is null or empty, this path will be String.Empty.

FullFrameworkReferenceAssemblyPaths

Optional String[] output parameter.

Returns the path, based on the TargetFrameworkMoniker parameter, without considering the profile part of the moniker. If the TargetFrameworkMoniker is null or empty, this path will be String.Empty.

TargetFrameworkMoniker

Optional String parameter.

Specifies the target framework moniker that is associated with the reference assembly paths.

RootPath

Optional String parameter.

Specifies the root path to use to generate the reference assembly path.

BypassFrameworkInstallChecks

Optional [Boolean] parameter.

If true, bypasses the basic checks that GetReferenceAssemblyPaths performs by default to ensure that certain runtime frameworks are installed, depending on the target framework.

TargetFrameworkMonikerDisplayName

Optional String output parameter.

Specifies the display name for the target framework moniker.

Remarks

In addition to having the parameters that are listed in the table, this task inherits parameters from the TaskExtension class, which itself inherits from the Task class. For a list of these additional parameters and their descriptions, see TaskExtension Base Class.

See Also

Concepts

MSBuild Tasks

Other Resources

MSBuild Task Reference