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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Add comment