visual studio 2010 - VS2010 C++/CLI project always thinks VS2012 C# project is out of date -
i have vs2012 solution vs2010 c++/cli project depends on vs2012 c# project. when build c++/cli project always builds c# project even when no changes have been made it.
looking @ dbgview output using method here see following message:
project 'h:\workspaces\xxxx\projecta\projecta.vcxproj' not date because 'h:\workspaces\xxxx\projectb\bin\x86\debug\projectb.dll' modified @ 06/02/2014 13:05:30, newer 'h:\workspaces\xxxx\projecta\bin\debug\projecta.lib' modified @ 06/02/2014 13:05:29.
where:
- projecta vs2010 c++/cli project
- projectb vs2012 c# project
under common properties >framework , references have following settings:
- copy local false
- copy local satellite assemblies false
- reference assembly output true
- link library dependencies true
- use library dependency inputs false
what's causing the dll , lib file have different timestamps? there can change in settings prevent this?
project 'h:\workspaces\xxxx\projecta\projecta.vcxproj' not date
that explains why c++/cli project gets rebuilt. doesn't have c# project. , of course getting rebuilt, dependencies changed.
you haven't yet found trigger c# project getting rebuilt. backwards.
do avoid these outdated c++ build logging hacks. not c++ project problem anyway. favor changing msbuild verbosity detailed. tools + options, projects , solutions, build , run. , focus @ output shows why c# project needs rebuilding, that's 1 care about.
Comments
Post a Comment