• 0

Blank entries showing in solution explorer, clicking them causes VS 2015 to crash


Question

I work on around 35/40 different projects, I have one project which when I open it from source control explorer displays blank entries when viewing it in solution explorer. If I click on any of these blank entries in solution explorer visual studio 2015 crashes. This has been happening with both update 1 and update 2 of VS 2015. Can't remember if it happened on vanilla 2015 and I don't have 2013 installed to try with that.

 

I'm able to access all the files in the solution and open them to edit if I browse to then via source control explorer.

 

I've tried disabling all my extensions, I've tried running studio in safe mode. Still happens. I've also tried nuking my profile by running devenv.exe /ResetUserData but it still happens when I open this one particular project.

 

Has anyone came across this before or know how to fix it?

 

The only thing I've found that fixes it is to delete the .vs folder in the project and re-open the solution. This fixes it for a while but then I can open the solution again and there are blank entries again.

ov9IF.png

10 answers to this question

Recommended Posts

  • 0

Things to try:

 

1. Run VS2015 in admin mode to see if it is a permission issue.

 

2. Check for odd char encodings or special chars in the files.

 

3. manually edit the csproj file and the project.json and look for anonmolies. Or delete all the project files and re-create the projects into a new solution if that is feasible.

  • 0
7 minutes ago, DevTech said:

It might help people if you reference your previous question on the same topic:

 

 

 

I'd actually forgotten I'd posted it here previously. I thought I'd only posted on Stackoverflow. :blush:

  • 0
Quote

 

"Usually this is caused by extra references in either the .sln or .suo files."

Thanks, I'm not sure what I did differently but I deleted all the files locally and got the latest code from source control and the problem seems to have fixed itself.

 

 

- It seems that every time you start over, you are just pulling the problem in again from your source control. You should examine your sln/csproj/projectjson files in extreme detail to see if something is odd with them.

 

- Also consider setting everything on your computer and VS to U.S. English to eliminate character encodings as a potential issue.

 

- Anything out of ordinary with the computer hardware such as non-standard keyboard, other input devices, running in a VM, etc

 

  • 0
5 hours ago, DevTech said:

Things to try:

 

1. Run VS2015 in admin mode to see if it is a permission issue.

 

2. Check for odd char encodings or special chars in the files.

 

3. manually edit the csproj file and the project.json and look for anonmolies. Or delete all the project files and re-create the projects into a new solution if that is feasible.

1. Running in admin doesn't help, still get blank entries.

2. I haven't checked all the file (there are thousands) but the ones I have checked all seem fine.

3. That's not something that's possible unfortunately.

  • 0

Although it is only the one project, it seems like the type of error condition that VS2015 should be able to handle without crashing.

 

- so you probably have Update 3 installed but if not...

 

- you have given no details on your specific hardware and software and the type of project - ASP.NET or Console or WPF or UWP etc.

 

- for me I have observed that VS2015 is very glitchy on older hardware specially computers that can't run Hyper-V. This is a voodoo type tip which I really hate but turn on Hyper-V just in case it helps (needs a reboot) . Solved some really weird VS2015 bugs for me.

 

- try Microsoft Connect site and enter the problem description. They will respond, sometimes with useful info.

 

  • 0

- any VS add-ons could be a suspect - perhaps disable them for a test

 

- any software that monitors keystrokes could connect to the problem such as a real virus, a secret corporate installed keylogger, any anti-virus software, clipboard and "hot key" utility software, screen recording utils etc etc

 

- intermittent hard drive sector read issue - perhaps run full sector disk scan and also ye old "sfc /scannow" command

 

 

  • 0
16 minutes ago, DevTech said:

Although it is only the one project, it seems like the type of error condition that VS2015 should be able to handle without crashing.

 

- so you probably have Update 3 installed but if not...

 

- you have given no details on your specific hardware and software and the type of project - ASP.NET or Console or WPF or UWP etc.

 

- for me I have observed that VS2015 is very glitchy on older hardware specially computers that can't run Hyper-V. This is a voodoo type tip which I really hate but turn on Hyper-V just in case it helps (needs a reboot) . Solved some really weird VS2015 bugs for me.

 

