Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot build Store Package - error

Unable to remove directory "obj\x86\Release\PackageUploadLayout\". The process cannot access the file 'System.Collections.Immutable.dll' because it is being used by another process.   

I cannot build my Store package! I restarted VS , I restarted the system , I cleaned the solution , no result same issue.The app builds , works fine , I just cannot create the Store package and I am trying to update an app that I already have submitted. Any idea? Thanks in advance.

like image 214
Mihail Georgescu Avatar asked Aug 17 '15 00:08

Mihail Georgescu


2 Answers

This worked for me. Go to the project folder and delete the "obj" folder. It might complain about "System.Collections.Immutable.dll", Just close Visual studio and continue the deletion.

like image 85
gavi Avatar answered Nov 17 '22 11:11

gavi


Deleting the obj folder, shutting down VS and rebooting did not solve the problem for me. I had to create a new project to finally resolve the problem.

like image 1
Randall Sanborn Avatar answered Nov 17 '22 10:11

Randall Sanborn