web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
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?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Is msbuild on your PATH?

  • SA-08080700-0 Profile Picture
    10 on at

    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 Moderator on at

    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

  • cchannon Profile Picture
    4,702 Moderator on at

    @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!

  • Verified answer
    SA-08080700-0 Profile Picture
    10 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 70

#2
WarrenBelz Profile Picture

WarrenBelz 64 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 36 Super User 2026 Season 1

Last 30 days Overall leaderboard