Unity cannot find Windows Phone 8.1 SDK while building

Hello,

I have been having this issue for a couple of days. I have the following error when I try to build my Unity project as a Windows Store project using Windows 8.1 SDK.

Could not start compilationException: ‘References\CommonConfiguration\Neutral\Windows.winmd’ not found, do you have Windows Phone 8.1 SDK installed ?

The thing is, I have the Windows Phone 8.1 SDK installed on my computer. The SDK path is C:\Program Files (x86)\Windows Kits\8.1\References\CommonConfiguration\Neutral\Windows.winmd". I don’t understand why the SDK isn’t found.

Is there a way to redefine the path of the Windows Phone 8.1 SDK in Unity ? Or where should I move the SDK ?

Duplicate:

there is one possible solution. The Unity Team should fix it…

I actually found the solution.

The Windows 8.1 SDK was not the Windows Phone SDK but the desktop one (for computer apps). I simply had to download Visual Studio for Windows 10 and select the pluggin for Windows Phone development kit during the installation.

This resolved the problem for me !

I was having this issue, the following response solved it for me:
http://answers.unity3d.com/answers/1093533/view.html

Phnoe SDK is not In Window SDK its have different folder name Windows Phone Kits. This folder is locate in C:/Programefiles(x86)/windowsphonekits.If you have visual studio 2013 you just update VS with latest update.In my case I just update VS with update 5 and i got windows 8.1 SDK. If you just want to install only 8.1 then u should update VS with minimum update 2 then 8.1 SDK install. You can get SDK from this link