CodeSmith Generator 6.5

New Features

  • Added support for Visual Studio 2012.
  • Added a standalone Template Editor application.
  • Added Intellisense support for XmlProperty.
  • Improved Intellisense support for VB and lambda expressions.
  • Added smart indent feature to the template editor.
  • Added VistaDB 4.x Schema Provider.
  • Added Sql Compact 4.0 Schema Provider.
  • Updated the PostgreSchemaProvider and SQLAnywhereSchemaProvider libraries to .NET 4.0.
  • Added LINQ completion support.
  • Added Intellisense support for CSharp and Visual Basic code behind files.
  • Added code snippet support to the Template Editor (beta).
  • Updated all folder browser pickers to use the native Windows 7 and Windows Vista Folder browser.
  • Added Build and Generate buttons to the Windows 7 preview window.
  • Added Print support.
  • Added theme support to the standalone Template Editor.
  • Added the ability to highlight the current line.
  • Added ability to import Visual Studio editor styles from in the standalone Template Editor.
  • Updated all Schema Explorer and Generator icons.
  • Added support for showing trace messages to the output window when generating.
  • Added support for in memory editor documents. Unsaved documents are no longer persisted to disk before generating.
  • Added the ability to rename
    Template Editor documents.
  • Added JumpList support to the Template Editor.
  • Added a splash screen to the standalone
    Template Editor.
  • Added the ability to open files by dropping them onto the Template Editor.
  • Added the ability to open multiple documents in a single operation.
  • Added Cut, Copy and Paste context menu items across the board.
  • Added colored tabs to identify generated content. (Not implemented in VS yet).
  • Added ability to close all generated documents. (Not implemented in VS yet).
  • Added a Close all windows but this feature.
  • Added ability to re-generate while viewing the previously generated document. (Not implemented in VS yet).
  • Added ability to change properties and re-generate without switching back to the template. (Not implemented in VS yet).
  • Updated the CSLA templates to version 4.0.
  • Updated the PLINQO for Entity Framework templates to version 1.2.
  • Updated the PLINQO for NHibernate templates to version 1.2.

Bug Fixes

  • Fixed a bug where converting tabs to spaces wasn’t working correctly.
  • Fixed a bug where CodeSmith Generator could crash on Windows XP when trying to set a windows icon (Windows XP icon file limitations).
  • Fixed a bug where the Template Engine would throw a StackOverflowException while trying to add recursive references. A parser error is now added and displayed in the error window.
  • Fixed a bug in the Sql Compact Schema Providers where money data types were not being translated to DbType.Currency.
  • Fixed a bug where a opening a UITypeEditor could crash the Template Editor if the property setting threw an exception.
  • Fixed a bug where the View Visible Whitespace feature wasn’t working in the Visual Studio Template Editor.
  • Fixed a bug where text inside of the Visual Studio Template Editor may be displayed incorrectly.
  • Fixed a bug where the CodeSmith Generator assemblies were not showing up in the Visual Studio Add New References dialog.
  • Fixed a bug where the CodeSmith Generator XSD schema’s were not being registered properly with Visual Studio.
  • Fixed a bug where a UnauthorizedAccessException could occur while trying to open or save a file inside of the Template Editor.
  • Fixed a bug where the template editor was not checking to see if a file had permissions to edit a file.
  • Fixed a bug where an exception could occur while trying to see if the extracted samples were up to date.
  • Fixed a bug where template comments were generating a new line.
  • Fixed a bug where a FormatException could occur while updating the Output Window.
  • Fixed a threading bug where an exception could be thrown while retrieving cached property values.
  • Fixed a bug where ValidationErrors were being reported as a warning in the Error Window.
  • Fixed a bug where project references and generated items wouldn’t be added to a solution if there was an error during generation.
  • Fixed a bug where a NullReferenceException would be thrown while pressing generate on a non generated code document.
  • Fixed a bug where a NullReferenceException would occur when text was selected during a go to definition operation.
  • Fixed a bug that could crash the application when closing a CodeSmith Generator Project Progress dialog while generating.
  • Fixed a bug where the Template Explorer create new text file menu item didn’t work.
  • Fixed a bug where right click execute on a template in the template explorer would edit the template in the Template Editor.
  • Fixed a bug where a InvalidOperationException could be thrown in some cases when closing the Generator Project File Generation Progress Dialog before generation has completed.
  • Fixed a bug where an Exception may be thrown while trying to access the Registry for settings without ensuring the registry keys exist.
  • Fixed a bug with the About window displaying very large text.
  • Renamed RegisterInMemoryContent to RegisterContent and GetFileContent to GetContent (BREAKING [6.0 API Only] CHANGE).
  • Fixed a bug in the SqlSchemaProvider where CS_Description ExtendedProperty values would be truncated. The MS_Description ExtendedProperty value now takes precedence.
  • Fixed a bug where show license dialog was shown when you tried to uninstall.
  • Fixed a bug where an exception may be thrown while retrieving Visual Studio configuration settings.
  • Fixed a bug where Visual Studio 2010 integration would become corrupt when Visual Studio 11 or .NET 4.5 was installed.
  • Fixed a bug where assemblies were not being resolved correctly when Visual Studio 11 was installed.
  • Fixed a bug where the Progress bar would not be cleared after generation errors.
  • Fixed a bug where some whitespace was not being shown correctly when ‘View Visible Whitespace’ was enabled.
  • Fixed a bug where Code Document errors were not being removed from the Error Window in specific cases.
  • Fixed a bug where errors could be added to the error window without a file path.
  • Fixed a bug where a new blank template would be created with a syntax error.
  • Many more minor bug fixes.

