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 Platform Community / Forums / Power Apps / Control directory with...
Power Apps
Answered

Control directory with same publisher name already exists

(0) ShareShare
ReportReport
Posted on by 75

Hi

 

I have recently moved PCF project from one system to another,  after doing so i have run  PAC install update and other configuration on the machine. i have also ran msbuild /t:restore, However, When I do msbuild i am getting following error: 

 

error : Control directory with publisher name C:\PowerApps\GLMS\Name\DeploymentV1_1\obj\Debug\Controls\Control.name already exists [cdsProject Path]

 

also, If i delete files from obj/debug folder solution builds properly. but once first bulid is done. second time onwards it thorws above error.

 

I have the same question (0)
  • Verified answer
    devendramsft Profile Picture
    Microsoft Employee on at
    Hi

    This is a known bug that is getting fixed in an upcoming release with a workaround of using ("msbuild /t:rebuild ") instead of "msbuild". Can you please try using rebuild instead of build command to workaround the issue temporarily.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 414

#2
Valantis Profile Picture

Valantis 408

#3
timl Profile Picture

timl 339 Super User 2026 Season 1

Last 30 days Overall leaderboard