Template and build tasks for developing a cross-platform multi-target .NET Framework and .NET Core FNA project in VSCode.
 
 
Go to file
cosmonaut 4be26e77d3 fix incorrect project names 2020-11-22 17:01:04 -08:00
.vscode fix incorrect project names 2020-11-22 17:01:04 -08:00
ProjectName split mono and framework build and run tasks 2020-11-16 22:29:21 -08:00
build fix lib copy location for windows 2020-06-19 13:52:40 -07:00
.gitignore add fnalibs to gitignore 2020-07-29 14:50:01 -07:00
.gitmodules remove FNA submodule 2020-07-11 14:00:13 -07:00
FNA.Settings.props add .NET Core support 2020-03-03 15:28:52 -08:00
LICENSE add MIT license 2020-03-03 15:20:28 -08:00
ProjectName.Core.sln add .NET Core support 2020-03-03 15:28:52 -08:00
ProjectName.Framework.sln initial commit 2020-03-03 15:18:34 -08:00
README.md add notes about building on windows 2020-11-16 22:55:53 -08:00
install.sh bump to FNA 20.11 2020-11-16 22:45:35 -08:00

README.md

FNA-VSCode-Template

Template and build tasks for developing a cross-platform multi-target .NET Framework, Mono, and .NET Core FNA project in VSCode.

Features

  • Includes project boilerplate code
  • Build tasks for both .NET Framework, Mono, and .NET Core 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
  • Core tasks use .NET Core 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.