NSQLFormatter is a light-weight .NET-library for beautifying your SQL. NSQLFormatter is an open-source project, written with C# and .NET Framework 4.0. It is based 100% on the work done in the NHibernate-project.
Usage
1. Add reference to NSQLFormatter.dll.
2. var formattedSQL = NSQLFormatter.Formatter.Format(originalSQL);
No external references required.
NuGet
NSQLFormatter is available through the NuGet with the package name NSQLFormatter. Type “install-package NSQLFormatter” to install it.
Source code
Source code and the compiled binary is available from the following GitHub-repository: https://github.com/mikoskinen/NSQLFormatter-dotnet
Background
NSQLFormatter was created when a project needed a way to easily beautify the inputted SQL. The excellent NHibernate-project (http://nhforge.org) contained the necessary code but adding the reference to NHibernate's dlls was deemed a too heavy-weight solution. So, the source code in question was copied from the NHibernate and all the requirements for external references (IESI Collections) were removed.
Licenses
NSQLFormatter is distributed under the terms of the FSF Lesser GNU Public License.
The project includes source code from the NHibernate-project, written by Fabio Maulo, Mike Doerfler, Sergej Košcejev, Ayende Rahien and others. Visit the NHibernate SVN-repository for more information: http://nhibernate.svn.sourceforge.net/viewvc/nhibernate/trunk/nhibernate/src/NHibernate/
VSS Binding Remover is a simple Windows software which removes the Visual Source Safe bindings from the Visual Studio projects and solutions. It has been tested with a VS2008 solution but it should work with VS2005 and VS2010 solutions also.
Credits
This program is mostly a copy-paste from the stackoverflow.Credits for the code goes to:
Usage
Start the VSSBindingRemover.exe, type in or select the root folder and hit Go. You should get a message box when processing has completed.
Note:You may need the elevated privileges if you have Windows Vista or Windows 7. This is because the program removes the read-only attributes from project files and solutions.
Download and source code
VSS Binding Remover is available at the GitHub. You can download both the source code and the executables from there.