Search Unity

[RESOLVED] UWP Win10 can't find Assembly-CSharp-firstpass-uwp.csproj

Discussion in 'Windows' started by sstrong, Sep 16, 2015.

  1. sstrong

    sstrong

    Joined:
    Oct 16, 2013
    Posts:
    2,252
    When a UWP Build is created (Unity 5.2, VS2015, Win10), the UWP project attempts to load the Assembly-CSharp-firstpass-uwp.csproj and Assembly-CSharp-uwp.csproj files from the original (source) Unity project folder. This doesn't work if the VS project is build on another computer.

    Is this a bug or by design?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,916
    By design
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    To expand, this will only happen when you check "Debugging C# projects" when building. That option is designed for rapid prototyping, and is only supported when you're building on the same machine.

    If you're transferring the built project to another machine, uncheck that option before building from Unity.
     
  4. sstrong

    sstrong

    Joined:
    Oct 16, 2013
    Posts:
    2,252
    Ok, that makes sense, thanks. No longer get this error when attempting to build VS project on another computer.