Skip to main content

Notifications

Community site session details

Community site session details

Session Id : PRcPIygarYr+IH84ovViTf
Power Apps - Power Apps Pro Dev & ISV
Answered

msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

Like (0) ShareShare
ReportReport
Posted on 14 Dec 2020 14:49:38 by

so, i created a solution folder and ran the commands given on powerapps docs:

https://docs.microsoft.com/en-us/learn/modules/build-power-app-component/2-package-code-component

But when i run "msbuild", it gets stuck at the end and no files are generated inside the /bin/Debug folder inside solutions folder. Nothing so far posted or internet here seems to work for my case. I installed the 2019 build tools for visual studio, and gave the path inside the PATH enviorment variable in windows. Tried to run from Visual studio 2017 and also 2019 but everywhere it gets stuck.

  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on 15 Dec 2020 at 15:49:10
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    Hi @Anonymous , 

    Have you tried to deactivate the telemetry?

    pac telemetry disable

    ...since I see something related to Application Insights. We also had some issued with the telemetry being blocked.

    Another ideas:

    1. check if the build of your component succeeds: "npm run build". Maybe is not able to build.

    2. We had some issued with the NuGet feed while building, try "msbuild /p:NuGetInteractive="true". We actually need a Nuget.config in the PCF projects, otherwise we cannot build our PCFs

    3. try "msbuild /t:build /verbosity:diag", maybe you get more details on the issue.

    Hope it helps.

    Kind regards,

    Diana

  • Community Power Platform Member Profile Picture
    on 15 Dec 2020 at 11:33:42
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    yes , i tried from both inside Visual studio 2017 and also 2019 developer cmd as well as power shell in windows, but its the same issue of hanging at the "[build] Succeeded" step , and no file is generated inside the solution/bin/debug folder

    devPCF_0-1608032010038.png

     

     

     

  • Community Power Platform Member Profile Picture
    on 15 Dec 2020 at 10:29:38
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    Are you running msbuild commands in Developer Command Prompt for 20xx if not please also try like that?

  • Community Power Platform Member Profile Picture
    on 15 Dec 2020 at 10:11:50
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    Also just now, i let the msbuild command run for about 10-15 minutes without pressing Ctrl+C , and this error occured :

    devPCF_0-1608027099825.png

     

  • Community Power Platform Member Profile Picture
    on 15 Dec 2020 at 08:52:20
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    After running msbuild command, it just keeps on the "build success" and does not go any further,

    devPCF_0-1608022116727.png

     
    If I press Ctrl+C , then it cancels and shows this message :

    devPCF_1-1608022188642.png

    The msbuild /t:restore command runs successfully and gives no issue. But when i run the msbuild command after it, it just stops/hangs at the stage in 1st pic

  • RajYRaman Profile Picture
    270 on 14 Dec 2020 at 22:37:26
    Re: msbuild hangs at [build] Succeeded for packaging solution, powerapps PCF component

    @Anonymous - Can you post a screenshot of the terminal output. Aren't there any error messages that say why it isn't building the solution?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started