|
The Downloads Page...
This is a set of tools that we have written and felt that others might find useful. Check back with us periodically to see if any other tools are added. If you have a tool and you want to share it with others (and we find useful), drop us an email and we will post it on our site (with proper credit given to you of course).
Regarding Support:
There isn't any. With that said, we will try to
respond to any questions you may have but we do not promise any level of
support....Good luck and have fun. Contact us about downloads and tools.
Update Project References
05/24/2006
Visual Studio doesn't natively support
the ability to update all selected project's within a Solution with the same reference paths. This is important (at least to me)
if you have to download from your source control system a different version of your source code. Since you typically do not
check in your project preferences into source control, you will be stuck with the mundane task of selecting
your project, setting the reference path, select the next project, etc.
This add-in enables you to select a given set of projects within your solution, set your reference paths and make updates across all
selected projects. For example:

You have a couple of options
- Completely Replace Existing References...enough said
- Do nothing if a reference exists (and append to end of list if it doesn't)
- Prepend to List...(note: if the reference already exists, it will be moved).
- Append to List...(note: if the reference already exists, it will be moved).
To use the add-in, copy the files UpdateReferencePaths.AddIn and UpdateReferencePaths.dll to your add-in directory. Typically, this is located at:
C:\Documents and Settings\[Your User Name Here]\My Documents\Visual Studio 2005\Addins
The code for this can
be downloaded at :
Update Reference Paths
XmlPreCompiler
11/30/2004
This
bit of code that provides a UI to a tool Chris Sells' wrote called
XmlSerializerPreCompiler.exe.
This
tool solves the problem of getting those nasty serialization messages that
really don't tell you anything. Like "File or assembly name ctewkx4b.dll, or
one of its dependencies, was not found". This tool checks to see if a type can
be serialized by the XmlSerializer class and if it can't, it shows the compiler
errors happening behind the scenes.
The code for this
can be downloaded at :
XmlPreCompiler
The
original tool can be found at:
http://www.sellsbrothers.com/tools/#XmlSerializerPreCompiler
12/13/2004 - I
updated the tool: Specifically:
-
If the application gets a ReflectionLoadTypeException, the application will
spin through the inner LoaderExceptions in order to give a more detailed reason
as to why a problem occurred.
-
Added the ability to view assemblies referenced by the selected assembly.
-
Sorting. Ward Bekker suggested sorting and it was a good idea. I also now
display all types regardless. I used to only show classes. I also added a
column that will display what it is (e.g. class, enum, interface, etc.) and I
let you sort on this as well.
Validation Framework
02/28/2004
This bit of
code is what I presented to the .Net Atlanta User Group Meeting on 02/23/2004.
A number of you asked me to post the code so here it is. This code allows you
to decorate your method parameters, class fields and properties using attribute
notation in order to provide a common validation scheme. For example:
The code for this can
be downloaded at :
ValidationFramework
public
static void
ParametersExample(
[RequiredItem()]
string name,
[RegEx ("...",RegexOptions.None)]
string emailAddress)
{
// create validator
class
MethodValidator
validator= new
MethodValidator(
MethodBase.GetCurrentMethod
(), name,emailAddress);
// now validate
validator.Validate();
// your normal method code goes here.
}
I use a
compiled version of Microsoft's ExceptionManagement
Application Block. A most excellent piece of code that can be
downloaded here.
Also,
in case you are interested, I am completing an article for TheServerSite.Net
that will go over how this is put together in greater detail.
|