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

Notifications

Announcements

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.

I have the same question (0)
  • Verified answer
    Craig-MSFT Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 321

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 311 Super User 2025 Season 2

Last 30 days Overall leaderboard