visual studio 2015 - Project Build Properties Platform versus Configuration Manager Platform -
when building visual studio 2015 project, getting mismatch between architecture processor
warning message discussed here.
unfortunately, accepted answer no longer correct in visual studio 2015. there 2 locations target platform can specified. in configuration manager
, , in project build properties page.
if x86
set active platform in configuration manager
, anycpu
specified in project build properties, mismatch warning message.
which begs question. if build configuration manager
set release
x86
, , project build properties set any cpu
, implications?
if build release
x86
project build properties set x86
, resulting pe output going different?
if different, seems disaster waiting happen clickonce distributions.
the configuration , platform of project property (build) associated platform configuration manager. add configuration , platform in configuration manager window , these items in project property’s (build) configuration , platform.
the configuration manager used solution level, restrict projects won’t built specified configuration , platform (uncheck build), when build solution file directly (.sln, right click solution build), build project according configuration , platform setting of configuration manager, projects skipped build. change current solution configuration , platform (default active configuration , platform):
project properties used project level (build project file or right click project=>build) , platform target setting indicate platform assembly compiled for. each configuration , platform, specify different platform target.
the mismatch between architecture processor related platform target, configuration , platform specified build (could change in ui) platform target affect it.
so, question, related how build (build solution/project) , platform , configuration specified.
Comments
Post a Comment