Click here to Skip to main content
15,797,721 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
When i am trying to add new controller visual studio goes hang
Nimit Joshi 7-Apr-14 0:16am    
Is there any error message? What is the version of Visual Studio?
kashyap10 7-Apr-14 0:20am    
There is not any error msg... Its showing visual studio is busy ..
M using 2012
Sergey Alexandrovich Kryukov 7-Apr-14 0:20am    
We have trouble accessing your hard drive.
kashyap10 7-Apr-14 0:21am    
It may happen when we move our mvc proj to different machine ..

1 solution

I got the solution ...

basically your mvc application may get block when you transfer your project over machines ..

Here is a list of ways your file may get blocked:

- Your Project is under CVS, SVN, Git or Mercurial Source Control, and you just fetched the latest version of the Project from that Source Control.
-You downloaded the project from the WWW through a list file and extracted it, then ran the Solution File.
-You copied the files from a Network Location that is NOT Trusted by your PC.

There are two way to solve this problem..

1. Right click on each and every file and go to the property and click on "Unblock"

2. Its really easy.. you have to create new solution and right click on that solution and select "add existing project" visual studio will unblock all the files and make it appropriate ...

Enjoy ..
Share this answer

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