Click here to Skip to main content
16,004,653 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when i run MVC project in Visual Studio 2015 or 2017,
take very long time without response and at the end Give me Error in Temp Folder or obj folder i Try To close Visual Studio and delete Temp , obj and bin folder
but it still has the same problem and i remove Visual studio and reinstall it without any benefit

Timed out waiting for a program to execute. The command being executed was "D:\ITI\22-MVC5\Day6\Day6Templates\Day6Templates\bin\roslyn\csc.exe" /shared /keepalive:"10" /noconfig  /fullpaths @"C:\Users\Faten Elhariry\AppData\Local\Temp\Temporary ASP.NET Files\vs\018760c7\6e431245\fc4t3aua.cmdline".


How i can Solve this issue ?

What I have tried:

Try To close Visual Studio and delete Temp , obj and bin folder 
but it still has the same problem and i remove Visual studio and reinstall it without any benefit  
Posted
Updated 26-Jul-17 18:25pm
v2

1 solution

Something still has a lock on those directories so you'll need to use some utilities to figure out what process has the lock on those directories.

Powershell
filesystems - Find out which process is locking a file or folder in Windows - Super User[^]


Sysinternals

TechNet How to find out which process is locking a file or folder in Windows[^]

Other than telling you the tools to use, you'll have to do the rest of the work as keep in mind, we don't have access to your computer.
 
Share this answer
 
Comments
Member 11172870 26-Jul-17 15:01pm    
i tried to use this solution but i don't know how to run it in visual studio in the example use Excle file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900