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 Platform Community / Forums / Power Apps / no .zip & no 'Solution...
Power Apps
Answered

no .zip & no 'Solution\bin\debug'-Folder after successfull build

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Following the tutorial ( please see Create your first component using Power Apps Component Framework in Microsoft Dataverse - Power Apps | Microsoft Docs ), i tried to generate a zip file using MSBuild - but no .zip-file has been created, no folder Solution\bin\debug has been created - yet MSBuild tells me Build succeeded. (please see below). 

What am i missing? How can i create the .zip-file?

 

**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.0
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************

C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>cd C:\Users\xxx\Project\LinearInputControl\Solutions

C:\Users\xxx\Project\LinearInputControl\Solutions>msbuild /t:restore
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/16/2021 3:00:37 PM.
Project "C:\Users\xxx\Project\LinearInputControl\Solutions\Solutions.cdsproj" on node 1 (Restore target(s)).
_GetAllRestoreProjectPathItems:
Determining projects to restore...
Restore:
Restoring packages for C:\Users\xxx\Project\LinearInputControl\LinearInputControl.pcfproj...
Restoring packages for C:\Users\xxx\Project\LinearInputControl\Solutions\Solutions.cdsproj...
GET https://api.nuget.org/v3-flatcontainer/microsoft.powerapps.msbuild.solution/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.powerapps.msbuild.pcf/index.json
OK https://api.nuget.org/v3-flatcontainer/microsoft.powerapps.msbuild.pcf/index.json 118ms
Committing restore...
Generating MSBuild file C:\Users\xxx\Project\LinearInputControl\obj\LinearInputControl.pcfproj.nuget.g.props.
Writing assets file to disk. Path: C:\Users\xxx\Project\LinearInputControl\obj\project.assets.json
Restored C:\Users\xxx\Project\LinearInputControl\LinearInputControl.pcfproj (in 826 ms).
OK https://api.nuget.org/v3-flatcontainer/microsoft.powerapps.msbuild.solution/index.json 417ms
Committing restore...
Generating MSBuild file C:\Users\xxx\Project\LinearInputControl\Solutions\obj\Solutions.cdsproj.nuget.g.props.
Writing assets file to disk. Path: C:\Users\xxx\Project\LinearInputControl\Solutions\obj\project.assets.json
Restored C:\Users\xxx\Project\LinearInputControl\Solutions\Solutions.cdsproj (in 943 ms).

NuGet Config files used:
C:\Users\functor\AppData\Roaming\NuGet\NuGet.Config

Feeds used:
https://api.nuget.org/v3/index.json
Done Building Project "C:\Users\xxx\Project\LinearInputControl\Solutions\Solutions.cdsproj" (Restore target(s)).


Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:03.34

C:\Users\xxx\Project\LinearInputControl\Solutions>

 

 

 

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

    MSbuild does more than just compile. The /t:restore parameter which it looks like you've done here does not build the project; it simple restores any nuget packages referenced in it. You then need to also run an actual compile command (msbuild /t:rebuild, for example) to actually build the project.

  • klpinhac Profile Picture
    Microsoft Employee on at

    Thanks for your response - msbuild /t:rebuild indeed did the trick!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard