Cannot compile projected created with C++ template

I’ve done all my previous projects using blueprints but now as I try to use c++. I cannot even start because it won’t compile. When it opens the solution in VS2013, next to UE4 and my project name, it says incompatible and that the application is not installed. Any help would be greatly appreciated.

Thanks.

Hi Dirtsleeper,

I have a few questions to try to narrow down what is happening here.

  • I am guessing that you are using the binary version of the Engine installed by the Launcher, correct? What is the exact version of the Engine that you are using?
  • What version of Visual Studio 2013 are you using?
  • Is your VS120COMNTOOLS correctly pointing to the Common7\Tools folder of your Visual Studio installation? (You can check your Environment Variables by going to Control Panel\System and Security\System -> Advanced System Settings -> Environment Variables)

Yes that is correct. I originally tried compiling the whole engine source from github and had the same error. I’m using Unreal Engine 4.7.6 and I’m using Visual Studio Community 2013 Version 12.0.31101.00 Update 4. and the path of VS120COMNTOOLS is correct.

Are you able to add a code class to a Blueprint project, or do you see the same results when you do that? I expect the results will be the same, but I want to make sure.

They are the same result.

Also here is the migration report.

That is a little odd that Visual Studio does not appear to recognize the .vcxproj files. Are you able to create/open any non-UE4 projects in Visual Studio 2013?

No I cannot. I get the error: "cannot be opened because its project type (.vcxproj) is not supported by this version of the application.

Do you have any other versions of Visual Studio installed in addition to Visual Studio 2013? If so, could you try removing those? If you only have Visual Studio 2013 installed, try re-installing it.

Still getting the same error.

I ran some searches for the error message that you are seeing, and found this post on Microsoft’s MSDN site that seems to be similar to what you are experiencing. Please check your Environment Variables to see if you have any named VCHOME, VCINSTALLDIR, or vsinstalldir. If you do have any of those variables (I don’t have any of them on my computer), could you let me know what their values are?

You can find your Environment Variables by going to Control Panel\System and Security\System -> Advanced System Settings -> Environment Variables

I do not have any of those variables

We already tried re-installing Visual Studio, could you also try repairing the installation from Add/Remove Programs (this may take a while)?

Since this issue is affecting all projects and not just UE4 projects, I think it may be a good idea to get in touch with Microsoft support to see if they have any additional suggestions to resolve this.

Thanks for the help

In the Solution Explorer, right click on your root Solution > Resolve Errors, it will reload properly the vcxproj files