Resharper (R#) 4.5 and MVC (1.0) solutions cause Visual Studio 2008 SP1 to crash on solution load

大城市里の小女人 提交于 2019-12-13 16:17:01

问题


Does anyone have the issue with Resharper where opening a solution with MVC projects causes Visual studio to close/crash? No Errors, no warning, just close.

To fix the problem, I have to delete the bin and obj folders from the MVC project directory which allows the solution to be opened again.

When the solution is loaded, sometimes opening a .aspx/ascx file will close visual studio too.

I've never lost any work from this other than the occasional mismatched project/file system.

Any help is greatly appreciated.


回答1:


This was happening for me too (I also have PowerCommands and R# 4.5).

This question has quite a few different suggestions you could try: 500696 - why-does-visual-studio-crash-opening-aspx-with-mvc-rc1

I basically followed the steps outlined by Steve Mason by doing a 'Clean' of my solution and the ngen update step.

I seem to be OK for now (fingers crossed)...




回答2:


Which version of R# are you using? I suggest

  1. first trying it out with the latest official R# version
  2. if that doesn't help, try with some of the R# nightly builds

R# can be unstable, in general - I've downloaded the latest official version yesterday and it constantly reports exceptions (not fatal ones though). The latest nightly build seems to be more stable.




回答3:


Have you got PowerCommands installed? Try uninstalling/disabling and see if everything works. In fact, try this for each of your VS addins.



来源:https://stackoverflow.com/questions/1361291/resharper-r-4-5-and-mvc-1-0-solutions-cause-visual-studio-2008-sp1-to-crash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!