Visual Studio earlier versions provided an option to create a blank solution then in one or more updates this option has gone away. For those who are new to Visual Studio may want to create a new Visual Studio solution without any projects.
This utility provides the ability to create a blank Visual Studio solution. There are two versions, one hard coded default path to select where to create a new solution folder while the other reads the default path from a json file.
Once a new solution has been created the folder is opened in Windows Explorer, the developer can then inspect and copy the folder path to use in Visual Studio to open the new blank solution.
Written using .NET Framework 4.8 as some developers may not have moved to .NET Core yet.
Code
Clone, Fork or download code in a .zip file the following GitHub repository, build the project and run.
Open appsettings.json to set the default path for creating a new Visual Studio solution.
Code:{ "SolutionFolder": "C:\\OED\\Dotnetland\\VS2019", "About": "Provides the ability to create a new Visual Studio solution using dotnet command.\r\n\r\nIf a solution file already exist it's overwritten\r\n\r\nRoot path: C:\\OED\\Dotnetland\\VS2019\r\n\r\nBy Karen Payne\r\n" }




Reply With Quote
