• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

VS 2010 oddities

I have encountered a problem in VS 2010/VB.Net.

I open a project, and open a form file in the design mode. The tab above it has an asterisk indicating it needs to be saved, even though I haven't changed anything. I can edit it, save it, compile the .exe and all is fine.  But if I try to close that tab, VS blows up.

Once I restart VS, if I open the project again, the same thing happens.

Is there a Visual Studio setting that might affect this?

Of course, it doesn't happen on all form files, but on most.

This just started about a week ago.  I went back to old backups, and it happens on them now as well.  Therefore, I believe Visual Studio is the culprit.

Thanks for any suggestions.
0
lweekly
Asked:
lweekly
1 Solution
 
Jacques Bourgeois (James Burger)Commented:
If you open the programs option in the Control Panel and right-click on the Microsoft Visual Studio entry, you will have an option to Change the settings. Once in there, you can ask to Repair the installation. This usually solves the type of problem you are describing.
0
 
lweeklyAuthor Commented:
Thanks, I'll try that if it happens again.  Before I got your answer, I recreated the two forms from scratch, carefully layering things the right way the first time.  I was able to copy from the original, so it only took about four hours.

These are very complex forms, so I would add a few things, save, close and re-open to ensure all was OK before proceeding.

I guess I had done something in the form designer that confused the issue, so a clean restructure appears to have eliminated the problems.

Thanks again
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now