Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.6f1
Issue ID
979666
Regression
No
[UWP] Build & run fails due to missing Windows.Foundation.UniversalApiContract.winmd file
Reproduction steps:
1. Open any project
2. Try to build & run
3. Fails with the following output:
Exception: Failed to build Visual Studio project using arguments 'C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe "F:\Work\Metro\_BUILD\New Unity Project.sln" /nologo /maxcpucount /p:Configuration=Master /p:Platform=x86 /p:SolutionDir="F:\\Work\\Metro\\_BUILD\\" /t:Build /clp:Verbosity=minimal'.
Output:F:\Work\Metro\_BUILD\New Unity Project\New Unity Project.csproj : XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'Windows.Foundation.UniversalApiContract.winmd'
C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(264,5): Xaml Internal Error error WMC9999: Type universe cannot resolve assembly: Windows.Foundation.UniversalApiContract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime. [F:\Work\Metro\_BUILD\New Unity Project\New Unity Project.csproj]
Reproducible only with 5.5.x versions
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on WindowsVideoMedia::GetVideoFrameAtIndex when importing a specific MP4 file
- Search results number in Saved Searches Panel is not properly visible when Search query is selected in light Editor mode
- OS Window is switched and errors logged when trying to access Overrides of the same Prefab in the Overrides Panel
- Tooltips stay in place when Preferences window is scrolled
- Console displays "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine..." error after the "Audio Random Container" closing
Add comment