Template and build tasks for developing a cross-platform multi-target .NET Framework and .NET Core FNA project in VSCode.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
cosmonaut 3d6f8e3705 fix debug launcher 1 year ago
.vscode fix debug launcher 1 year ago
ProjectName .NET 6 + indentation fixes 1 year ago
.gitignore add fnalibs to gitignore 3 years ago
.gitmodules remove FNA submodule 3 years ago
FNA.Settings.props .NET 6 + indentation fixes 1 year ago
LICENSE add MIT license 4 years ago
ProjectName.Core.sln set up sln files with correct configuration 3 years ago
ProjectName.Framework.sln set up sln files with correct configuration 3 years ago
README.md .NET 6 + indentation fixes 1 year ago
install.sh remove unused FNA_VERSION var 1 year ago

README.md

FNA-VSCode-Template

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

The generated solution file will also work in regular Visual Studio.

Features

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