Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 5.3 can't build to windows store 8.1!

Discussion in 'Windows' started by vladrybak, Dec 10, 2015.

  1. vladrybak

    vladrybak

    Joined:
    Aug 30, 2013
    Posts:
    108
    Hello,
    I tried to migrate to unity 5.3 and now i can't build my project to windows store 8.1. An error occure even if I build an empty project.
    FileNotFoundException: Failed to locate 'C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.CSharp.targets', please ensure you have Visual Studio 2013 with Windows Store Apps installed.
    PostProcessStore81.CheckVisualStudio () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessStore81.cs:26)
    PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:104)
    UnityEditor.Metro.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:133)
    UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
    I have visual studio 2015. And in unity 5.2.3 it was worked. Is any workaround possible?
     
  2. Rizzonian

    Rizzonian

    Joined:
    Nov 28, 2012
    Posts:
    29
    I am having the same problem.
     
  3. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,672
    Accidentally there was a requirement added to have VS2013 if you want to build 8.1... This is fixed in upcoming patch release.
    While you wait,there are two workarounds:
    * install VS2013

    or

    * move Microsoft.Windows.UI.Xaml.CSharp.targets from
    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.1\Microsoft.Windows.UI.Xaml.CSharp.Targets

    to

    C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.CSharp.targets
     
    vladrybak likes this.
  4. vladrybak

    vladrybak

    Joined:
    Aug 30, 2013
    Posts:
    108
    Ok, thank you. Upcoming patch will be on next week?