Skip to content

Commit

Permalink
build: Fix manifest installation path
Browse files Browse the repository at this point in the history
.NET seems to prefer lowercase names for advertising manifests.
  • Loading branch information
trungnt2910 committed Jul 22, 2023
1 parent bf66a67 commit ce1ec1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/TargetEnvironment.cake
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class TargetEnvironment

public static void InstallManifests(string manifestName, string manifestPackPath)
{
var targetDirectory = P.Combine(DotNetManifestPath, manifestName);
var targetDirectory = P.Combine(DotNetManifestPath, manifestName.ToLowerInvariant());
var tempDirectory = P.Combine(targetDirectory, "temp");

// Delete existing installations to avoid conflict.
Expand All @@ -170,7 +170,7 @@ class TargetEnvironment

public static void UninstallManifests(string manifestName)
{
var targetDirectory = P.Combine(DotNetManifestPath, manifestName);
var targetDirectory = P.Combine(DotNetManifestPath, manifestName.ToLowerInvariant());
if (D.Exists(targetDirectory))
{
D.Delete(targetDirectory, true);
Expand Down

0 comments on commit ce1ec1e

Please sign in to comment.