trying to push a component: error MSB3231: Unable to remove directory "obj\Debug\Metadata" is causing failure. #1308
Unanswered
EUK-156DavidM
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
I've noticed this issue too but only seems to happen on my Windows on ARM Surface Laptop weirdly enough. Don't see it when building on Windows runners in AzDO or GitHub and don't see it on my X86. Not sure if it helps others who are having the same. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've built a code component and when trying to push the solution into the selected environment I get the error:
error MSB3231: Unable to remove directory "obj\Debug\Metadata". The process cannot access the file '\\?\..\..\PCFNAME\obj\PowerAppsToolsTemp_eukd\obj\Debug\Metadata\Controls' because it is being used by another process. [C:\..\..\PCFNAME\obj\PowerAppsToolsTemp_eukd\PowerAppsToolsTemp_eukd.cdsproj]I've been looking into this for a while and think the .cdsproj file isn't finished it's part of the process. I've tried deleting all of the temp files along with the 'obj' and 'bin' folders which hasn't helped at all. MSB3231 error code doesn't give me much information either. From Microsoft "This error occurs when MSBuild tries to delete a directory, but the operating system returns an error."
Beta Was this translation helpful? Give feedback.
All reactions