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. Dismiss Notice

Build Error on AssembleConverter.exe in VS2015

Discussion in 'Windows' started by wQazi, Jan 24, 2016.

  1. wQazi

    wQazi

    Joined:
    Feb 5, 2015
    Posts:
    15
    I am using Visual Studio 2015 Update 1 along with Unity 5.3.1p4 to build a Universal Windows App. I'm also using SDK 10.0.10586.15

    When building in VS using Debug, Release, or Master with x86 or x64 I recieve the following output:

    1>------ Build started: Project: Skyhook, Configuration: Release x86 ------
    1> UnityInstallationDir "C:\Program Files\Unity_5_3_1\Editor".
    1> UnityWSAPlayerDir "C:\Program Files\Unity_5_3_1\Editor\Data\PlaybackEngines\MetroSupport".
    1> UnityProjectDir "C:\Code\skyhook".
    1> Copying unprocessed assemblies...
    1> Running AssemblyConverter...
    1> System.InvalidOperationException: Sequence contains no matching element
    1> at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
    1> at Unity.FixReferencesStep.Visit(ICustomAttributeProvider provider, GenericContext context)
    1> at Unity.FixReferencesStep.ProcessModule()
    1> at Unity.ModuleStep.Execute()
    1> at Unity.FixReferencesStep.Execute()
    1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
    1> at Unity.Operation.Execute()
    1> at Unity.Program.Main(String[] args)
    1>C:\Users\Qazi\Desktop\Win10\Skyhook\Skyhook.csproj(265,5): error MSB3073: The command ""C:\Users\Qazi\Desktop\Win10\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\Qazi\Desktop\Win10\Skyhook\project.lock.json" -bits=32 -removeDebuggableAttribute=False -path="." -path="..\Players\UAP\x86\Release" "C:\Users\Qazi\Desktop\Win10\Skyhook\Assembly-CSharp.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\UnityEngine.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\DOTween.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\UnityEngine.UI.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\DOTween46.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\UnityEngine.Networking.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\DOTween43.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\XInputDotNetPure.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\System.Xml.Linq.dll" "C:\Users\Qazi\Desktop\Win10\Skyhook\DOTween50.dll"" exited with code 1.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

    Would appreciate any help on what I may be doing wrong. Thank you very much!
     
  2. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,624
    Go through your plugins and check their settings. Maybe some are marked "Don't Process". Try marking all of them processed.
    Also I'm suspicious about System.Xml.Linq.dll, why it's in your project? Isn't that one provided by the system?
     
  3. wQazi

    wQazi

    Joined:
    Feb 5, 2015
    Posts:
    15
    Wow, that was exactly it! Thanks so much for catching that. I was testing every other dll but that. It'd been in the project for so long I don't even know how it ended up here. Possibly from a third party asset.

    Thanks so much the game build and launches as a UWP now.