I am trying to create a new Visual C++ Windows Phone Runtime Project in Visual Studio 2012. When I do, I get this error:
"Unable to read the project file "RT1.vcxproj(150,3): The imported project C:\Program Files(x86)\MSBuild\Microsoft\WindowsPhone\v7.0\Microsoft.Cpp.Windows Phone.7.0.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk." The .sln, .suo, and .vcxproj files are created in the file system, but if I try adding them to an existing project I get the same error message.
First a little clarification - does VS create the project, then look in that path for the proper tool to read and open it? If not why is it trying to import anything?
The path it is complaining about doesn't exist, but replace the 7's with 8's and everything is there. Is there a way to change this import declaration to reflect the correct path? Is it trying to create a windows phone runtime component for Windows phone 7 and I just need to specify somewhere it should be creating it for windows phone 8?
Any visual c++ windows phone project I try to create gives basically the same error message.