c++ - Can't retarget project in VS2015 -


so i've decided learn c++. started downloading vs 2015 can't seem 'hello world' app work.

on console application project named consoleapplication5 have code:

#include <iostream>  int main() { std::cout << "hello world!"; return 0;  } 

and following error when pressing f5: "the windows sdk version 8.1 not found. install required version of windows sdk or change sdk version in project property pages or right-clicking solution , selecting "retarget solution"."

the problem is, when try retarget solution, seems useless since nothing:

enter image description here

any thoughts that?

i using visual studio community 2015 v14.0.2543.01 update 3 - on windows 10 pro

tl;dr - download , install sdk , retarget solution after that.

you need have proper sdk installed. solution targeted use sdk 8.1. vs message suggests either install or, if want use another, installed sdk, retarget solution it. if don't have sdk installed, retargeting won't help.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -