/netprints

Visual programming for .NET inspired by Unreal Engine's Blueprints

Primary LanguageC#MIT LicenseMIT

Master Build Status Latest Build Status

NetPrints is a visual programming language inspired by Unreal Engine 4's Blueprints which compiles into .NET binaries or alternatively C# source code. These can be used from any other .NET language (eg. C#) or used as standalone programs. Furthermore any .NET binaries (both .NET Framework and .NET Core, and ideally .NET Standard) can be referenced and used. Its goal is to support using anything that is made in C#. Furthermore it can be used directly within Visual Studio in any C# projects (experimental). Overview

Use cases

Hello world (video)

Unity tutorial

Download

Version 0.0.7 of the standalone editor can be found here. You can also download the source code and compile the solution yourself. There also exists a Visual Studio (2017 / 15.3+) extension which can be found here or from within Visual Studio by searching for NetPrints. It allows to add NetPrints classes to C# projects, edit them and add any assemblies referenced in the project as well as any C# source code in it.

Target Frameworks

Until version 0.0.7 .NET Core 3.0 was required. Since then the projects target the frameworks in the table below.

Project Target
NetPrints .NET Standard 2.0
NetPrintsCLI .NET Core 2.0, .NET Framework 4.6.1
NetPrintsEditor .NET Framework 4.6.1 (targeting .NET Core 3.0 works too, but was disabled because of an issue with the VSIX)
NetPrintsVSIX .NET Framework 4.6.1

Visual Studio Extension Guide

The Visual Studio extension is currently experimental and supports versions 2017 and 2019. New classes can be created within C# projects by adding a new item and selecting NetPrints class. This will add a .netpc file to the project. Currently it can be opened with the editor by right clicking the .netpc file, selecting open with and selecting NetPrintsEditorFactory. If you know how to make it the default editor for this extension please let me know in RobinKa#77.

Standalone Editor Guide

Any .NET binaries can be used with this editor. The recommended way to add new assembly references is installing them with NuGet (eg. from within Visual Studio or the command line) and referencing their .NET Standard reference libraries at %UserProfile%/.nuget. The hints for the included references should then appear within the editor. You can also add C# source directories which can either be used for reflection only (useful when you want to use NetPrints within Unity to access your existing scripts) or compiled into the output.

Contributions

Any contributions are welcome. If you notice bugs or have feature suggestions just create an issue for it. You can also contact me by email at tora@warlock.ai.

Screenshots