我有一个Visual 2010 C++项目。以前一切都很好,但是现在当我创建新文件时,它们在角落里有奇怪的小箭头。我已经检查过了,它们不是链接,文件位于引用的硬位置。我已经看过项目文件和设置,无法确定它们与我的正常、良好的文件之间到底有什么区别。但是,当我试图移动这些文件以重新组织我的项目时,Visual不会移动它们。我该如何解决这个问题?

以下是(项目文件的一部分):
<ItemGroup>
<ClInclude Include="Interfaces\OS\OS.h" />
<ClInclude Include="Interfaces\Render\Math\colour.h" />
<ClInclude Include="Interfaces\Render\Math\Point.h" />
<ClInclude Include="Interfaces\Render\Math\rectangle.h" />
<ClInclude Include="Interfaces\Render\render.h" />
<ClInclude Include="Implementations\OS\Windows\Context.h" />
<ClInclude Include="Implementations\OS\Windows\Window.h" />
<ClInclude Include="Implementations\OS\Windows\Windows.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Context.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Direct3D9.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Font.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Label.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Scene.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Sprite.h" />
<ClInclude Include="Implementations\Render\Direct3D9\Texture.h" />
<ClInclude Include="UI\Context.h" />
<ClInclude Include="UI\Controls\Button.h" />
<ClInclude Include="UI\Controls\Context.h"/>
<ClInclude Include="UI\Division.h" />
</ItemGroup>正如您所看到的,所有的头文件都是同样列出的,但是只有一些是不可移动的。
发布于 2012-03-28 04:06:49
显然,这是很特别的东西。只有当根文件夹名为"UI“时,才会出现此问题。所有其他文件夹名都按预期工作。重新创建文件夹和文件没有任何效果,但是如果根文件夹没有命名为"UI",那么一切都是正确的。将此错误归因于错误。
https://stackoverflow.com/questions/9461821
复制相似问题