Search Unity

Compile Errors in Visual Studio

Discussion in 'VR' started by nturley, May 3, 2016.

  1. nturley

    nturley

    Joined:
    Oct 11, 2013
    Posts:
    7
    Hi all,

    Trying to get my dev environment set up for HoloLens...

    I think I have all the right versions of things...

    Win10 SDK: v10.0A
    Unity: 5.4.0b14-HTP
    VS2015: 14.0.25123.00
    .Net Framework: 4.6.01055

    I build a Unity project like this:
    UnityBuildSettings.png
    Then I try to build in VS but I get these errors:
    errors.png errors1.png

    It seems like there is some sort of reference that is not being set properly by Unity, or perhaps I need to change some configuration. Has anyone seen these errors before? Any ideas of where to look?

    Thanks
     

    Attached Files:

  2. Subere023

    Subere023

    Joined:
    Apr 27, 2016
    Posts:
    47
    I had some similar issues. I clicked off development build, then once the build is in VS try rebuild all.
     
  3. nturley

    nturley

    Joined:
    Oct 11, 2013
    Posts:
    7
    Ah OK, that took care of most of the issues, but not I am having trouble with it finding the Unity DLLs

    BuildIssue.png

    Which is strange because that file exists in my workspace...

    Only thing I can think is different versions of .Net, different target architecture, or something messed up with the path...

    Do I need to be using 32bit version of Unity or something??
     
  4. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    Did you install the metro support using the installer from the technical preview site? You need the unity editor and the metro support installer.

    Thank you,
    Wesley
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
  6. nturley

    nturley

    Joined:
    Oct 11, 2013
    Posts:
    7