Search code examples
windows-phonevisual-studio-2015store

Visual Studio 2015 Error "Cannot resolve Assembly or Windows Metadata file 'Windows.winmd'"


I have a project, on another PCs can build it. But my main pc can't. Errors: 1: "Cannot resolve Assembly or Windows Metadata file 'Windows.winmd'" 2: "Type universe cannot resolve assembly: Windows, Version=255.255.'255.255, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime."

I tried reinstall the WIN10 SDK and the VS2015, but the errors are same. It is an Universal Store App.


Solution

  • I could solve the problem. I uninstalled all SDK, all VS, all developer tool. After reinstall the VS can build my project.