I am having problems with very slow builds in a solution with 12 projects, of which 7 included NuGet Package Restore recovery. The diagnostic output usually shows this:
[...]
9 ms ResolveProjectReferences 1 calls
18 ms _CleanGetCurrentAndPriorFileWrites 1 calls
32 ms CoreClean 1 calls
56 ms ResolveAssemblyReferences 1 calls
77 ms _CopyFilesMarkedCopyLocal 1 calls
400 ms CoreCompile 1 calls
9082 ms RestorePackages 1 calls
This is typical; RestorePackages usually takes 9-10 seconds for each project, and with 7 projects this adds a hefty 70 seconds to my build time. None of my colleagues who are building the same solution have this problem. I disabled all extensions, and Visual Studio (2012) was updated.
I am having a problem with CodePlex , but I also want to ask this knowledgeable community for a quick fix and ask for help in fixing this problem.
: NuGet - RestorePackages , - 10 . RestorePackages = false csproj, .
2: RestorePackages NuGet.targets, . :
<Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
</Target>
CheckPrerequisites .
: Windows 8.1, .