Last post Feb 19, 2015 04:57 AM by Angie xu - MSFT
Feb 18, 2015 09:44 AM|shabbir_215|LINK
I have Website application using VS.NET 2013, would like to integrate stylecop, I google some website they menttion to add below import to csproj file but it doesn't exist in my website application folder, so where should add it.
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- Your StyleCop <Import> will go here -->
<Import Project="$(ProgramFiles)\MSBuild\StyleCop\v4.7\StyleCop.targets" />
Feb 18, 2015 09:49 AM|AidyF|LINK
Websites don't have project files. I did a google and this question has been asked a few times that I can find, yet never answered, so maybe it just isn't possible.
Feb 18, 2015 09:53 AM|shabbir_215|LINK
That's really shame for webforms
Feb 18, 2015 09:57 AM|AidyF|LINK
It's Bill Gates' way of telling you you shouldn't be using Website projects :)
Feb 18, 2015 09:59 AM|shabbir_215|LINK
True, Anyways thanks
Feb 19, 2015 04:57 AM|Angie xu - MSFT|LINK
Welcome to asp.net forum.
I have Website application using VS.NET 2013, would like to integrate stylecop,
For this issue, you can consider submitting it to Visual Studio UserVoice Site(https://visualstudio.uservoice.com/forums/121579-visual-studio). The Uservoice site is for suggestions
and ideas, what you would like to see in future versions of the Visual Studio suite of products, Visual Studio team will look into the issue according to the proof customers provide.
Thanks for your understanding.