16

When I compile my project in VS 2012, it takes forever (minute or 2). I have noticed, in my task manager, that the "System" is using internet connection heavily during the compilation.

I have tried disabling the symbols loading.

So far only thing that helped was me disabling my Local Area Connection.

Any idea what could be causing this?

Miro Bucko
  • 1,123
  • 1
  • 13
  • 26

3 Answers3

6

Could it be caused by extension or addin you have installed? For example, NuGet will download missing packages during build if they're not there.

Try to monitor your network with application such as WireShark and it may point you in the right direction.

You may also run Visual Studio with /Log parameter and see if there is anything logged in the activity.log.

Finally, you can set build output to Diagnostic from Tools | Options | Project and Solutions | Build and Run and see if there's anything unusual there.

Jarek Kardas
  • 8,445
  • 1
  • 31
  • 32
  • My project no longer takes any extra time to compile.. very strange. Maybe some update has fixed it. Also the build output is very useful. – Miro Bucko Dec 17 '12 at 12:23
1

This may have something to do with VS checking for revoked certificates. Have a look at this post...

How to stop SSIS from "Phoning Home"

I find it has significantly improved VS performance.

Community
  • 1
  • 1
Ciarán
  • 3,017
  • 1
  • 16
  • 20
0

I guess you have enabled the getting symbols from Microsoft servers. Go to visual studio options -> debugging -> Symbols and check your settings.

Peter
  • 27,590
  • 8
  • 64
  • 84