Search Issue Tracker

Won't Fix

Votes

1

Found in

5.4.6f1

Issue ID

950377

Regression

Yes

[UWP] Cannot build Windwows Universal App because of AssemblyConverter exception

Reproduction steps:
1. Open any project using 5.4.6
2. Build to a folder
3. Open Visual Studio solution and try to run
4. Fails with the following output:

1> Running AssemblyConverter...
1> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
1> at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
1> at UnityEditor.Scripting.Compilers.NuGetPackageResolver.Resolve()
1> at Unity.UWPAssemblyResolver..ctor(String projectLockFile)
1> at Unity.OperationContext.SetPlatform(Platform platform, String projectLockFile)
1> at Unity.ParseArgsStep.Execute()
1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
1> at Unity.Operation.Execute()
1> at Unity.Program.Main(String[] args)

Comments (1)

  1. Bevan

    Sep 28, 2017 04:08

    This is still a problem in Unity 2017
    Project built targeting UWP do not build in VS 2017 with a very similar error.
    Running AssemblyConverter...
    1> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    1> at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    1> at UnityEditor.Scripting.Compilers.NuGetPackageResolver.Resolve()
    1> at Unity.UWPAssemblyResolver..ctor(String projectLockFile, String desiredUWPSDKVersion)
    1> at Unity.OperationContext.SetPlatform(Platform platform, String projectLockFile, String uwpSDK)
    1> at Unity.ParseArgsStep.Execute()
    1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
    1> at Unity.Operation.Execute()
    1> at Unity.Program.Main(String[] args)
    1>D:\TFS_11_Express\Unity-BowlMaster\Builds\Win10_New\10 Zombie Bowling\10 Zombie Bowling.csproj(291,9): error MSB3073:

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.