Visual Studio Project File Help

Posted by Alex Baranosky on Stack Overflow See other posts from Stack Overflow or by Alex Baranosky
Published on 2009-10-13T10:27:21Z Indexed on 2010/05/03 2:58 UTC
Read the original article Hit count: 291

I would like to reconfigure the StyleCop import path in my project file. Currently it looks like this:

<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />

I would like to include the Microsoft.StyleCop.targets file in my project directory, and thus do something like this:

<Import Project="$( ProjectDir)\Microsoft.StyleCop.targets" />

Is something like this possible, if so what is the proper way to do it?

© Stack Overflow or respective owner

Related posts about project-files

Related posts about visual-studio