tag:blogger.com,1999:blog-2513751741660765205.post2509499142853857640..comments2023-06-02T05:13:08.367-07:00Comments on DigiOz Blog: Visual Studio 2012 Freezes or Crashes When trying to add a new ASP.NET MVC ControllerDigiOz Multimediahttp://www.blogger.com/profile/02516884039586828298noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2513751741660765205.post-92076405572014651762016-06-05T16:11:36.716-07:002016-06-05T16:11:36.716-07:00One option I see is, once you go through the turmo...One option I see is, once you go through the turmoil of creating the first controller, when you need another one, copy and paste the first one. That does not suffer the delay.<br />Or just add a new class.<br /><br />Can do the same with views.toddmohttps://www.blogger.com/profile/18102486213069100450noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-16707097248538039632016-06-04T18:57:45.368-07:002016-06-04T18:57:45.368-07:00It normally is in the root of the directory you ch...It normally is in the root of the directory you chose to save your project to. DigiOz Multimediahttps://www.blogger.com/profile/02516884039586828298noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-12693807633197282662016-06-04T18:30:51.960-07:002016-06-04T18:30:51.960-07:00Where is the packages directory normally?Where is the packages directory normally?toddmohttps://www.blogger.com/profile/18102486213069100450noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-54622290233970555482015-07-29T13:18:35.798-07:002015-07-29T13:18:35.798-07:00@BlogBrett did you ever find a solution?@BlogBrett did you ever find a solution?Anonymoushttps://www.blogger.com/profile/04049374972602644458noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-7395947932783123752015-05-03T05:39:17.547-07:002015-05-03T05:39:17.547-07:00Yes, the same issue happens if you use a Network D...Yes, the same issue happens if you use a Network Drive or a Network Attached Storage, since it is considered an external location outside your PC. DigiOz Multimediahttps://www.blogger.com/profile/02516884039586828298noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-53436595463020566772015-05-03T03:11:00.437-07:002015-05-03T03:11:00.437-07:00I had the same issue and it was due to hosting the...I had the same issue and it was due to hosting the files on my NAS, and mapping all the filepaths to there (Tools > Options > Projects & Solutions > General). <br /><br />The quickest solution which worked was just to keep the files on a local drive instead of the server and back them up to the nas periodically.<br /><br />HTHAnonymoushttps://www.blogger.com/profile/05870297108021657588noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-83411177906988751732015-02-09T10:31:19.977-08:002015-02-09T10:31:19.977-08:00Try closing the visual studio solution, delete eve...Try closing the visual studio solution, delete everything in the "package" folder, then run the solution file again and let Visual Studio fetch all the required packages for you. See if that helps. DigiOz Multimediahttps://www.blogger.com/profile/02516884039586828298noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-15017042908903768412015-02-09T10:29:30.547-08:002015-02-09T10:29:30.547-08:00My files have no unblock button. Still dead in the...My files have no unblock button. Still dead in the waterBlogBretthttps://www.blogger.com/profile/00409695145703121044noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-22637324158663646402014-12-23T11:47:30.688-08:002014-12-23T11:47:30.688-08:00That's a great tip, thanks Stephen.That's a great tip, thanks Stephen. DigiOz Multimediahttps://www.blogger.com/profile/02516884039586828298noreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-53301679475111692572014-11-15T11:25:51.448-08:002014-11-15T11:25:51.448-08:00Thanks for the post, least expected it would be a ...Thanks for the post, least expected it would be a file blocked that could prevent new controller being created; looks at the internal wiring up for the scaffolding I suppose.<br />Just to add a bit of what I did - if you have used nuget to install new libraries, it is likely that these are blocked as well and can become cumbersome to unblock, so use the powershell command - <br />c:> gci D:\XYZ\packages\ Unblock-File<br /><br />Saves a lot of time.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2513751741660765205.post-21311192653820160372014-04-20T09:51:07.214-07:002014-04-20T09:51:07.214-07:00Thank you. Unblocking the downloaded zipped proje...Thank you. Unblocking the downloaded zipped project also unblocked the files after extracting. Never would've thought to do that. I was chasing my tail before seeing your post.<br />Anonymoushttps://www.blogger.com/profile/15393611076955926377noreply@blogger.com