I have 1 error “error MSB3774: Could not find SDK” same as this thread
Since I cannot reply to that thread, I want to ask is there anyone here fix that before? Is there an issue between Unity (5.3.5f1) and VS 2015? Where can I get VS 2015 RC?
I updated an attachment what did I installed on my computer on prev post. Can you please check is it correct?
If I don’t install SDK, Unity won’t allow to publish a Universal 10 project
Could you attach the generated project here. Maybe your generated project targets 10240 SDK, which is available on your machine, but you may be missing 10586 SDK.
Go to C:\Program Files (x86)\Windows Kits\10\Include, and see if you have 10.0.10586.0 directory there.
Yeah you are right. When that reference is removed, project can be built it now.
Just another question, I got another error which if I remove it, game run normally, so is it safe to do that?
error CS0103: The name ‘StatusBar’ does not exist in the current context
private void InitializeUnity(string args)
{
…
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent(“Windows.UI.ViewManagement.StatusBar”))
{ StatusBar.GetForCurrentView().HideAsync();
}
…
}
For future travelers I might have a repro. It looks as though if you try and build your Win Store project (maybe by mistake) with “Target Device” set to “Any device” then set it back to “PC” Unity won’t clear the mobile dependencies out of the VS files. A fix for me was nuke everything out of Unity except for Assets and ProjectSettings, then set “Target Device” to “PC” BEFORE you try and build a Win Store app.