Welcome to CodeSmith Generator

CodeSmith is a template-based code generator that can produce code for any text-based language. Whether your target language is C#, Visual Basic .NET, T-SQL, Java or even FORTRAN, CodeSmith can help you produce higher-quality, more consistent code in less time than writing code by hand. CodeSmith's familiar ASP.NET-based template syntax means that you can be writing your first templates within minutes of installing the package. The advanced CodeSmith Studio integrated development environment (IDE) helps you create and test new templates in a rapid development setting. You can also join in CodeSmith's active online community to download hundreds of ready-made templates for such common development tasks as building strongly-type collection classes or creating data access layers.

CodeSmith Projects and ActiveSnippets are integrated within Visual Studio to make code generation a breeze.

CodeSmith also includes a console version and an MSBuild task that you can easily integrate into your automated build process, flexible strategies for merging generated code with custom code, the SchemaExplorer API for integration with relational data sources, and the ability to hook up your own custom metadata sources.

If you're new to CodeSmith, Getting Started with CodeSmith will show you how to begin generating code for your own projects immediately. If you're an experienced CodeSmith user, What's New will point you at the major new features in this release.