I have some relative path in my *.vcxproj
<ItemGroup>
<ClCompile Include="myFile.cpp" />
<ClCompile Include="....SomeReferencefile.cpp" />
<ClCompile Include="....SomeOther.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="......SomeOtherHeaders.h" />
...
</ItemGroup>
当我汇编时,它总是对这两个档案提出如下申诉:
fatal error C1083: Cannot open include file: StdAfx.h : No such file or directory
fatal error C1083: Cannot open include file: StdAfx.h : No such file or directory
每当把这些档案人工复制到载有我的File.cpp的目录时,它就会汇编成册。
So Any clue why does this happen? and How to fix it?