Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Can't build Windows Phone 7.1-based projects after you upgrade to Windows 8.1 in Visual Studio 2010 or Visual Studio 2012


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have Windows Phone SDK 7.1 or Windows Phone SDK 8.0 installed on a Windows 8-based computer. 
  • You upgrade the computer to Windows 8.1.
  • You build a Windows Phone 7.1-based project in Microsoft Visual Studio 2010 or Visual Studio 2012.
In this scenario, you receive the following error message:

The "Microsoft.Phone.Build.Tasks.ValidateWMAppManifest" task could not be loaded from the assembly %programfiles%\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Phone.Build.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

↑ Back to the top


Resolution

To resolve this issue, use one of the following methods:
  • Install the Microsoft .NET Framework 3.5.
  • Use the Uninstall or change a program" feature in Control Panel to repair Windows Phone SDK 7.1 or Windows Phone SDK 8.0.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbsurveynew, kbtshoot, kbexpertiseadvanced, atdownload, kb

↑ Back to the top

Article Info
Article ID : 2897672
Revision : 1
Created on : 1/7/2017
Published on : 12/19/2013
Exists online : False
Views : 467