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
Unanswered

pac pcf push fails

(0) ShareShare
ReportReport
Posted on by 6

In the log i get the error:

2023-09-21 20:17:21.8467 | INF | bolt.dataverse.client.CdsClient :: Connected to CDS Org

2023-09-21 20:17:21.8487 | INF | bolt.module.pcf.PcfPushVerb :: Executing dotnet

2023-09-21 20:17:21.8487 | INF | bolt.module.pcf.PcfPushVerb :: with arguments: /Users/xyz/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_new --publisher-prefix new

2023-09-21 20:17:21.9849 | ERR | bolt.module.pcf.PcfPushVerb :: Could not execute because the specified command or file was not found.

2023-09-21 20:17:21.9852 | ERR | bolt.module.pcf.PcfPushVerb :: Possible reasons for this include:

2023-09-21 20:17:21.9852 | ERR | bolt.module.pcf.PcfPushVerb ::   * You misspelled a built-in dotnet command.

2023-09-21 20:17:21.9852 | ERR | bolt.module.pcf.PcfPushVerb ::   * You intended to execute a .NET program, but dotnet-/Users/cbt/Library/Application does not exist.

2023-09-21 20:17:21.9852 | 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-09-21 20:17:21.9980 | ERR | bolt.module.pcf.PcfPushVerb :: Failed to launch process with exit code: 1

 

Seems like it is having trouble handling the space in the path at Application Support: - /Users/xyz/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 

"You intended to execute a .NET program, but dotnet-/Users/cbt/Library/Application does not exist.". 

Any ideas on how to get this to run?

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

    Recognizing this is a couple weeks old, I still want us to get an answer in here...

     

    My guess is that the solution would be:

    • Reinstall/update PAC, 
    • Reinitialize your pcf to ensure all libraries are clearly installed, or
    • Ensure that MSBuild is correctly referenced from PATH

    Guessing you've already solved this issue by now, so are any of those correct?

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard