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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment