Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can't get the generated Unity UWP project into our own solution (to use in other UWP projects)

Discussion in 'Windows' started by Steven-1, Apr 17, 2018.

  1. Steven-1

    Steven-1

    Joined:
    Sep 11, 2010
    Posts:
    455
    We have UWP project in which we want to render 3d content using Unity.
    So I build a Unity project to UWP, then tried to copy the content of the generated project to a new project in our solution so I can use it. But when trying to add all the referenced dlls, Visual Studio says that "A reference to ... could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."
    (I'm trying to add all the dlls from the "Players" folder)

    I'm at a loss as to what I have to do to get this working, I'm familiar with developing in Unity, but not lower level stuff like this. Any help is much appreciated. Let me know If you need any more info.

    I'm using Visual Studio 2017 and Unity 2017.3.1
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    Instead of using Visual Studio UI to add references, I suggest using text editor and edit your project file directly. That way you can reference the right stuff exactly the way we intended.