Skip to content

mwahnish/Unity-Roslyn-Build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-Roslyn-Build

This Visual Studio project is used to compile the .NET Compiler Platform ("Roslyn") in a form usable in the Unity game engine. This project ingests Roslyn as a series of Nuget packages, and is configured to produce a build with all dependencies required to use Roslyn in Unity, including the extra files necessary to import using the package manager. The Roslyn packages currently included in this package are:

  • Microsoft.Net.Compilers
  • Microsoft.CodeAnalysis
  • Microsoft.CodeAnalysis.Features

Building

A ready-to-use Unity package is available here. To build this project, do the following:

  1. Clone the project
  2. Load "Roslyn Library.sln" in Visual Studio
  3. Set the Solution Configuration to release
  4. Click build
  5. The output folder, "Roslyn Library\bin\Release\netstandard2.0" can be copied directly into Unity

Contributions

Merge requests are welcome! All candidate merges must compile in Unity 2019.1 and Unity 2018.1 to be accepted. In particular, testing and compatibility work needs to be done on Unity's various target runtime platforms, I.E. Xbox, Linux, Etc.

License

This project is released under the same license as Roslyn, the Apache 2.0 License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published