Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

pac pfc push fail.

(0) ShareShare
ReportReport
Posted on by 10

 

 

 

2023-10-16 12:26:54.5445 | INF | bolt.module.pcf.PcfPushVerb :: Executing dotnet
2023-10-16 12:26:54.5445 | INF | bolt.module.pcf.PcfPushVerb :: with arguments: /Users/stigark/Library/Application Support/Code/User/globalStorage/microsoft-isvexptools.powerplatform-vscode/pac/.store/microsoft.powerapps.cli.tool/1.27.6/microsoft.powerapps.cli.tool/1.27.6/tools/net6.0/any/pac.dll solution init --publisher-name PowerAppsToolsPublisher_verja --publisher-prefix verja
2023-10-16 12:26:54.6636 | ERR | bolt.module.pcf.PcfPushVerb :: Could not execute because the specified command or file was not found.
2023-10-16 12:26:54.6636 | ERR | bolt.module.pcf.PcfPushVerb :: Possible reasons for this include:
2023-10-16 12:26:54.6636 | ERR | bolt.module.pcf.PcfPushVerb :: * You misspelled a built-in dotnet command.
2023-10-16 12:26:54.6636 | ERR | bolt.module.pcf.PcfPushVerb :: * You intended to execute a .NET program, but dotnet-/Users/stigark/Library/Application does not exist.
2023-10-16 12:26:54.6636 | ERR | bolt.module.pcf.PcfPushVerb :: * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
2023-10-16 12:26:54.6716 | ERR | bolt.module.pcf.PcfPushVerb :: Failed to launch process with exit code: 1

 

 

 

This if from the error log. I am on a MAC. I uninstalled the power platform CLI extension. Installed dot net again, and then installed the extension again. It did not work. Anyone have any clue what is happening and can help me?

  • Verified answer
    SA-08080700-0 Profile Picture
    10 on at
    Re: pac pfc push fail.

    The solution that worked. Was that i used --incremental when pushing the component. I do not know why the regular push did not work. But that solved my problem with updating the component with new changes.

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: pac pfc push fail.

    @StigItera did this help solve your issue? Please let us know how you sorted it out so future visitors to this post can see the solution!

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: pac pfc push fail.

    I believe that the only msbuild commands pac pcf push needs to use (and therefore really the only dotnet) are restore and rebuild. Try building your project manually instead of using pac pcf push and make sure you can execute those commands yourself. With luck, that will tell you whether the problem is in pac pcf push or in your ability to execute dotnet.

     

    Package a code component - Power Apps | Microsoft Learn

  • SA-08080700-0 Profile Picture
    10 on at
    Re: pac pfc push fail.

    Yes, the msbuild is on my PATH. I already checked that, i had to install msbuild with brew.

     

    % which msbuild

    /Library/Frameworks/Mono.framework/Versions/Current/Commands/msbuild

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: pac pfc push fail.

    Is msbuild on your PATH?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 42 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard