Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.
  2. Dismiss Notice

[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,271
    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,956
    By design
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    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,271
    Ok, that makes sense, thanks. No longer get this error when attempting to build VS project on another computer.