Reputation: 65
An error occurred while calculating code metrics for target file '[...]' in project [...]. The following error was encountered while reading module '[...]': Assembly reference cannot be resolved: Windows.Phone.PhoneContract, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null."
Upvotes: 0
Views: 143
Reputation: 1
I had a similar error. Fixed it as follows:
Right click on References in your project, go to Add Reference, Universal Windows, Extensions, and tick Windows Mobile Extensions for the UWP.
Upvotes: 0