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 pcf push fails

(0) ShareShare
ReportReport
Posted on by 25

Hi,

 

I'm getting the following errors using pac pcf push:

C:\Users\<user>\.nuget\packages\microsoft.powerapps.msbuild.solution\1.0.6\build\Microsoft.PowerApps.MSBuild.Solution.targets(98,5): error : Project Reference with output path 0, is not a valid PowerApps Component Type [C:\<component>\obj\PowerAppsTools_dev\PowerAppsTools_dev.cdsproj]
C:\Users\<user>\.nuget\packages\microsoft.powerapps.msbuild.solution\1.0.6\build\Microsoft.PowerApps.MSBuild.Solution.targets(98,5): error : Cds component type not supported [C:\<component>\obj\PowerAppsTools_dev\PowerAppsTools_dev.cdsproj]

 

Any ideas? The error comes at stage "Building the temporary solution wrapper...".

 

I have been adding and removing the component as part of a solution before.

  • Verified answer
    Craig-MSFT Profile Picture
    Microsoft Employee on at

    Please see my post about fully updating to v1.*.

    https://powerusers.microsoft.com/t5/PowerApps-Component-Framework/PowerApps-CLI-September-update/m-p/372433/highlight/true#M1001

     

    From what you decribe, this looks like you may have a mismatch of versions. Let me know if following the instructions in the link above solves your issue.

  • Mikko_K Profile Picture
    25 on at

    This fixed push not working. However, I still had the original problem which I hoped this push to fix: my component is not available for use in a field, even if I can see it in CRM solution and I could use it the first time I tried.

     

    This one was fixed by making sure my components are fully uninstalled from the system and doing push again.

  • Padma08K Profile Picture
    2 on at

    Hi, I am facing the same issue while pushing, what components should I uninstall before pushing? 
    Could you help me, please?

    thanks.

  • PhanindraB Profile Picture
    4 on at

    I have faced the same issue due to "msbuild"  command not found. Issue resolved after setting path variable to C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard