I made an adaption of the Roll-a-Ball tutorial game into a WP8.1 (windows phone 8.1) game. Upon attempting to build the game: I got this error:
Could not start compilationException: 'References\CommonConfiguration\Neutral\Windows.winmd' not found, do you have Windows Phone 8.1 SDK installed?
UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.FillNETCoreCompilerOptions (MetroSDK metroSDK, System.Collections.Generic.List`1 arguments, System.String& argsPrefix) (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:134)
UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.StartCompiler () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:225)
UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47)
UnityEditor.HostView:OnGUI()
I then downloaded the 8.1 sdk on my D drive.
Same error on build.
I then copied the “Windows Kits” folder to “C:\Program Files (x86)”.
Same error on build.
I then copied the “Windows Kits” folder back to my D drive and reinstalled the 8.1 sdk on my C drive.
Same error on build.
I discovered the “Windows Kits” folder was not in my “C:\Program Files (x86)” folder, so I copied it there from my old install.
Same error on build.
I tried copying the “Windows Kits” folder to “Program Files”.
Same error on build.
What else can I do? How can I fix this problem?
EDIT: I fixed the problem and posted an answer about how I fixed it.