Visual Studio warning about copies of files with different contents

前端 未结 13 772
北恋
北恋 2021-02-05 00:05

When I go to debug my C++ project in Visual Studio, up pops a little warning dialogue box that tells me:

A copy of datum.h was found in
c:/users/brad/desktop/sou         


        
13条回答
  •  情书的邮戳
    2021-02-05 00:25

    I see the real reason of this question is not answered. So for someone still looking, here it goes... The most common reason of this problem is that the source files used to build the existing obj files are different than the existing ones. In other words the particular project did not build after new modifications to source. The solution to this problem is to rebuild the project after modifying. This happened to me in situation where I had modified my static library projects files and then without building that project I started my application project which was using this static library project.

提交回复
热议问题