近来作了一个工程,一个主project和两个mfc extension dll project
所有生成的exe和dll文件都放在一个bin目录下,如
main.exe    (release)
mainD.exe   (debug)
part1.dll   (release)
part1D.dll  (debug)
part2.dll   (release)
part2D.dll  (debug)
其余生成文件按原来配置目录存放
刚刚开始没有往dll project里添加内容的时候一切正常,后来添加了mfc class后就出错
在生成part1D.dll和part2D.dll的时候提示
Linking...
   Creating library Debug/partxD.lib and object Debug/partxD.exp
partxD.exp : warning LNK4070: /OUT:partx.dll directive in .EXP differs from output filename "../bin/partxD.dll"; ignoring directive
由于*.exp的指向错误,运行mainD.exe的时候提示没有找到release版本的partx.dll,而不是找partxD.dll
那位牛牛告诉我应该如何配置该工程