问题
I recently installed the latest rounds of Windows updates, including the .NET 4.0 updates and the Visual Studio updates (but not VS2010 SP1). Since then, my F# compiler has been running really, really slow. I thought it might be this problem with crl.microsoft.com, but it turns out not to be. Also, I think mscorsvw.exe has completed running. (I forget the command to force it, but it doesn't kick in, even when the machine is idle.)
Also:
The F# compiler is producing correctly running code, just slowly.
The C# compiler remains as fast as always.
Has anyone else experienced this problem?
-Neil
回答1:
I forgot to run ngen.exe. After running that, F# compiles are back to normal speed.
-Neil
回答2:
For future reference, here's a link on how to actually do it:
f# compiling too slow
来源:https://stackoverflow.com/questions/5924637/f-is-running-very-slow-since-last-round-of-windows-updates