File nesting in solution explorer of ASP.NET Core application

℡╲_俬逩灬. 提交于 2020-01-24 20:55:27

问题


when i created ASP.NET Core 2.0 Razor Page template project, every .cshtml and their .cs file are splitted. I don't know why, before few minutes its working fine but i can't remember what i did. Maybe SDK or settings of Visual Studio. I don't know. Here are screenshot preview of my problem. On the left side is my solution explorer and on the right side is what i want.

Thank you for any advice.


回答1:


I had the same problem. you need to enable file nesting in the solution explorer. just click that button in the image:



来源:https://stackoverflow.com/questions/51538392/file-nesting-in-solution-explorer-of-asp-net-core-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!