ToolLocationHelper.GetPathToDotNetFrameworkReferenceAssemblies Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the path to the reference assemblies location for the given framework version.
public:
static System::String ^ GetPathToDotNetFrameworkReferenceAssemblies(Microsoft::Build::Utilities::TargetDotNetFrameworkVersion version);
C#
public static string GetPathToDotNetFrameworkReferenceAssemblies(Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version);
static member GetPathToDotNetFrameworkReferenceAssemblies : Microsoft.Build.Utilities.TargetDotNetFrameworkVersion -> string
Public Shared Function GetPathToDotNetFrameworkReferenceAssemblies (version As TargetDotNetFrameworkVersion) As String
- version
- TargetDotNetFrameworkVersion
Version of the targeted .NET Framework
Path string.
Proizvod | Verzije |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |