473,386 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

testing C# source code for coding standards

Hi there,
we try to implement a coding standards policy for C# code and I am looking
for some kind of tool that can validate the source code. Ideally, I'd like
to be able to define "custom rules" as well. We already use FxCop but its
purpose is obviously diferent.

I spent some time on the web but not too much luck finding something like
that.
Could anyone give me a directions ?

Thank you.
Nov 17 '05 #1
4 1502
Visual Studio.Net 2005, if you can wait one more month for it!

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Marek" <no****@nowhere.com> wrote in message
news:uZ**************@TK2MSFTNGP12.phx.gbl...
Hi there,
we try to implement a coding standards policy for C# code and I am looking
for some kind of tool that can validate the source code. Ideally, I'd like
to be able to define "custom rules" as well. We already use FxCop but its
purpose is obviously diferent.

I spent some time on the web but not too much luck finding something like
that.
Could anyone give me a directions ?

Thank you.

Nov 17 '05 #2
Thank you Kevin, it sounds OK.
Is there any material available on this specific feature of VS.NET 2005 ?
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
Visual Studio.Net 2005, if you can wait one more month for it!

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Marek" <no****@nowhere.com> wrote in message
news:uZ**************@TK2MSFTNGP12.phx.gbl...
Hi there,
we try to implement a coding standards policy for C# code and I am
looking for some kind of tool that can validate the source code. Ideally,
I'd like to be able to define "custom rules" as well. We already use
FxCop but its purpose is obviously diferent.

I spent some time on the web but not too much luck finding something like
that.
Could anyone give me a directions ?

Thank you.


Nov 17 '05 #3
There are several features on my add-in (below) that can help: Review
Mandatory Text, Review Forbidden Text (both uses custom rules bases on
regular expressions) and if you need something specific the add-in is
extensible and you can provide your custom assembly extension (a "Review
Code Standards" extension sample is provided as starting point).

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> escribió en el mensaje
news:e9**************@TK2MSFTNGP15.phx.gbl...
Visual Studio.Net 2005, if you can wait one more month for it!

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Marek" <no****@nowhere.com> wrote in message
news:uZ**************@TK2MSFTNGP12.phx.gbl...
Hi there,
we try to implement a coding standards policy for C# code and I am
looking for some kind of tool that can validate the source code. Ideally,
I'd like to be able to define "custom rules" as well. We already use
FxCop but its purpose is obviously diferent.

I spent some time on the web but not too much luck finding something like
that.
Could anyone give me a directions ?

Thank you.


Nov 17 '05 #4
Here's one source (there's quite a bit more, though)
http://msdn.microsoft.com/library/de...wvs05tmsys.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Marek" <no****@nowhere.com> wrote in message
news:u5**************@tk2msftngp13.phx.gbl...
Thank you Kevin, it sounds OK.
Is there any material available on this specific feature of VS.NET 2005 ?
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:e9**************@TK2MSFTNGP15.phx.gbl...
Visual Studio.Net 2005, if you can wait one more month for it!

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.

"Marek" <no****@nowhere.com> wrote in message
news:uZ**************@TK2MSFTNGP12.phx.gbl...
Hi there,
we try to implement a coding standards policy for C# code and I am
looking for some kind of tool that can validate the source code.
Ideally, I'd like to be able to define "custom rules" as well. We
already use FxCop but its purpose is obviously diferent.

I spent some time on the web but not too much luck finding something
like that.
Could anyone give me a directions ?

Thank you.



Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jonathan Allen | last post by:
We have found that our method of testing does not match traditional text-book methodologies. I decided to write a short white paper on it so that I could get your opinions. Does anyone else use...
4
by: dotNetDave | last post by:
About three weeks ago I released the first .NET coding standards book titled "VSDN Tips & Tricks .NET Coding Standards". Here is what the famous author/ speaker Deborah Kurata says about it: ...
46
by: Profetas | last post by:
Hi, I know that this is off topic. but I didn't know where to post. Do you comment your source code while coding or after coding. for example: you write a procedure and after it is...
17
by: clintonG | last post by:
I'm using an .aspx tool I found at but as nice as the interface is I think I need to consider using others. Some can generate C# I understand. Your preferences please... <%= Clinton Gallagher ...
11
by: D. Yates | last post by:
Hi, In an effort to improve my own code and try to teach others that I work with that unit testing IS MANDATORY. I'm interested in examples of unit testing that other people are using. How...
25
by: mdh | last post by:
Hi Group, Not looking for an answer, but more of an explanation. Thinking back to those heady days when you had the time to do them, may I ask this. Exercise 1-22 asks for a program to "fold"...
24
by: David | last post by:
Hi list. What strategies do you use to ensure correctness of new code? Specifically, if you've just written 100 new lines of Python code, then: 1) How do you test the new code? 2) How do...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.