Visual Studio keeps shutting down while trying to open Window Forms?
I'm running VS 2015 Enterprise edition. I have several Windows Forms and Report Files that when I get the below error. It does this repeatedly and I have know idea what is causing it. See attached image.
Re: Visual Studio keeps shutting down while trying to open Window Forms?
It could any number of things. I don't know but I would expect that VS would - or at least could - write to a log file when something like that happens. If it was me, I'd try to find out if that is indeed the case and, if it is, check out the contents of that log file.
Trying to open the same project and items on another machine might not be a bad idea either. If the same thing doesn't happen elsewhere then a repair of VS is probably in order and, if that doesn't help, a reinstall might be required. If this is due to a corrupt file somewhere then finding the culprit can be all but impossible unless it's something that Microsoft have investigated previously.
Re: Visual Studio keeps shutting down while trying to open Window Forms?
It wasn't clear if these several forms and reports were in one project or not. If so, I'd assume a file in just that project is corrupt. Otherwise, I'd do as jmc.
Re: Visual Studio keeps shutting down while trying to open Window Forms?
When I run into these cases, I open, or try to, the designer.vb file, sometimes it's a bad reference or some errant code in there that causes the crash. - I see now that this is on a report file... so I'm not sure there is a .designer.vb file that corresponds with reports.
→ The Comprehensive Guide to Cloud Computing
A complete overview of Cloud Computing focused on what you need to know, from selecting a platform to choosing a cloud vendor.