Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio shows "Updating source control status" after installing ASP.NET MVC 4 Beta

After installing ASP.NET MVC 4 Beta, Visual Studio shows "Updating source control status" on the lower left side of the status area.

Any ideas? Seems a lot of stuff is broken after installing the beta. I am trying hard not uninstalling it.. :(

like image 579
Nikos Baxevanis Avatar asked Feb 22 '12 23:02

Nikos Baxevanis


3 Answers

Issue is Nuget Manager. It installs templates for both ASP 4 and ASP 2.

Uninstalled Nuget Manager and then re-installed it (reopen VS Studio) and solutions come up in few seconds

like image 77
Sonali Parekh Avatar answered Nov 11 '22 10:11

Sonali Parekh


I have the same exact problem! It seems to take forever to deal with TFS when opening a project.

I already uninstalled it once to verify (yes, it solved the problem). Now, I've re-installed and it came back with a vengeance. VS.NET locked up with loading my project :(

I'll post more if I get anywhere...

UPDATE: I waited longer and VS.NET wasn't locked up, it just took a really long time (5 minutes or so).

It seems that it's related to NuGet packages somehow, since my Source Control window has almost 1200 messages like this:

The item $/...[snip].../packages/AmplifyJS.1.0.0 already exists.
The item $/...[snip].../packages/AmplifyJS.1.0.0/AmplifyJS.1.0.0.nupkg already exists.

Every message in there is "already exists" for something in the NuGet "packages" folder

I'll keep you posted

UPDATE 2: I added a "Connect" bug. Go there and verify that you can see it too to get it more attention.

like image 32
Tom McKearney Avatar answered Nov 11 '22 10:11

Tom McKearney


As Sonali pointed out, the issue is related to NuGet. On solution open, the NuGet package manager does a version control operation for every file in your "packages" directory. This issue should be fixed any day now in their 1.7 release by making it a one time bulk operation.

In the meantime, if you're using VS11 with TFS11, you can upgrade your workspace to a "local" workspace to eliminate the delay on solution open.

like image 2
Jim Lamb Avatar answered Nov 11 '22 11:11

Jim Lamb