5.1 Error when creating new C++ template project

I was having this issue also where I had the dependancies installed but could not generate the files for a template.

Fixed it by changing the dotnet environment variable to be in the correct order. Moved the x64 sdk variable to the top.

image

1 Like