LiveScan3D-Hololens icon indicating copy to clipboard operation
LiveScan3D-Hololens copied to clipboard

Issues building with Unity 5.6.0f3 & Visual Studio 2017

Open tinuxnet opened this issue 5 years ago • 3 comments

1> Copying unprocessed assemblies... 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, 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)

error MSB3073

How to solve it? Any tips? In the meantime, is there somewhere a pre-build package in order to test it on HoloLens?

Thank you

tinuxnet avatar Dec 02 '19 17:12 tinuxnet

Hi, unfortunately there is no pre-built package, that's a pretty good idea though. One thing I would try is rebuilding the NetworkCommunication.dll using VS 2017. Please let me know if I can help more or if you manage to solve this.

MarekKowalski avatar Dec 02 '19 21:12 MarekKowalski

@tinuxnet Can you please mention the unity version, visual studio version and windows version you utilized? I do not want to repeat myself. Please refer to the issue I opened #21 Thank you.

sarkrishnan avatar Dec 05 '19 12:12 sarkrishnan

See here for the temporary fix for this issue: https://forum.unity.com/threads/net-scripting-backend-and-visual-studio-2017-3-incompatibility.487833/

This is an incompatibility issue between .Net UWP solution built by Unity 5.6 and newer versions of Visual Studio. I think updating the Unity version of this project to a version that Unity built while newer versions of Visual Studio were available would fix this, while I do not mean that would be a must as it might involve a lot of work...

hanseuljun avatar Aug 28 '20 04:08 hanseuljun