开发者

How can I stop VS from giving me several types of "System.OutofmemoryException" errors?

开发者 https://www.devze.com 2023-04-01 09:58 出处:网络
So, I\'ve got Visual Studio 2010 and am working on a Silverlight 4 project. Recently, my dear VS started to, randomly by the way, not build due do an out of memory error.

So, I've got Visual Studio 2010 and am working on a Silverlight 4 project. Recently, my dear VS started to, randomly by the way, not build due do an out of memory error. I've had several types of errors:

  • the famous "xap packaging failed"
  • a simple System.OutofmemoryException
  • etc

The answers, if one can call them so, that I keep finding are: restart your Visual Studio and it's all ok! Well... when I have to restart VS about 10 or 15 times a day, you can see where this can be troublesome right?

Does anyone 开发者_JAVA技巧know of a solution? I could try reinstalling the whole deal (VS, Silverlight Runtime, etc) but it would be preferable if there was an easier solution to this.

Thanks in advance!


Try,

  1. "iisreset" or
  2. Clean the temp files in the path "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"
0

精彩评论

暂无评论...
验证码 换一张
取 消