diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 18e896f51..6ff4aff56 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -109,7 +109,7 @@ function Publish-Self-Contained ($p) { $command_profile = Join-Path "$p" "Flow.Launcher.Command/Properties/PublishProfiles/Net7.0-SelfContained.pubxml" -Resolve # we call dotnet publish on the command project. - dotnet publish -c Release $command_profile /p:PublishProfile=$profile + dotnet publish -c Release $command_csproj /p:PublishProfile=$command_profile } function Publish-Portable ($outputLocation, $version) {