Visual Studio 2010 & 2008 can't handle source files with identical names in different folders?

后端 未结 8 926
难免孤独
难免孤独 2020-11-30 23:58

Direct Question: If I have two files with the same name (but in different directories), it appears that only Visual Studio 2005 can handle this transparentl

8条回答
  •  醉梦人生
    2020-12-01 00:22

    This is easy to fix in the IDE. Click the first file in the folder, Shift+Click the last file so all of them are selected. Right-click, Properties, C++, Output Files. Change the Object File Name from $(IntDir)\ to, say, $(IntDir)\Univariate\. You can repeat for the Multivariate file group although that's not strictly necessary.

提交回复
热议问题