vs2010 Project converted from VS2005 gets MSB4006 circular dependency error on build

question:

I copied source files and .sln, .suo, .vcproj etc files from a VS2005 machine on which this solution builds OK. The conversion of this project did not get any errors, although several other projects for which I did not copy the files did.

I have attached the old and new .sln and .suo files, the vcproj and vcxproj files.

When I attempt to build the solution, I get the "circular dependency" error. The file to which this error refers seems to be a MS configuration file, Microsoft.CppBuild.targets, last modified 9/15/09. I have attached a copy of that file from my machine.

VS2010b2 is running under WinXP64. 


answer:


The attached vcxproj already has a reference to itself and that is the cause for the error message.
<ProjectReference Include="BoardDisplay.vcxproj">
<Project>{20240235-9b5b-4f25-874f-47163a1afacc}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>

It is interesting to find how this end-up in your project (the conversion doesn’t seem to been adding it using our latest builds). If you can trace that, we might find the real cause of this problem. If that will be the case could you please let us know, by opening a bug with the specifics.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值