Geeks With Blogs
kazim mehdi .net
Stylecop Suppress Message
Stylecop great tool from Microsoft to enforce code style rules. Sometimes we like to break 1 or more of its rules and very much like Complier should not complain about it anymore. its easy by adding following attribute in front of element that is going to break the Rule. In the following code its class. [SuppressMessage("StyleCop.... "SA1402:FileMayOnlyContainA... Justification = "its ok here")] Major problem that I faced is getting correct “CheckId” of the rule. ......

Posted On Friday, January 13, 2012 2:42 PM

MSTest–Copy Assembly’s Directory set to output to the test run directory
There are two ways that I found to this but I found the second one better for readability. 1. Test Run Configuration file 2. DeploymentItemAttribute I am interesting in the “DeploymentItemAttribute” because its more readable gives flexibility to add either on the Test Class level so that more than 1 test can get the files or at Test Method level. I have a solution contains multiple project one of the project requires xsds to be there with the assembly. So 1. select the all the files scattered in ......

Posted On Thursday, September 15, 2011 11:29 AM

Copyright © kazim sardar mehdi | Powered by: GeeksWithBlogs.net | Join free