Skip to content

Commit a419d5d

Browse files
[rc2] Fix dotnet-ef migrations bundle command on Linux (#36750)
Fixes #36142 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
1 parent b7996be commit a419d5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dotnet-ef/RootCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ protected override int Execute(string[] _)
9191
Path.GetDirectoryName(typeof(Program).Assembly.Location)!,
9292
"tools");
9393

94-
var targetDir = Path.GetFullPath(Path.Combine(startupProject.ProjectDir!, startupProject.OutputPath!));
94+
var targetDir = Path.GetFullPath(Path.Combine(startupProject.ProjectDir!, startupProject.OutputPath!))
95+
.Replace('\\', Path.DirectorySeparatorChar);
9596
var targetPath = Path.Combine(targetDir, project.TargetFileName!);
9697
var startupTargetPath = Path.Combine(targetDir, startupProject.TargetFileName!);
9798
var depsFile = Path.Combine(

0 commit comments

Comments
 (0)