StartDotNet is a tool designed to simplify the setup process for new C# projects using the .NET framework. It automates the creation of project directories, solution files, and project files, streamlining the initialization process for developers. StartDotNet can be used either through a Python script or as a standalone executable file.
For Python Script:
For Executable File:
You can check if the .NET SDK is installed by running dotnet --version in your terminal or command prompt.
StartDotNet.py script to your local machine.StartDotNet.exe executable file to your local machine.Open a Command Prompt: Navigate to the folder where you've downloaded StartDotNet.exe.
Run the Executable: Simply double-click on StartDotNet.exe or run it from the command prompt:
StartDotNet.exeFollow the Prompts: The executable will guide you through the same process as the script.
Open a Terminal or Command Prompt: Navigate to the folder where you've saved StartDotNet.py.
Run the Script: Execute the script by running the following command:
python StartDotNet.pyFollow the Prompts: The script will guide you through the process. You'll be asked to enter a project name and select a project type.
For both the Python script and the executable, you can use command line arguments to specify the project name, directory, and type:
-d, --directory: Specify the directory where the project should be created.-t, --type: Specify the type of .NET project (console, webapi, mvc).Example for the Python script:
python StartDotNet.py MyNewProject -d ./Projects -t consoleExample for the executable:
StartDotNet.exe MyNewProject -d .Projects -t consoleWe welcome contributions to StartDotNet! If you have suggestions for improvements or encounter any issues, please feel free to submit an issue or pull request on our GitHub repository.
StartDotNet is open-sourced under the GNU General Public License. See the LICENSE file for more details.
Created by John Akujobi in March 2024.
Special thanks to the .NET community and my classmates in CSC 346 OOP SP24 for being the first users and providing feedback.