Skip to content

v0.8.1 Release

Compare
Choose a tag to compare
@andreiborodin andreiborodin released this 22 Nov 01:00
bf60529

This first release comes with very core functionality of MSBuildForUnity. You can express your Unity project's dependencies in the form of MSBuild PackageReferences and ProjectReferences, and then have them be built and resolved into your Unity project. Take a look at one of the samples to better understand how this works.

Features:

  • Build MSBuild projects insides Unity
  • Add ProjectReferences and PackageReferences to MSBuild project files and pull them in as dependencies into the Unity project
  • Support per-Unity player dependencies
  • Generate MSBuild project structure based on the current Unity project
  • Compile Unity components into DLLs using the generated MSBuild project structure
  • Debug compiled DLLs with PDBs and source inside Unity Editor

To get started, modify your Unity's Packages/manifest.json file as so:

  • Add the following near the top of the file:
    "scopedRegistries": [
        {
            "name": "Microsoft",
            "url": "https://pkgs.dev.azure.com/UnityDeveloperTools/MSBuildForUnity/_packaging/UnityDeveloperTools/npm/registry/",
            "scopes": [
                "com.microsoft"
            ]
        }
    ],
  • Add the following to the dependencies section of the file:
      "com.microsoft.msbuildforunity": "0.8.1"