{"id":790,"date":"2013-04-04T20:55:56","date_gmt":"2013-04-04T10:55:56","guid":{"rendered":"http:\/\/www.moneystock.net\/wp_e\/?p=790"},"modified":"2013-05-08T08:01:39","modified_gmt":"2013-05-07T22:01:39","slug":"quality-coding-with-visual-studio-plug-ins","status":"publish","type":"post","link":"https:\/\/moneystock.net\/wp_e\/2013\/04\/04\/quality-coding-with-visual-studio-plug-ins\/","title":{"rendered":"Quality coding with Visual Studio plug-ins"},"content":{"rendered":"<p>Utilising\u00a0a few useful tools can make your code quite productive.<\/p>\n<ol>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Fix all &#8220;Warnings&#8221;<\/span><\/li>\n<li><span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">Use <a href=\"http:\/\/www.codeproject.com\/Articles\/78599\/How-to-Use-FxCop\">FxCop<\/a><\/span><br \/>\n<span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Download <\/span><span style=\"text-decoration: underline;\"><a style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal; text-decoration: underline;\" href=\"http:\/\/www.microsoft.com\/en-au\/download\/details.aspx?id=6544\">here<\/a><\/span><span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">.\u00a0<\/span><br \/>\n<span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">Install <\/span><span style=\"text-decoration: underline;\"><a style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal; text-decoration: underline;\" href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/706b0d9f-9726-474e-b687-2bb9704c9784\">FxCop Runner extension<\/a><\/span><span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">, then you can run FxCop inside VS and see the warnings together with\u00a0original\u00a0VS warnings in warnings window.<\/span><br \/>\n<span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">(It&#8217;s integrated as Code Analysis in VS2012, so you don&#8217;t need to install FxCop again)<\/span><\/li>\n<li><span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">Use <a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/76293c4d-8c16-4f4a-aee6-21f83a571496\">CodeMaid<\/a><\/span><br \/>\n<span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">&#8211; Which is really nice. With one click, it re-organize your code neat, clean up using comment, remove unnecessary spaces reset orders.\u00a0<\/span><br \/>\n<span style=\"font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif;\">&#8211; You can install this at the menu Tools &#8211; Extension\u00a0manager inside Visual Studio, which is the easiest way to install.<\/span><\/li>\n<li><span style=\"color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Nimbus Sans L', sans-serif; font-style: normal;\">Use <a href=\"http:\/\/stylecop.codeplex.com\/\">StyleCop<\/a><br \/>\n&#8211; Install StyleCop and <a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/706b0d9f-9726-474e-b687-2bb9704c9784\">StyleCop runner<\/a> together to use it as integrated in VS<br \/>\n&#8211; Good <a href=\"http:\/\/blogs.southworks.net\/geoff\/2012\/02\/13\/effective-stylecop\/\">article<\/a> to use StyleCop effectively<br \/>\n&#8211; Nuget support integrated StyleCop in Build process<br \/>\n&#8211; Recommended\u00a0<a href=\"http:\/\/www.moneystock.net\/uploadfiles\/Settings.StyleCop\">Settings.StyleCop<\/a> file configured out unnecessary bits. Download this config file to your root directory of all c# codes.\u00a0<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Utilising\u00a0a few useful tools can make your code quite productive. Fix all &#8220;Warnings&#8221; Use FxCop Download here.\u00a0 Install FxCop Runner extension, then you can run FxCop inside VS and see the warnings together with\u00a0original\u00a0VS warnings in warnings window. (It&#8217;s integrated as Code Analysis in VS2012, so you don&#8217;t need to install FxCop again) Use CodeMaid&hellip; <a class=\"more-link\" href=\"https:\/\/moneystock.net\/wp_e\/2013\/04\/04\/quality-coding-with-visual-studio-plug-ins\/\">Continue reading <span class=\"screen-reader-text\">Quality coding with Visual Studio plug-ins<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"class_list":["post-790","post","type-post","status-publish","format-standard","hentry","category-web-development","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/comments?post=790"}],"version-history":[{"count":10,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/790\/revisions"}],"predecessor-version":[{"id":792,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/790\/revisions\/792"}],"wp:attachment":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/media?parent=790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/categories?post=790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/tags?post=790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}