42 lines
1.5 KiB
Markdown
42 lines
1.5 KiB
Markdown
# MoonWorksTemplate
|
|
|
|
Template and build tasks for developing a cross-platform multi-target .NET 7 MoonWorks project in VSCode.
|
|
|
|
The generated solution file will also work in regular Visual Studio.
|
|
|
|
NOTE: OSX is broken right now because I need to set up MoltenVK.
|
|
|
|
## Features
|
|
|
|
- Project boilerplate code
|
|
- VSCode build tasks
|
|
- VSCode step debugger integration
|
|
|
|
## Requirements
|
|
|
|
- [Git](https://git-scm.com/) or [Git for Windows](https://gitforwindows.org/) on Windows
|
|
- [.NET 7 SDK](https://dotnet.microsoft.com/download/dotnet/7.0)
|
|
- [Build Tools for Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) on Windows
|
|
- [Visual Studio Code](https://code.visualstudio.com/)
|
|
- [VSCode C# Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp)
|
|
- [VSCode Omnisharp Extension](https://github.com/OmniSharp/omnisharp-vscode)
|
|
|
|
## Installation
|
|
|
|
- Make sure you have Git Bash from Git for Windows if you are on Windows
|
|
- Download this repository
|
|
- Run `install.sh`
|
|
- Move the newly created project directory wherever you want
|
|
- On Windows, add `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin` to your system environment PATH variable after installing Build Tools for VS 2022
|
|
|
|
## Usage
|
|
|
|
- Open the project directory in VSCode
|
|
- Press Ctrl-Shift-B to open the build tasks menu
|
|
- Tasks use .NET 7.0 to build and run
|
|
- Press F5 to build and run step debugger
|
|
|
|
## Acknowledgments
|
|
|
|
Thanks to Andrew Russell and Caleb Cornett's FNA templates for a starting point for this template.
|