All Controls Inaccessible
I'm not sure if this was the correct forum to post in, please let me know and I will fix this.
I recently upgraded to Visual Studio 2015 from Visual Studio 2013. I quickly noticed that IntelliSense was not showing me any methods from certain classes, nor any controls on other forms. I did not have this issue in 2013.
I created a new project, and setup a few forms with methods. I can view the methods from other forms, but not any controls on them with visual studio reporting that, for example:
Code:
TestProject.TestForm.Button1 is not accessible in this context because it is 'Private'.
I have never had this before, the form is declared Public and within the same project. I am having this issue with every project I try to open or create, and have never had this issue in 2013. Is there a setting I have to change to fix this?
Also, indentation seems to be messed up in 2015 as well, the editor isn't properly formatting snippets and inserting the proper amount of tabs.
Re: All Controls Inaccessible
All of those symptoms together sound suspiciously like a corrupt installation of some sort. The best I can suggest is attempting to uninstall, then reinstall.
Re: All Controls Inaccessible
Yeah, it sounds like you have a bad install. Those problems don't even appear to be related to each other, but all seem to be due to either layout errors or some internal bookkeeping mistakes. Both of those together sounds like a bad install.
Re: All Controls Inaccessible
Is it possible that VS2015 actually, now, marks controls as private? (which personally I think it should have done originally). As far as the tabs, what are you expecting and what are you getting? Maybe the default is different from what you previously had configured?
Just a couple of ideas to try and avoid a reinstall...
Re: All Controls Inaccessible
I tested that, SJW, and agree it would be a more sensible default, but it's still Friend, and still encouraging people to get in difficult situations.
Re: All Controls Inaccessible
Quote:
Originally Posted by
Sitten Spynne
I tested that, SJW, and agree it would be a more sensible default, but it's still Friend, and still encouraging people to get in difficult situations.
Ah well, so much for that idea...