Starter project for MoonWorks.
 
 
Go to file
cosmonaut 64c59fa434 restructure template project generation 2022-01-25 16:25:44 -08:00
.vscode restructure template project generation 2022-01-25 16:25:44 -08:00
Content restructure template project generation 2022-01-25 16:25:44 -08:00
src restructure template project generation 2022-01-25 16:25:44 -08:00
.gitignore initial commit 2021-04-04 14:01:40 -07:00
CopyMoonlibs.targets restructure template project generation 2022-01-25 16:25:44 -08:00
LICENSE initial commit 2021-04-04 14:01:40 -07:00
ProjectName.csproj restructure template project generation 2022-01-25 16:25:44 -08:00
ProjectName.sln restructure template project generation 2022-01-25 16:25:44 -08:00
README.md a few tweaks 2021-04-04 14:04:55 -07:00
install.sh restructure template project generation 2022-01-25 16:25:44 -08:00

README.md

MoonWorksTemplate

Template and build tasks for developing a cross-platform multi-target .NET Framework, Mono, and .NET 5 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

  • Includes project boilerplate code
  • Build tasks for both .NET Framework, Mono, and .NET 5 side by side
  • VSCode debugger integration

Requirements

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 2019

Usage

  • Open the project directory in VSCode
  • Press Ctrl-Shift-B to open the build tasks menu
  • Framework tasks use .NET Framework to build and run (Windows only)
  • Mono tasks use Mono to build and run
  • .NET 5 tasks use .NET 5 to build and run
  • Press F5 to build and debug

Acknowledgments

Thanks to Andrew Russell and Caleb Cornett's FNA templates for a starting point for this template.