Thursday, 18 December 2014
Friday, 12 December 2014
A simple design page : When inserting the Name checking the text value
Setting of Style Cop Rules and Properties
a) Click on the check box to check or uncheck the rules to apply for code analysis, By default it is checked for all rules
Run the style Cop to check the code analysis
Either from Toolsà Run the Style Cop
Or Right click on project explorer à Run the Style Cop
When you run it it will give the Warnings if it will break the rules.
On Running the Style Cop
Output Code snippet
After rectifying all the warning by Style cop getting result Violation count : 0
Exclude the Particular File from Style Cope
Creating Custom Rule
Steps to Creating Custom rule
1> Creating One Class Library file
2> Import the two DLL and reference it to project
From C:\Program Files\Microsoft StyleCop 22.214.171.124
3> Add one XML File for configuration
4> Successfully Build the code in Release mode
5> Place the DLL into
C:\Program Files\Microsoft StyleCop 126.96.36.199
Code Snippet for Custom Rule to Check Data Base is Closed or Not “.CS file”
XML Code Snippet
Get the Custom Style Cop Rule into project
Tuesday, 9 December 2014
You will like to read it
Getting Error as: Severity Code Description Project File Line Suppression State Error No Java files found which extend CordovaActivity. O...
You can use this application to check the availability of URL are there are not it can be used as the BVT test for your application. T...
1. Before starting the code for conversting the HTML to PDF using ITextSharp you need to download the ITextsharp Dll and placed it int...
Changing color of the row of grid on doing on putting the mouse over to it. It is generally used to highlighted the row of grid. You need ...