Ejemplo n.º 1
0
 private static string GetRealVersionFolder(AssemblyReference.NuGetInfo nuGetInfo) =>
 nuGetInfo.Version?.ToString()
 ?? Directory.GetDirectories(PackagesFolderRelativePath, $"{nuGetInfo.Name}*", SearchOption.TopDirectoryOnly)
 .Last()
 .Substring(PackagesFolderRelativePath.Length + nuGetInfo.Name.Length + 1);
Ejemplo n.º 2
0
 private static string GetNuGetPackageDirectory(AssemblyReference.NuGetInfo nuGetInfo) =>
 $@"{PackagesFolderRelativePath}{nuGetInfo.Name}.{GetRealVersionFolder(nuGetInfo)}\lib";