Performance Enhancements

  • Fixed a large number of performance related bugs dealing with initializing Template Editor documents.
  • Fixed a bug where a deadlock could occur while resetting or refreshing the Property Grid.
  • Fixed a bug where Cached Configuration Settings may be persisted in memory indefinitely.
  • Many more minor bug fixes and performance improvements.

Usability Enhancements

  • Improved GoTo Definition.
  • Added the ability to handle external editor document changes.
  • Fixed a bug where you needed to restart Generator after updating with the Oracle Schema Provider and the ISeries Schema Provider Configuration to take effect.
  • Fixed a bug where the output window could steal focus while using the Template Editor.
  • Fixed a bug that didn’t underline some errors in the Template Editor.
  • Fixed a bug where the Properties tool window would be reset when switching between tool windows.
  • Fixed a bug where renaming a template inside of Visual Studio would save a duplicate template file under the previous name.
  • Fixed a bug where a NullReferenceException could be thrown from Visual Studio 2010’s Add New File wizard.
  • Fixed a bug where the Property Grid did not let you search for properties.
  • Fixed a bug where the JumpList wasn’t being updated after you saved a in memory document.
  • Fixed a bug where the JumpList Recent Items list wasn’t being populated.
  • Fixed a bug where a line break would be rendered after a script block.
  • Fixed a bug where property values may not be applied to the Property Grid.
  • Updated the stand alone template editor to ensure that only one instance of the editor is open at all times.
  • Updated the Schema Explorer tool window to show folders for Tables, Commands and Views. It also will display an icon for the following scenarios: Composite Keys, Clustered Indexes and Parameter direction.
  • Improved the status updates when opening and saving a templates.
  • Renamed Template Editor stand alone application to CodeSmith Generator Studio.
  • Added the ability to clear and copy the output window contents.
  • Updated the experience when opening a template document inside of the editor.
  • Changed the default editor application to be the stand alone template editor.
  • Fixed a bug where the Template Explorer Top Most Window mode could be enabled from within Visual Studio and the Template Editor.
  • Changed the save and close behavior of generated documents inside of the template editor.
  • Updated the Go To Line dialog to have a default enter experience.
  • Large amount of updates to the Error Window for an better editing experience.
  • Fixed a bug where ManageOutputs could be hidden behind the Template Editor when double clicking on a file in Template Explorer.
  • Fixed a bug where a NullReferenceException would occur when trying to remove a template shortcut in Template Explorer.
  • Fixed a bug where web documents would be loaded into the template editor instead of launching in a browser.
  • Fixed a bug where the Find tool window wasn’t working in some scenarios.
  • Fixed a bug where the stand alone editor user interface may not be displayed correctly after initial launch.
  • Updated the Configuration descriptions for the Oracle Schema Provider and the ISeries Schema Provider.

Download Now