- try Microsoft Connect site and enter the problem description. They will respond, sometimes with useful info.

 

  • I've got the latest VS updates installed.
  • I've got basically the same spec computer as everyone else in the office (Intel i5, 16GB ram, terabyte drive) The only difference between my hardware and everyone else's is I bought myself a decent Logitech keyboard and mouse to replace the crappy ones that came with the machine. All machines are running Windows 10 64bit. It's a massive project, not exactly sure what it all contains. It's definitely got console applications in it. It's a website with multiple front ends, service layers backends etc. Millions of lines of code.
  • I've got hyper-v enabled on my machine.
  • Will try there too.
8 minutes ago, DevTech said:

- any VS add-ons could be a suspect - perhaps disable them for a test

 

- any software that monitors keystrokes could connect to the problem such as a real virus, a secret corporate installed keylogger, any anti-virus software, clipboard and "hot key" utility software, screen recording utils etc etc

 

- intermittent hard drive sector read issue - perhaps run full sector disk scan and also ye old "sfc /scannow" command

 

 

  • I do have VS extensions but the issue occurs in safe mode and (not due to this issue) a fresh Windows install with a fresh VS install with no extensions added.
  • The only thing I have that monitors keystrokes would be an autohotkey script that I use to quickly launch a bunch of console applications for various websites I'm testing. Also replaces @@ with my email address (because I'm lazy :-) )
  • I haven't tried a disk scan. Will do one over the weekend.
  • 0
4 minutes ago, unabatedshagie said:

 

  • I've got basically the same spec computer as everyone else in the office (Intel i5, 16GB ram, terabyte drive) The only difference between my hardware and everyone else's is I bought myself a decent Logitech keyboard and mouse to replace the crappy ones that came with the machine. All machines are running Windows 10 64bit. It's a massive project, not exactly sure what it all contains. It's definitely got console applications in it. It's a website with multiple front ends, service layers backends etc. Millions of lines of code.
  • If you copy your project to another computer in the office at the time of crash, it does not have the issue?

 

 

 

 

  • The only thing I have that monitors keystrokes would be an autohotkey script that I use to quickly launch a bunch of console applications for various websites I'm testing. Also replaces @@ with my email address (because I'm lazy :-) )
  • uninstall autohotkey and reboot when you have the issue
  • also disable WIndows Defender or any Anti-Virus Software temporarily when you have the issue

 

  • I haven't tried a disk scan. Will do one over the weekend.
  • also the "sfc /scannow" quickly identifies any fundamental O/S corruptions

 

- in addition to above comments, you could temporarily install a second VS2015 into a fresh Windows VM which would give you more control over making a bare minimum config that can load the files from the project that are suspect. Also don't sign into VS as yourself to avoid pulling in any settings from the cloud on a fresh install.

 

- also, is the project pulling in any stuff from Nuget? if so, can you provide a list?

 

- after all of the above, we still have the option of debugging VS2015 itself as the problem happens, but that removes all the Sherlock Holmes style fun of logically deducing the culprit :)

 

  • 0

There is a tool here that removes whitespace and checks line endings etc. That tool as-is or some mod to it that also checks char ranges etc for unusual "somethings" might be useful.

 

https://github.com/KirillOsenkov/CodeCleanupTools

 

I'm all out of ideas until more info is available.

 

 

 

