I have a .NET Framework (4.8) C# Class Library project in Visual Studio 2019. The solution is structured as follows:
-- Root Folder
-- .git
-- .vs
-- *.cs
-- bin
-- Project.sln
-- Project.csproj
I have the solution in a remote Azure DevOps (git) repository. The solution is also referencing another project in a different folder. I want to have these projects in the same solution so that they will both push changes to my remote repository. I want the structure to be as follows:
-- Root Folder
-- .git
-- .vs
-- Project.sln
-- Project 1 Folder
-- .vs
-- *.cs
-- bin
-- Project1.csproj
-- Project 2 Folder
-- .vs
-- *.cs
-- bin
-- Project2.csproj
I don't want to have to create a new solution because I will then have to create a new remote repository, and I already have multiple past branches that I use for reference. I've already tried to move the projects into folders manually, but the folders did not appear in the solution explorer even though I selected to show all files. Can this be done?