문제

I opened a blank solution in Visual Studio (2010).

I added a folder in solution and within a Html file.

In Window Explorer, the file is added to the solution level and not within a folder.

Also, it did not created folder at all.

I tried to add the folder manually in Window Explorer and then re-add a file. It did not help still the file is not added to the folder, but at the Solution level.

How can I resolve this?

도움이 되었습니까?

해결책

Solution folders in VS are only visible within VS and are not file system folders.

If you want a file system folder to be mirrored in VS then you will need to create the folder on the file system and then use the 'Add/Existing Item' option to add the folder.

You can then add a file to this folder and it will appear where you would expect it to.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top