Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/163.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 错误:导入的项目";C:\ProgramFiles(x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets;找不到_C++_Visual Studio 2012_Windows Phone 8_Cocos2d X - Fatal编程技术网

C++ 错误:导入的项目";C:\ProgramFiles(x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets;找不到

C++ 错误:导入的项目";C:\ProgramFiles(x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets;找不到,c++,visual-studio-2012,windows-phone-8,cocos2d-x,C++,Visual Studio 2012,Windows Phone 8,Cocos2d X,我正在尝试在WindowsPhone8上构建一个Cocos2D-X项目。我能够在emulator上成功运行应用程序,但当我尝试在设备上运行应用程序时,出现以下错误: error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the

我正在尝试在WindowsPhone8上构建一个Cocos2D-X项目。我能够在emulator上成功运行应用程序,但当我尝试在设备上运行应用程序时,出现以下错误:

error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
错误MSB4019:找不到导入的项目“C:\Program Files(x86)\MSBuild\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.Cpp.targets”。确认声明中的路径正确,并且文件存在于磁盘上。

以前是否有人遇到过此错误。我正在使用Visual Studio express 2012。我怎样才能解决这个问题。提前感谢。

如果您还安装了Visual Studio(Express)2013,请将其删除并仅使用Visual Studio Express 2012

请参见此处的一些详细信息:


我也有同样的问题。我曾在同一台Windows 8.1计算机上使用Visual Studio Express 2012 for Windows Phone和Visual Studio Express 2013 for Windows Desktop。我卸载了适用于Windows桌面的Visual Studio Express 2013,并安装了适用于Windows桌面的Microsoft Visual Studio Express 2012,现在我不再存在此问题,我已在真实设备上成功运行了该应用程序。因此,只使用2012版,它应该可以工作。

我的电脑上没有VS2013。