visual studio - VisualStudio 2015 RC Issue with Includes -


pulling out hair on should simple issue using vc++ , being unable access default includes.

after installing visual studio 2015 rc, can no longer build c/c++ projects. receive "intellisense: cannot open source file '*.h'" errors various standard library *.h files.

i confirmed files exist in default locations (c:\program files (x86)\microsoft visual studio 14.0\vc\include), , if right-click on #include <cstdio> line in editor can choose "open document" , opens automatically in editor.

my include directories string in project settings is:

c:\program files (x86)\microsoft visual studio 14.0\vc\include;c:\users\kristopher\libraries\includes;$(vc_includepath);$(vcinstalldir)include;$(vcinstalldir)atlmfc\include;$(windowssdk_includepath);‌ 

has else run this? feel i'm overlooking simple.

your includepath should not specify visual c++ , windows sdk include paths directly. instead, should specify paths specific project , derive includepath defined in common c++ msbuild targets. e.g.,

<includepath>c:\users\kristopher\libraries\includes;$(includepath)</includepath> 

to address particular case: in visual c++ 2015, bulk of c runtime (crt) has been refactored new windows operating system component, universal crt. headers , libraries in different location , project fails include include path includepath property. specifically, need include $(universalcrt_includepath). more details, see article wrote earlier year, "introducing universal crt."


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -