With I select Open Folder in File Explorer, it shows all 166 items. But, in the project folder, it only shows the first 12 of those files.
File extensions that are not getting displayed in Visual Studio are aspx and aspx.cs
Yes, the project loads in Visual Studio, and I am able to run it
I have attached screen shots which show 166 files in File Explorer and only 12 files in Visual Studio (under Reports folder)
You misunderstand the Web Forms project and solution files in Visual Studio. You need to add the files.
Right click the Reports folder -> Add -> Existing item.... -> navigate to the folder that has the files you wish to add. Select all the files you wish to add then click the Add button.
I tried your recommendation for Add -> Existing item.... but, there are two issues:
1. It only adds .aspx files (not .aspx.cs files, which are associated with each .aspx file).
2. When I close and re-open the solution, all those added files disappear again.
Thank you, Deepak
I am familiar with these, but there are issues which are unresolved:
I have already tried 'Show All Files' but it does not help. It still shows only a few of the files under Reports folder.
Also, I still don’t have an answer to my earlier comment: When I close and re-open the solution, all those added files disappear again, so if I need to work on them, I will need to add them again.
Maybe this is something about the 2019 version of Visual Studio, which has a limit on maximum number of files to show under each folder?
This was just a web site, so designer files were never created.
At this point, I only have one concern:
I am able to use Add->Existing Item... (with .) to select all aspx and aspx.cs files which I need.
However, once I am done with my assigned work and close Visual Studio, the next time I open it, all aspx and aspx.cs files which I added last time disappear again.
Is there a way to make Visual Studio keep all added files, so I don’t have to add them again every time I re-open Visual Studio?
5 people are following this question.