I converted my MVC solution to layered architecture . For this I added folders in my solution in Solution Explorer. Everything is working good, my colleagues are able to take the latest of solution and the folders are appearing in solution explorer.
The issue is I am not able to see the folder structure in TFS(in Source Control Explorer.)
Probably I should have create the folder structure in TFS directly.But now I have lot of changes checked in since I created the folder, so I think this option will not work.
Please Advice.
It's supposed to be it. The root cause is Visual Studio solutions Folder are not real Folders.
Solution Folders only seem to be "virtual folders", because they are not really created in the Filesystem and files inside solution folders are just sitting in the same folder as the .sln file.
You can create real folders in a "project" within the solution, but not in the solution itself. Details about this area, you could refer below questions:
Source Control Explorer is used to manage files in TFVC, the files in the solution folder will shown up in the source control explorer and be the same level with .sln
file, however the solution folders itself will not appearing in source control explorer and keep the folder structure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With