On 32-bit systems the following will work:
On 64-bit systems the following will work:
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.4\Microsoft.StyleCop.targets" />
<Import Project="$(MSStyleCopTargetsPath)\Microsoft.StyleCop.targets" />
As long as all developer machines are using 32bit
or 64bit everything will be OK. But if there is a mix if 32/64 bit developer machines ... What will be the best approach solving that or what is the best workaround? Defining own environment variable for example? Is this a bug or feature? Why should
be there a difference?
It simply seems that $(MSStyleCopTargetsPath) is not defined under 32bit ...
Harald-René Flasch (aka hfrmobile)