|
-
May 21st, 2009, 03:10 PM
#1
Thread Starter
Fanatic Member
Open Project, Compiler Crashes
I'm trying to move a project from my old laptop to my new laptop. But I'm running into a problem: whenever I open the project on my new laptop, it crashes!
I can open other projects on my new laptop, including some copied from my old laptop. I can also open the project in question on my old laptop. So the problem must be some combination of things in the project, and the fact that it was moved.
Any suggestions? I've found posts of people with similar problems, but no good answers.
Don't pay attention to this signature, it's contradictory.
-
May 21st, 2009, 03:26 PM
#2
Re: Open Project, Compiler Crashes
Can you be more specific - when you say it crashes do you mean that there is an exception raised by Visual Studio and it exits, or that the project fails to load but Visual Studio remains open.
Presumably there is a message shown - if so what is the error message?
-
May 21st, 2009, 03:27 PM
#3
Re: Open Project, Compiler Crashes
unfortunately it could be a number of things... first get rid of the suo file.... it holds what files you had open.... if you had something open in the designer, then the IDE will try to open it again... if it references something that doesn'texist on your new system, it could cause that problem.... so I'd start there....
If that doesn't solve it, create a new project, then Add Existing Item from your old project into the new one, one item at a time....
-tg
-
May 21st, 2009, 03:41 PM
#4
Thread Starter
Fanatic Member
Re: Open Project, Compiler Crashes
 Originally Posted by keystone_paul
Can you be more specific - when you say it crashes do you mean that there is an exception raised by Visual Studio and it exits, or that the project fails to load but Visual Studio remains open.
Presumably there is a message shown - if so what is the error message?
I open the project, and I quickly get a message "Microsoft (R) Visual Basic Compiler has stopped working", with the options to close, debug, or check for a solution (doesn't work). There's also a 'show problem details' widget, which puts up information that would only be useful to microsoft (eg. Exception Code e06d7363)
 Originally Posted by techgnome
unfortunately it could be a number of things... first get rid of the suo file.... it holds what files you had open.... if you had something open in the designer, then the IDE will try to open it again... if it references something that doesn'texist on your new system, it could cause that problem.... so I'd start there....
If that doesn't solve it, create a new project, then Add Existing Item from your old project into the new one, one item at a time....
-tg
The compiler crashes, not the IDE. I'd rather not manually add 100 files.
Don't pay attention to this signature, it's contradictory.
-
May 22nd, 2009, 09:25 AM
#5
Thread Starter
Fanatic Member
Re: Open Project, Compiler Crashes
I found the problem. VS team crashes for this snippet of code, but professional doesn't:
Code:
Public Class B(Of T)
Protected Function P(ByVal arg As T) As Boolean
End Function
End Class
Public Class C
Inherits B(Of Integer)
Private Sub New(ByVal arg As Integer)
Dim d = Function() P(arg)
End Sub
End Class
Don't pay attention to this signature, it's contradictory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|