Introduction to CodeSmith Project Files Overview A new feature in CodeSmith 4.0 is the ability to manage groups of CodeSmith templates and their outputs with a single file called a CodeSmith Project. CodeSmith Projects enable you to define and run an entire code generation process quickly and easily using the environment of your choice. They …Read More
Using merge strategies in CodeSmith enables you to combine both user and machine generated code in a single file. You can also regenerate the machine generated code while still preserving your custom code modifications. CodeSmith comes with two types of merge strategies out of the box: · InsertRegion – Allows you to insert a region …Read More
CodeSmith 4.0 delivers strong integration within Visual Studio and ActiveSnippets are a driver toward increasing developer productivity. ActiveSnippets, at a high level, are CodeSmith templates with exposure to the entire .Net Framework which you can utilize with a few keystrokes inside of Visual Studio 2005. The output of your ActiveSnippet will be rendered right where …Read More
For the most up-to-date version of this article please see the following documentation. Overview CodeSmith supports debugging by using the CLR’s Just-in-Time debugger. This article will show some tips and tricks in setting up CodeSmith templates to use the debugger. Allow Debugging in Template The first step to allow debugging a template is to set …Read More
CodeSmith Maps allow developers to reduce the amount of plumbing code in their templates and increase the readability and re usability at the same time. Maps provide a named dictionary like semantic to template development. While developing templates, a common scenario developers face is accessing a lookup list based on some sort of information. A …Read More
CodeSmith Tools is pleased to announce that CodeSmith has won the 2007 ASP.Net Pro Readers’ Choice Award for Best Utility. This marks the second consecutive win in this category for CodeSmith. Full results will be published in the June issue of ASP.Net Pro magazine and online at www.aspnetpro.com. We are extremely excited to have been …Read More
* Updated to DockableWindow 2.0.209 to fix a docking window issue under vista aero.* Changed SqlSchemaProvider to properly pull back varchar(max) and other data types in SQL 2005 for command parameter data types.* Fixed a bug in CSMAP’s where they would sometimes not use the correct map settings.* Fixed a licensing bug introduced with 4.0.3. …Read More
* Added several new map files for various type conversions.* Fixed issue with the Standard trial install acting like the Professional version.* Fixed bug in the SampleCustomProperties sample project causing the property values to not restore. Download Here
* Fixed some bugs in the API help where member return types and names weren’t being displayed.* Made it so that the sysdiagram tables are ignored in SqlSchemaProvider.* Fixed a bug in XmlProperty when using the RootElement attribute.* Fixed a bug that was causing CodeSmith to not work in configurations where the my documents folder …Read More