Click here to Skip to main content
15,888,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

This is a vague question and I wouldn't ask if I weren't desperate.

I have just switched to a brand new installation of VS2017 on a new installation of Windows 10. The Solution Explorer appears to be broken.

My solution-level folders disappear every time I reopen the solution. I have to click on some odd combination of the buttons to get it to show the solution-level folders while not showing every bin and obj folder.

More worryingly, I have just created a fresh WPF project and it has failed to nest the .xaml.cs files beneath their .xaml counterparts.

To be honest, the whole thing so far feels as buggy as hell. Has anyone else encountered anything like this?

Any help or advice would be desperately appreciated. I'm struggling to work in it as it stands.

What I have tried:

Deleting the solution and recreating it.

Running VS2017 as Administrator.
Posted
Updated 13-Feb-18 0:39am
v2
Comments
Mehdi Gholam 13-Feb-18 5:19am    
Have you installed WPF support in VS2017?
phil.o 13-Feb-18 5:24am    
I'm running VS2017 on Windows 10 for a year now, and so far I did not have any issue.
For your first problem, you could try to delete the .suo file (once) from the solution before opening it.
For your second problem, I don't do XAML enough to answer. Does the nesting issue also occurs with other object types (Forms, for example)?
Richard MacCutchan 13-Feb-18 5:29am    
I have been using 2017 for quite a few months on Windows 10 and never seen anything like you describe. I have imported lots of different projects from previous versions and all came over without incident. But it is difficult to guess exactly what may be the issues you are seeing.
RickZeeland 13-Feb-18 5:33am    
Maybe run the VS installer and select "repair" ?
Patrick Skelton 13-Feb-18 5:50am    
Ooo! That fixed it! I've never had a huge amount of faith in repair options. Silly, I know, but historically I just seem to have had such a low success-rate with them, not just in VS but in many other applications. This time it worked. Sometimes the obvious suggestions are the best. Thank you!

I still don't have a .suo file though. Is that normal for VS2017?

1 solution

Maybe run the VS installer and select "repair" ?

The .suo files have moved somewhere deep in the .vs directory ...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900