protected static GetAllowedAssemblyExtensions ( Microsoft.Build.Execution.ProjectInstance projectInstance ) : string[] | ||
projectInstance | Microsoft.Build.Execution.ProjectInstance | |
리턴 | string[] |
protected static string[] GetAllowedAssemblyExtensions(ProjectInstance projectInstance)
{
string[] allowedAssemblyExtensions;
string val = projectInstance.GetPropertyValue(AllowedReferenceAssemblyFileExtensions).Trim();
allowedAssemblyExtensions = val.Split(';').Select(s => s.Trim()).ToArray();
return allowedAssemblyExtensions;
}