Skip to content

Support building Unity Source Externally to Unity #67

Open

Description

There was an ask to have the following scenario:

  • A Unity project that references an MSBuild project
  • The MSBuild project compiles a source file that depends on Unity concept
    • This source file isn't compiled by Unity
  • The output of this MSBuild is brought into Unity

Support for this could be as minimum as setting up a proper sample based on existing capabilities, or we can look into doing something more here.

Hacked up sample is #61, request originated in #44.

Activity

  1. loic-lopez commented on Nov 22, 2019

    @loic-lopez

    Thanks for supporting this feature, I have another question:

    Do you think is it possible to have a directory next to the asset folder named for example CustomUnityBuild which references UnityEngine or other Unity namespaces?

    example:

    UnityProject\Assets\ CustomUnityBuild\.src
    

    to ->

    UnityProject\CustomUnityBuild
    

    which output the dll in UnityProject\Assets\Plugins\...

  2. andreiborodin commented on Nov 22, 2019

    @andreiborodin
    ContributorAuthor

    Yeah, you should be able to move the project in that example to anywhere under "UnityProject"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions