Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    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,205
    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,691
    By design
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

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