3
Vote

Project import statement missing

description

Need to manually add the following import statement in csproj file to allow stylefix to work :
 
<Import Project="$(ProgramFiles)\MSBuild\Microsoft\StyleCop\v4.3\Microsoft.StyleCop.targets" />

comments

codingfun wrote Jul 15, 2010 at 3:22 PM

I use VS 2010 Ultimate with StyleCop v. 4.4.0.12 release candidate and StyleFix v. 0.6. I get some 386 warnings with StyleCop (33 without), but with StyleCop enabled and all Configure-Options checked the code isn't adapted.
How do I have to adapt the Import statement in the csproj - file which looks like this now:
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions>
?

wrote Feb 14, 2013 at 1:15 AM