Visual Studio not showing .github folder - visual-studio

I just pulled from a repository with a .github (Github Actions) folder. The folder is visible in Windows Explorer, but not in Visual Studio 2022 (c# console application solution). Why is that and how to see it in Visual Studio?
Update:
This is how it looks in Visual Studio, noet that Show All Files is enabled, yet the .github folder is not visible:

The solution view shows the projects in the opened solution and their content but not additional folders in the solution folder.
You can use the folder view to view all folders and files in a certain folder. However, this will lose some features until you again select a solution from that view.

I have the same issue when using VS 2022. Even when I have Show All Files toggled, I can't see any of the files at the .sln folder level.
My work around is to just go to the folder or file itself and open in VS.

Related

Visual Studio, Copy files to project directory problem

I have Visual Studio community 2017. coming from eclipse it was just enough to copy file to project directory and hit refresh then files were appearing in project explorer.
In VS, however when I copy some i.e. *.cpp or *.h in windows explorer to project directory, in VS solution explorer I can not see them. switching to folder view I see but can not include them into project.
via drag&drop to solution explorer (project view) I see them but are not part of project and in folder view and actual directory there is nothing.
what is going on with VS? How can I manually copy paste some files into project while they become part of project?
I will note that there's nothing "going on" with Visual Studio in the sense that something is actually wrong with it, it's just that adding files to your project just requires you to actually add them to your solution. Essentially, it allows you to add miscellaneous files to your folders without automatically including them in your build project (for example, if you're working with some test images/files).
To add files/folders to your project you simply right click on your project in the Solution Explorer and then go to Add > Existing Item.... Then, it's just a matter of selecting one (or Ctrl + A/Shift Clicking to select all/multiple files) and then it will add them to your solution.
In the solution explorer pane, click on the show all files button,
it will reveal all files including your pasted file,
Right click on your file and select "include in project".

Building a Folder in Visual Studio

I'm working in Visual Studio 2017. I wanted to open a folder of files, so I clicked File -----> Open ------> Folder and selected the folder containing all my files.
When I view the Solution Explorer, I can see all of my programming files. However, I am unable to build my project and run it. Is there any way to build and run a folder in Visual Studio? I've tried selecting the .cpp file that I wanted to build specifically, but there's still no build/debug option.
In fact, under the Debug menu, the F5 Start option is grayed out. Any solutions?
I think you have to create a Visual Studio project first, and then add those files to the project. What you are doing right now is just using VS as an editor and viewer.

visual studio 2015 is duplicating folders

Why visual studio shows folders this way ?
The first app_data shows nothing...it is totally useless but i'm afraid to delete it....
Any idea ?
You activated an option for a project to show files and folders which are within your project folder but not included in the project yet. If you activate this option you can manually add existing files/folders to the project by right clicking said files.

Typescript: Generated javascript files are not visible within Visual studio

How can I view the generated javascript files with the typescript file in Visual studio 2015?
Note: Javascripts files generated are present in the File Explorer but are not visible in the solution explorer.
Moreover, I tried to add the _references.ts file in the root directory of the project however, there was no 'Update Typescript references' as available in javascript's _references.js file
Solution
In solution explorer exist button with name show all files, just click it and you would see all files in the project folder
See also
Hidden Project Files in Solution Explorer

adding multiple existing folders and multiple existing files to Visual Studio project in single step

Does anyone have a way to add multiple folders and (existing) files within those folders to a Visual Studio project in a single step (or via macro)? Let's assume all of the folders and files were copied/pasted into the project folder where they need to reside relative to the project folder, but are not actually stored in the .csproj or .vbproj file, which I believe is a requirement to compile those files into the solution/project.
This works great if you have a web application project in your solution, but not so well if you have a .csproj or .vbproj. In that case, you must manually add folders (and nested folders), and add existing files and browse to each one individually, which can take a long time.
In the solution explorer, select the project, click the "Show All Files" button - .
This will show all the files, even those not part of the project. You can now select all of these in the solution explorer (using Ctrl + Click) then right click and go to "Include In Project".
In Visual Studio 2013 (and possibly earlier) you drag the folder from windows explorer and drop it on the project in the solution explorer.
Other answer given in this thread wouldn't work for me as the files I want to add (DTSX files) are in a different folder, and copying/moving them causes other problems. Here is what worked for me:
Using Visual Studio 2015, use Windows Explorer to locate the files you want to add to your project. Copy those files to the clipboard. If DTSX files are what you are dealing with, in the Solution Explorer right-click on SSIS Packages, and then click on Paste.

Resources