This topic is now closed to further replies.
  • Posts

    • Limited time Prime Day deal cuts price of this Hisense 65" 4K smart TV in half by Ivan Jenic It’s Amazon Prime Day, and brands are offering great deals to consumers. One of the best deals of the day is definitely this Hisense 65" U7, which is currently $799.99 on Amazon, down from $1,499.99. That's nearly 50% off and $700 saved on this feature-packed 4K TV (purchase link down below). The U7 uses Mini-LED backlighting with up to 3,000 local dimming zones and up to 3,000 nits of peak brightness. That means blacks are truly deep and highlights are punchy enough to hold up even in bright rooms. The screen is covered with a dual-layer anti-reflection coating, which prevents the afternoon overhead lights from washing the picture. For gaming, the native 165Hz refresh rate and VRR 330 support make this one a great TV option for PS5 and Xbox Series X. The TV even features a native game mode, which should help minimize the input lag for a better gaming experience. Audio is handled by a 2.1.2 channel system tuned by Devialet, which is a notable partnership for a TV at this price. Additionally, Dolby Vision IQ, Dolby Atmos, and IMAX Enhanced are all supported. It runs Fire TV with Alexa+ built in. So, if you’re looking for a sharp, large screen to watch the World Cup on, the U7 at this price is definitely an attractive option. Speaking of which, Hisense is the official sponsor of the World Cup, which should mean absolutely nothing to you, and isn’t the reason why you should by this TV. The reason why you should buy it is that it’s “la bella televisione, HDTV-compatible, beautiful,” and available at half the price. Hisense 65" U7 Mini-LED 4K Smart Fire TV - $799.99 | 47% off on Amazon Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • eM Client 10.4.5600.0 by Razvan Serea eM Client is a full featured e-mail client with a modern and easy to use interface. eM Client also offers calendar, tasks, contacts and chat. eM Client supports all major services including Gmail, Exchange, iCloud, and Outlook.com. You can easily import your data from most of the other e-mail clients. This includes Microsoft Outlook, Outlook Express, Windows Mail, Windows Live Mail, Thunderbird, The Bat and more. eM Client fully supports touch devices like touch-enabled laptops, tablets and hybrid devices. Use your email client easily in a modern way. eM Client PRO vs. Free version While the Free license allows you to set up the maximum of two accounts in the application, it is possible to add an unlimited number of accounts with the PRO license. The PRO license also enables you to use eM Client for commercial purposes. Commercial use is any activity that helps you make profit, the Free license therefore cannot be used in company settings or on personal computers for business correspondence. PRO users also gain access to the dedicated support system and to the licensing manager. eM Client has been fully optimized to run smoothly on Windows Vista, 7, 8, 10 and 11. eM Client 10.4.5600.0 changelog: Improved memory management Improved MS Teams support A lot of other fixes Download: eM Client 10.4.5600 | 128.0 MB (Free, paid upgrade available) View: eM Client Website | eM Client Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Re: Capitalism. It's just 1 of dozens of economic models currently-adopted worldwide; most national models separate money from politics thereby limiting the influence wealth carries over the economy (due to limited tentacles wealth politics has over the broader economy). The "American model" of unfettered financial influence should NOT be the variant of pure capitalism adopted worldwide. More regulations formulated within this variant is effectively useless due to the misalignment between regulatory objectives and fundamental influence wealth politics carry over the market. Re: enough money. Without constraining the breadth/depth/scope/scale that any measure of money/wealth can have within a market, there will always inherently be those who have "enough money" and those who do not. Those without "enough money" will always lose -- regardless if a bedroom DJ, indie developer, or million-dollar corporation going against a billion-dollar mega-corporation. The evil is the absence of guardrails against the influence of wealth; not the mere existence of wealth. Re: dragged through the courts. The liberalist nature of litigation does not exclude anyone, anywhere, for any reason for getting dragged through the courts. Rather than formalize remediation pathways for various perceived ills, everything is left up to flawed interpretations... and this is where a litigation-averse community fails to thrive (thus a losing proposition when dragged to courts). Everyone should have more protections and clear remediation strategies! Going to an alternate remediation arbitration is OK so long as the case review and remediation processes are clear and transparent. For corporations, hit them where it hurts: automatic financial penalties. (PS: This is where corporate risk management strategies would do well to behave more ethically.) Overall, failure to truly shake-up the incentive core and regulatory extremities of the economic market will necessarily mean that all other actions are simply applying lipstick on a pig. Change begins from the inside. Is the root cause of the problem that a majority of consumers within a market goes for Option Brand-name versus Option Indie? Or that brand-name is spending foreign money to control domestic markets? Or that money is the objective measure for success across all walks of life? Or that deep pockets dictate the moral and ethical rights/wrongs of entire societies? Regardless of the answer (and there's nothing inherently wrong with being a socialist or communist or whatever label your surroundings deem 'cool' or 'uncool') there's a common thread: If a market truly wants to nurture domestic innovation, then performative finger-wagging will do nothing to that end.
    • Does anyone remember the time when VSCode was a lightweight solution, just shy of 40 MB? No?
  • Recent Achievements

    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
    • Apprentice
      daryld went up a rank
      Apprentice
    • Contributor
      Carltonbar went up a rank
      Contributor
    • One Month Later
      The_Focal_Point earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      404
    2. 2
      +Edouard
      164
    3. 3
      PsYcHoKiLLa
      130
    4. 4
      Xenon
      71
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!