This project is read-only.

Project import statement missing


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" />


codingfun wrote Jul 15, 2010 at 4:22 PM

I use VS 2010 Ultimate with StyleCop v. 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:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />

wrote Feb 14, 2013 at 2:15 AM