Quantcast
Channel: CodeSmith Generator Releases
Viewing all 64 articles
Browse latest View live

CodeSmith Generator 6.0 Beta 3

$
0
0

New Features

  • The Template Editor no longer locks assembly references.
  • Added Go to Definition support (beta).
  • Added Code Navigation support. 
  • Added View Source context menu item to view a templates code behind file.
  • Added ExtendedPropertyNames class which gives quick access to all defined ExtendedProperty Names.
  • Added the ability to create new files and folders to Template Explorer and Windows Explorer.

Bug Fixes

  • Major updates to the ActiveSnippet Configuration dialog that includes validation and much more. 
  • Fixed a bug where a black Visual Studio theme would not be formatted properly.
  • Fixed a bug where the PropertyGrid was not refreshing property values that were updated dynamically.
  • Updated all providers to use the new utility class for ExtendedProperty Names.
  • Fixed a StackOverFlowException that could occur if an error occurred while showing the output window. 
  • Update the about us dialog to include lines generated.
  • Fixed a bug where Visual Studio could crash at launch due to an corrupt visual style.
  • Fixed a bug where Template and Compiler Errors were not taking priority over Warnings when being merged.
  • Fixed a bug where the CompileTemplateResult would return an incorrect result when any CompileWarnings existed.
  • Fixed a bug where Manage Outputs would not properly save an output when a template existed on a different hard drive.
  • Fixed a bug where Template Explorer wasn’t properly saving or loading a CodeSmith Generator Project File.
  • Fixed a bug where the installer would write to an incorrect registry hive on 64bit machines. 
  • Fixed a bug where the Name Attribute Value on a Property Directive wouldn't be valid if it had a space as the leading or ending character.
  • Fixed a Stack Overflow Exception that was occurring in MemberColumnSchemaCollection's IndexOf method.

Performance Enhancements

  • Many performance and memory optimizations across CodeSmith Generator. 
  • Updated the Template Editor to apply the default Visual Studio Fonts and Colors when opening a template. 

Usability Enhancements

  • Added a start menu link to the online help and API documentation.
  • Samples are now kept up-to-date on an end users machine without overwriting any modified templates upon extraction.
  • Added support for refreshing cached PropertyGrid values (E.G., DatabaseSchema). 
  • Updated the ADOXSchemaProvider to use the new Microsoft ADOX ConnectionString Designer.
  • Updated the OracleSchemaProvider to use the new Microsoft Oracle ConnectionString Designer.
  • PostgreSQLSchemaProvider's and SqlSchemaProvider's CommandSchema and ColumnSchema ExtendedProperty name for CS_IsScalarFunction now share the same name (maintained backwards compatibility).
  • Fixed an issue where Enumerations with defined base types could lock up the PropertyGrid.
  • Updated the TemplateSession to refresh the CodeTemplate's instance when clicking generate.
  • Fixed an issue where a file could be opened from the Template Explorer Window in a new Visual Studio Instance.
  • Fixed an issue where the Error Window would be out of date when switching between templates.
  • The Error Window is now cleared when you close a template editor.
  • Updated the TemplateEditorDocument to refresh the errors when a parse error occurs when the generate button is clicked.
  • Updated the GetHashCode()  for all of SchemaExplorer's implementations.
  • Fixed a bug where Custom UITypeEditor’s were showing up with non-default formatting styles.
  • Fixed a bug where Custom UITypeEditor’s Dropdown Menus were not behaving correctly due to a focus issue.
  • Updated all of the CodeSmith Generator Sample Projects.

Download Now


CodeSmith Generator 6.0 Release Candidate

$
0
0

New Features

  • Added F12 keyboard shortcut for Go To Definition.
  • Added the ability to access SchemaExplorer from within Visual Studio.
  • Added GetCustomValidationErrors() method to CodeTemplate which allows a developer to add custom Template Validation Rules during the validation process. This change introduced a breaking change to CodeTemplate's Validate method as it is no longer marked as virtual (Breaking Change). One should now update their existing code to use GetCustomValidationErrors(). 

Bug Fixes

  • Fixed a bug where an exception would occur when using the ViewColumnSchemaCollection PropertyGrid Editor.
  • Fixed a bug where MemberColumnSchemas Parent property was never being set.
  • Fixed the Code Navigation Drop Down menu's to include the selected image.

Performance Enhancements

  • Many performance and memory optimizations across CodeSmith Generator. 

Usability Enhancements

  • Fixed a bug where Visual Studio Shortcuts like Control+Tab were being ignored.
  • Updated Go To Definition support to check for In Memory document and code behind changes.
  • Updated CodeTemplate to issue an Validation Error when GetFileName() is Invalid or an exception occurs while a template is validating.
  • Updated the Visual Studio Build Template button to force a recompile of the template.
  • Updated the start menu help shortcut location.

Download Now

CodeSmith Generator 6.0

$
0
0

New Features

  • Brand new template editor integrated right into Visual Studio 2010!
  • Vastly improved IntelliSense with even more improvements to come before the final release. Support for directives, extension methods, lambdas, generics, and more!
  • Brand new parsing engine that should provide much better template errors as well as a great foundation to build on for the future.
  • .NET 4.0 support in templates.
  • SchemaExplorer collections have been updated to use generic collections that give a bunch of new features like LINQ support. *Breaking change that requires only a recompile of existing templates.
  • PropertyGrid has been updated to allow property filtering, collection editing, default instance creation, auto expanding of objects and much more.
  • New default property serializer that will enable serialization of just about any object and not require custom property serializers to be written. You can now just create an object in the template and use it as a property type.
  • Brand new Template Explorer that provides complete shell context menus and other features. If you are using something like Tortoise for version control, you will now have access to those features right inside of Template Explorer.
  • 64bit assembly support.
  • Most of the engine is multi-threaded and should make better use of multiple core machines.
  • Updated the ISeriesSchemaProvider to include filters to allow wild cards % and _ in the filters.
  • Added ISeriesSchemaProvider configuration setting to control the CommandTimeout on large schema's.
  • Added F12 keyboard shortcut for Go To Definition.
  • Added the ability to access SchemaExplorer from within Visual Studio.
  • Added GetCustomValidationErrors() method to CodeTemplate which allows a developer to add custom Template Validation Rules during the validation process. This change introduced a breaking change to CodeTemplate's Validate method as it is no longer marked as virtual (Breaking Change). One should now update their existing code to use GetCustomValidationErrors(). 
  • The Template Editor no longer locks assembly references.
  • Added Go to Definition support (beta).
  • Added Code Navigation support. 
  • Added View Source context menu item to view a templates code behind file.
  • Added ExtendedPropertyNames class which gives quick access to all defined ExtendedProperty Names.
  • Added the ability to create new files and folders to Template Explorer and Windows Explorer.
  • New property grid editors for common data types.
  • Added a new TemplateContext.Current that allows getting access to the currently executing template.
  • Massive SchemaExplorer refactor including interfaces for all schema objects and better designer and serializer support.
  • Added initial code navigation drop downs to the top of the template editor.

Bug Fixes

  • Fixed a bug where an exception would occur when using the ViewColumnSchemaCollection PropertyGrid Editor.
  • Fixed a bug where MemberColumnSchemas Parent property was never being set.
  • Fixed the Code Navigation Drop Down menu's to include the selected image.
  • Major updates to the ActiveSnippet Configuration dialog that includes validation and much more. 
  • Fixed a bug where a black Visual Studio theme would not be formatted properly.
  • Fixed a bug where the PropertyGrid was not refreshing property values that were updated dynamically.
  • Updated all providers to use the new utility class for ExtendedProperty Names.
  • Fixed a StackOverFlowException that could occur if an error occurred while showing the output window. 
  • Update the about us dialog to include lines generated.
  • Fixed a bug where Visual Studio could crash at launch due to an corrupt visual style.
  • Fixed a bug where Template and Compiler Errors were not taking priority over Warnings when being merged.
  • Fixed a bug where the CompileTemplateResult would return an incorrect result when any CompileWarnings existed.
  • Fixed a bug where Manage Outputs would not properly save an output when a template existed on a different hard drive.
  • Fixed a bug where Template Explorer wasn’t properly saving or loading a CodeSmith Generator Project File.
  • Fixed a bug where the installer would write to an incorrect registry hive on 64bit machines. 
  • Fixed a bug where the Name Attribute Value on a Property Directive wouldn't be valid if it had a space as the leading or ending character.
  • Fixed a Stack Overflow Exception that was occurring in MemberColumnSchemaCollection's IndexOf method.
  • Fixed template includes so that all templates should work now.
  • Fixed issue with collapsing code behind items in solution explorer after generating.
  • Improved error messages and more robust checks during template parsing.
  • Fixed various licensing bugs.
  • Fixed bugs where schema providers were not being found properly.
  • Added new TemplateSourceGenerator custom tool for .cst files that enables better template debugging support.
  • Fixed parser bug that wasn't parsing <% // some comment %> correctly.
  • Fixed an issue where an Exception would occur when trying to load a template marked as read-only.
  • Fixed a bug that caused Configuration to call LoadDefault multiple times.
  • Many other small improvements and bug fixes.

Performance Enhancements

  • Many performance and memory optimizations across CodeSmith Generator. 
  • Updated the Template Editor to apply the default Visual Studio Fonts and Colors when opening a template. 

Usability Enhancements

  • Fixed a bug where Visual Studio Shortcuts like Control+Tab were being ignored.
  • Change RenderToFile to not modify a file if the contents would be the same. Helps with exclusive checkouts.
  • Updated Go To Definition support to check for In Memory document and code behind changes.
  • Updated CodeTemplate to issue an Validation Error when GetFileName() is Invalid or an exception occurs while a template is validating.
  • Updated the Visual Studio Build Template button to force a recompile of the template.
  • Updated the start menu help shortcut location.
  • Added a start menu link to the online help and API documentation.
  • Samples are now kept up-to-date on an end users machine without overwriting any modified templates upon extraction.
  • Added support for refreshing cached PropertyGrid values (E.G., DatabaseSchema). 
  • Updated the ADOXSchemaProvider to use the new Microsoft ADOX ConnectionString Designer.
  • Updated the OracleSchemaProvider to use the new Microsoft Oracle ConnectionString Designer.
  • PostgreSQLSchemaProvider's and SqlSchemaProvider's CommandSchema and ColumnSchema ExtendedProperty name for CS_IsScalarFunction now share the same name (maintained backwards compatibility).
  • Fixed an issue where Enumerations with defined base types could lock up the PropertyGrid.
  • Updated the TemplateSession to refresh the CodeTemplate's instance when clicking generate.
  • Fixed an issue where a file could be opened from the Template Explorer Window in a new Visual Studio Instance.
  • Fixed an issue where the Error Window would be out of date when switching between templates.
  • The Error Window is now cleared when you close a template editor.
  • Updated the TemplateEditorDocument to refresh the errors when a parse error occurs when the generate button is clicked.
  • Updated the GetHashCode()  for all of SchemaExplorer's implementations.
  • Fixed a bug where Custom UITypeEditor’s were showing up with non-default formatting styles.
  • Fixed a bug where Custom UITypeEditor’s Dropdown Menus were not behaving correctly due to a focus issue.
  • Updated all of the CodeSmith Generator Sample Projects.
  • Double clicking template inside of codesmith explorer in VS will now open the file for editing.
  • Improved the error window behavior for templates.
  • Better support for old UITypeEditors.
  • Fixed issue with being able to copy text from the output window.

Download Now

CodeSmith Generator 6.0.1

$
0
0

Bug Fixes

  • Fixed a bug where an exception could occur while loading saved CodeSmith Generator Project File Settings.
  • Fixed a bug where the Editors' font colors were unreadable.
  • Fixed a bug where an exception could be thrown when trying to update the editors FontFamily.
  • Fixed a bug where an exception could be thrown while writing to the Visual Studio Activity Log.
  • Fixed a threading bug where an InvalidOperationException could occur when using multiple document windows.
  • Fixed a bug where an COMException could occur when switching document windows.

Performance Enhancements

  • Fixed a locking issue that could occur if you closed an editor document while it was being parsed.

Usability Enhancements

  • Improved the error message that is shown when templates are using assemblies that are compiled against old versions of CodeSmith Generator.
  • Fixed a bug where the ColumnSchemaCollection UI Picker didn't allow a user to select multiple items.
  • Fixed a bug where Template Explorer runtime exception messages would not be displayed.
  • Fixed a bug where an unhandled exception would occur when loading a CodeSmith Generator Project File that was saved in unicode format.
  • Updated the CodeSmith Generator Documentation start menu link location.

Download Now

Happy Holidays from CodeSmith Tools!

$
0
0

The Holidays are such a festive time and CodeSmith wants to share the cheer with everyone! What better way to do this than to treat yourself to CodeSmith Generator 6.0!

December 15th through January 1st you can receive 25% off your whole order over $100. All you have to do is enter in the discount code CHEER before checking out at our online store and the discount will be applied to your whole order. Now that is what the Holidays are all about!

Plus, this coupon can also be used to upgrade your previous licenses to CodeSmith Genertor 6.

Happy Holidays,

The CodeSmith Team

CodeSmith Generator 6.0.2

$
0
0

New Features

  • Added Intellisense Support for Anonymous Types.
  • Added additional information to the Intellisense Parameter Information.
  • Added a Help menu to the Generator Menu inside of Visual Studio.
  • Updated all of the Generator Template Frameworks to the latest version.

Bug Fixes

  • Fixed a bug where a StackOverflowException would occur with any template that was recursively called.
  • All newly created Generator Files (E.G., Templates, Generator Project Files...) and Generated documents are saved as UTF unless specified in the CodeTemplate Directives Encoding attribute. 
  • Fixed a bug where a StackOverflowException could occur when retrieving Intellisense for complex types.
  • Fixed a bug where a NullReferenceException could occur if a sub template had more than 25 errors.
  • Fixed a bug where CodeTemplate.GetProperties(bool) could return invalid results.
  • Fixed a bug where the TableSchema's DataObjects property wasn't being set correctly.
  • Fixed a bug where the CommandResultSchema.DataObjects property wasn't being populated.
  • Fixed a bug where ActiveSnippets could be saved in an invalid state.
  • Fixed a bug where ActiveSnippets were not being upgraded properly.
  • Fixed a bug where the Data Source Manager could throw an exception when a provider couldn't be resolved.
  • Fixed a bug where a FileNotFound exception could occur if a previously open template document no longer existed when launching Visual Studio.
  • Fixed a bug where the CodeTemplate.RenderToFile(OutputFile, bool) overload was not calling OnPostRender.
  • Fixed a bug where SDK Licenses would not be picked up in certain circumstances.
  • Fixed a bug where Configuration may not be initialized properly when using SDK Integration. 
  • Fixed a bug where the TemplateContext might not be available when loading properties from a CSP.
  • Fixed a bug where Validation Errors could be removed prematurely from the Error Window.
  • Fixed a bug that caused SchemaExplorer Collections to be incorrectly serialized.
  • Fixed a bug where an Exception could be thrown after closing an editor document.
  • Fixed a bug where template samples might not be extracted in some scenarios.
  • Breaking Change: The Merge Strategies API Merge() method signature has been updated to include a MergeContext which provides additional contextual information.

Performance Enhancements

  • Many performance and memory improvements pertaining to the Template Editor.
  • Fixed a performance bug in the SqlSchemaProvider where parsing Extended Property values could take an excessive amount of time due to regex backtracking. 
  • Fixed a bug that could cause the editor to not use valid cached compile results.

Usability Enhancements

  • Added a user friendly message when generating against template resources that are marked as blocked. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information.
  • Fixed a bug where the editor didn't respect your tab preferences.
  • Restored the non-generic DataObjectBaseCollection for backwards compatibility.
  • Fixed a bug that could prevent samples from being extracted to the location you choose while installing Generator.
  • Fixed a bug where an Exception could be thrown while trying to parse a template that uses an include file multiple times.
  • Fixed a few PropertyGrid issues dealing with focusing and custom UITypeEditors.
  • Fixed a bug where one could not uncomment template comments when the selection had any trailing or leading spaces.
  • Fixed a bug where sub template errors could be show error squiggles in the master template.
  • Fixed a bug where a Data Source might throw an exception while loading and not be shown in the Data Source Manager.
  • Fixed a bug that could cause a crash when saving a template while it is being parsed.
  • Updated all of the Visual Studio Item templates descriptions and names.
  • Fixed a bug where the Intellisence Auto Completion windows would not show up in some scenarios.

Download Now

 

CodeSmith Generator 6.0.3

$
0
0

 

New Features

  • Added PropertiesLoaded and PropertiesSaved events to CodeTemplate. This allows for the ability to be notified when all template properties have been saved or loaded.
  • Added the ability to exclude specific properties from being copied to a sub template.

Bug Fixes

  • Fixed a bug where the Environment.CurrentDirectory wasn't being set to the current template directory during Generation which broke backwards compatibility in some templates.
  • Fixed a bug where the JsonPropertySerializer wasn't loading Interfaced property values.
  • Fixed a bug where a NullReferenceException could occur while retrieving Visual Studio settings.
  • Fixed a bug where a NullReferenceException could occur when accessing a class that deriving from ColumnSchema via interfaces.
  • Fixed a bug where a NullReferenceException would occur while rendering a template if you called the CopyPropertiesTo(true) overload.
  • Fixed a bug where the MSBuild integration could throw a  NullReferenceException.

Usability Enhancements

  • Added CopyTo Overload for backwards compatibility.
  • Solved an error that could occur while configuring Generate On Build when using TFS Source Control.
  • Updated the Template Editor look and feel to feel more like the Visual Studio Editor.
  • Added an detailed error message when the InsertClassMergeStrategy is unable to insert content.
  • The Privacy Policy link no longer throws an exception during the registration process.

Download Now

 

CodeSmith Generator 6.5 Beta 1

$
0
0

 

New Features

  • Added a standalone Template Editor application.
  • Added theme support to the standalone editor.
  • Added ability to import editor styles from VS in the standalone editor.
  • Added smart indent feature to the template editor.
  • Added initial LINQ completion support.
  • Added current line highlighting feature.
  • Added Print support.
  • 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 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)

Bug Fixes

  • Fixed a bug where assemblies were not being resolved correctly when Visual Studio 11 was installed.
  • 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 an exception may be thrown while retrieving Visual Studio configuration settings.
  • Fixed a bug where show license dialog was shown when you tried to uninstall.
  • Fixed a bug in the SqlSchemaProvider where CS_Description ExtendedProperty values would be truncated. The MS_Description ExtendedProperty value now takes precedence.

Performance Enhancements

  • Many more minor bug fixes and performance improvements.

Usability Enhancements

  • Improved GoTo Definition.
  • Fixed a bug where a line break would be rendered after a script block.

Download Now

 


CodeSmith Generator 6.0.4

CodeSmith Generator 6.5 Release Candidate

$
0
0

New Features

  • Added support for Visual Studio 11.
  • Improved Intellisense support for VB and lambda expressions.
  • 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.
  • Added SaveAs support to rename template editor documents.
  • Added JumpList support to the Template Editor.
  • Added a splash screen to the stand alone template editor.
  • Added Intellisense support for CSharp and Visual Basic code behind files.
  • Added Cut, Copy and Paste context menu items across the board.
  • Updated the CSLA, PLINQO for NHibernate and PLINQO for Entity Framework to the latest nightly builds.

Bug Fixes

  • 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 CHANGE).

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.

Usability Enhancements

  • 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.

Download Now

CodeSmith Generator 6.5

$
0
0

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

CodeSmith Generator 6.0.5

$
0
0

Bug Fixes

  • Fixed a bug where assemblies were not being resolved correctly when Visual Studio 2012 / .NET 4.5 was installed.

Download

Please contact support for access to CodeSmith Generator 6.0.5.

CodeSmith Generator 6.5.1

$
0
0

New Features

  • Increased support for Visual Studio 2012.
  • Added DB2 zOS Schema Provider (contrib David Logan and Blake Niemyjski).
  • Added the ability to change a templates template code's background color.
  • Added the ability the ability to disable or enable current line highlighting.
  • Added a new whitespace collapsing rule to collapse the last line terminator node if there is only collapsible nodes after it.

Bug Fixes

  • Fixed a bug where a run-time exception would occur when opening Generator Studio or Template Explorer on Windows XP/ Server 2003 over Remote Desktop.
  • Fixed a bug where Visual Studio template editor syntax highlighting styles could be improperly applied.
  • Fixed a bug where samples could be extracted at the same time in different processes.
  • Fixed a bug where an exception would be thrown when adding a new XmlProperty to a template.
  • Fixed a bug where some legacy UITypeEditors would not be shown in the Property Grid.
  • Fixed a bug where the about dialog would be rendered incorrectly on localized versions of Windows.
  • Fixed a bug in the ISeriesSchemaProvider where Primary keys may not be resolved correctly.
  • Fixed a bug where an exception could occur when doing a Go To Definition operation on a Lambda expression. 
  • Fixed a bug where an Exception could be thrown while extracting samples over samples that previously failed to extract.
  • Many more minor bug fixes.

Usability Enhancements

  • The installer now verifies that Visual Studio has been closed before installing.
  • Updated the installer to add read / write permissions for the user's template samples folder.
  • Updated ExtendedPropertyNames to support even more extended property names.
  • Fixed a bug where the Find and Replace tool windows Find button could be disabled in Generator Studio.
  • Fixed a bug where the update file associations dialog could be hidden behind other windows.

Download Now

CodeSmith Generator 6.5.2

$
0
0

New Features

  • Added beta support for Visual Studio 2012 themes.

Bug Fixes

  • Fixed a bug where the Template Editor font size would be displayed incorrectly inside of Visual Studio 2012.
  • Fixed a bug where the Visual Studio 2012 snippets were not being detected by the Template Editor.
  • Fixed a bug where the Returned ComplileTemplateResult.IsFromCache could return an incorrect value.
  • Fixed a bug where the the Base Sample Directory could be set to an incorrect value.
  • Fixed a bug where templates template code's background color wasn't being shown if you didn't have MVC 3.0+ installed. This now falls back to the 'Highlighted Reference' font and color settings.
  • Fixed a bug where an error would be thrown when attempting to compile a specific template on multiple processes at the same time.
  • Many more minor bug fixes.

Performance Enhancements

  • Fixed a bug where templates weren't being loaded from cache in some circumstances.

    Usability Enhancements

    • Fixed a bug where the Visual Studio MSBuild integration wasn't displaying messages in the output window.
    • Fixed a bug where the progress bar could show 100% after generating through Manage Outputs in Visual Studio.
    • Updated the IEngineHost interface's GetContent methods to accept an optional parameter overload that controls how content is returned (from source or from memory).
    • Fixed a bug where the Template Editor would show invalid parse error messages for Visual Basic templates that contain XmlProperties.
    • Fixed a bug where SqlCodeTemplate was treating any column that ended in TypeCode as an enumeration (BREAKING CHANGE).

    Known Visual Studio 2012 Issues

    These issues only effect the Visual Studio 2012 integration. Please note that we are working on a native metro theme for the Template Editor that will resolve the theming issues below. If you find any other issues with VS2012, please let us know.

    • Find feature doesn't work, but find and replace is working.  We are awaiting a response from Microsoft.
    • When changing themes, you may need to restart Visual Studio once to ensure the editor is displayed correctly. We are awaiting a response from Microsoft.
    • Template Editor scroll bars and drop downs will be incorrectly themed.
    • Schema Explorer, Template Editor navigational glyphs (the arrow icons next to folders / schema objects) are barely visible when using the dark theme.

      Download Now

      CodeSmith Generator 6.5.3

      $
      0
      0

       

      New Features

      • Improved XmlProperty Intellisense.
      • Added the ability for the Server edition to consume the Generator API.

      Bug Fixes

      • Fixed a bug where a NullReferenceException could be thrown when the XmlProperty Schema attribute value was empty.

        Download Now

         


        CodeSmith Generator 6.5.4

        $
        0
        0

        New Features

        • Added the ability to escape a single quote in an attribute value using two quotes in a row (E.G., "").

        Bug Fixes

        • Fixed a bug where SchemaExplorer objects may not be refreshed properly.

        Performance Enhancements

        • Fixed a bug where database schema information may be retrieved twice while restoring template properties from a CodeSmith Generator Project file.

        Usability Enhancements

        • Fixed a bug where Find in current document was not working in Visual Studio 2012.
        • Fixed a bug where Go To Line wasn't working on Visual Studio 2012.
        • Fixed a bug where SaveAs would cause the editor to become unresponsive when saving code behind files.
        • Fixed a bug where CommandSchema Functions saved in a CodeSmith Generator Project file would not be loaded.

          Download Now

          CodeSmith Generator 6.5.5

          CodeSmith Generator 6.5.6

          $
          0
          0

          Bug Fixes

          • Fixed a bug in xheo licensing component that caused licensing issues after upgrading Windows to version 8.1.

          Download Now

          CodeSmith Generator 7.0 Beta 1

          $
          0
          0

          New Features

          • Added support for VS 2013.
          • Added support for SQL Azure.
          • Added bracket matching functionality to the Template Editor.
          • Added Syntax Highlighting for the following Languages: Assembly, INI, Lua, Markdown, MSIL, PowerShell, Ruby, RTF, VBScript, XAML.  
          • Added support for Delimiter Auto-Complete and Curly Brace Auto-Indent.
          • Added the ability to Control+Click to go to definition including support for the ability to open code behinds.
          • Added Intellisense support for Array Indexers, Xml and XSD files.
          • Added Intellisense support for the new C# 5.0 and VB 11.0 syntax. Please note that templates are still compiled as .NET 4.0. If you wish to use the async / await functionality, you must add a template reference to Microsoft.CompilerServices.AsyncTargetingPack.
          • Added support for Format Document and Format Selection.
          • Added file extension mapping for the following file types: ColdFusion, CoffeeScript, Command, Dart, Erlang, F#, JSON, LESS, TypeScript, XSD and XSLT.
          • Updated the code navigation drop downs by adding support for modifiers, method parameters and property parameters.
          • Added support for a native Windows 8 metro theme.
          • Added 13 Bootstrap 3.0 ActiveSnippets.
          • Added a new TypeScript ActiveSnippet that will generate TypeScript classes from a json document (local or remote).
          • Added the ability to consume merged MapCollections. StringUtil.ToPlural() and StringUtil.ToSingular() now use merged a MapCollection.
          • Updated the PLINQO and CSLA Frameworks to target .NET 4.5 and VS 2012/2013.

          Bug Fixes

          • Fixed a bug where the DataObjectBase.FullName property was only returning the Name (E.G., ColumnName) value. FullName now includes the owner information (E.G., Owner.Table.ColumnName).
          • Fixed a threading bug in SqlSchemaProvider where an incorrect major version number could be returned causing the wrong script to be executed.
          • Fixed a bug where Property Directive descriptions do not appear in Intelliprompt.
          • Fixed a bug where the Editor font and colors would be displayed incorrectly after changing the Visual Studio theme in Visual Studio 2012 and 2013.
          • Fixed a bug where Quick Info and Intelliprompt fonts were displayed incorrectly.
          • Fixed a bug where renaming a file in Template Explorer did not update the file path inside of the template editor.
          • Fixed a bug where tabs inside of Template Editor did not properly display the files read-only status.
          • Fixed a bug where an Unauthorized Access Exception could be thrown when trying to save a generated document.
          • Fixed a bug where calling the Save method on MapCollection was not ensuring that the directory was created before saving the file to an invalid file path.
          • Fixed a bug where MapCollection.ToString() returned an empty string instead of the actual content.
          • Fixed a bug where an XmlProperty with invalid XSD schema's would throw an unhandled exception.
          • Fixed a few bugs where the Indention features would not work as expected.
          • Fixed a bug where the Property Grid could throw an exception when the multiply key was pressed.
          • Fixed a bug where the Template Explorer wouldn't automatically refresh in some scenarios.
          • Fixed a bug where the DB2zOSSchemaProvider would only return views if the FilterViews property was specified in configuration.
          • Fixed a bug where ActiveSnippetConfiguration may not be initialized when a new instance of ActiveSnippetGenerator was created.
          • Fixed a formatting bug where PropertySet.ToString() wasn't being indented.
          • Fixed various bugs with StringUtil where IsPlural, IsSingular, ToSpacedWords was not handling null or empty strings properly.
          • Fixed a bug where StringUtil ToPascalCase and ToCamelCase methods were not returning the correct results for strings that contained single character words (E.G., a_b_c_MyMethod).
          • Many more minor bug fixes.

          Performance Enhancements

          • Improved performance of parsing templates. Some very large templates can see up to a 2500% improvement. NetTiers parsing is 30% faster. 
          • Improved the start up time of the Generator Studio and Visual Studio integration.
          • Fixed a performance bug in SqlSchemaProvider.
          • Fixed a bug where calling SaveAs multiple times on a single document would cause Generator Studio to become unresponsive.
          • Many more minor performance improvements.

          Usability Enhancements

          • Major usability improvements to the Find and Replace dialogs.
          • Added the ability to open the properties window using the F4 key inside of Studio.
          • Updated the find next dialog to behave like the Visual Studio Find dialog (F3 keyboard support, Escape to close and more).
          • Added the ability to open recent files from within the Generator Studio File menu.
          • Added SchemaExplorer to the default list of assembly references for code behind files.
          • Fixed a backwards compatibility bug where a template would not compile if the file name started with a digit.
          • Updated the default file extensions that a document could be created with based on the valued defined in the templates TargetLanguage attribute value.
          • Fixed a bug where the execute template dialog would allow a user to generate a template that was unable to compile.
          • Fixed a bug where the Template Editor would not receive focus when switching between documents.
          • Fixed a bug where a Generator Project File could be saved with the incorrect file extension if the file name contained a period.

          Download Now

          CodeSmith Generator 7.0

          $
          0
          0

          New Features

          • Added support for VS 2013.
          • Added support for SQL Azure.
          • Added bracket matching functionality to the Template Editor.
          • Added Syntax Highlighting for the following Languages: Assembly, INI, Lua, Markdown, MSIL, PowerShell, Ruby, RTF, VBScript, XAML.  
          • Added support for Delimiter Auto-Complete and Curly Brace Auto-Indent.
          • Added the ability to Control+Click to go to definition including support for the ability to open code behinds.
          • Added IntelliSense support for Array Indexers, Xml and XSD files.
          • Added IntelliSense support for the new C# 5.0 and VB 11.0 syntax. Please note that templates are still compiled as .NET 4.0. If you wish to use the async / await functionality, you must add a template reference toMicrosoft.CompilerServices.AsyncTargetingPack.
          • Added support for Format Document and Format Selection.
          • Added file extension mapping for the following file types: ColdFusion, CoffeeScript, Command, Dart, Erlang, F#, JSON, LESS, TypeScript, XSD and XSLT.
          • Updated the code navigation drop downs by adding support for modifiers, method parameters and property parameters.
          • Added support for a native Windows 8 metro theme.
          • Added 13 Bootstrap 3.0 ActiveSnippets.
          • Added a new TypeScript ActiveSnippet that will generate TypeScript classes from a json document (local or remote).
          • Added the ability to consume merged MapCollections. StringUtil.ToPlural() and StringUtil.ToSingular() now use merged a MapCollection.
          • Added the ability to control the current theme from Generator Explorer.
          • Added the ability to reset the docking layout from Generator Studio.
          • Added the ability to open the options dialog from Generator Explorer.
          • Added method overloads to StringUtil IsPlural and IsSingular that allows you to specify a plural overrides MapCollection.
          • Updated the PLINQO and CSLA Frameworks to target .NET 4.5 and VS 2012/2013.

          Bug Fixes

          • Fixed a bug where the DataObjectBase.FullName property was only returning the Name (E.G., ColumnName) value. FullName now includes the owner information (E.G., Owner.Table.ColumnName).
          • Fixed a threading bug in SqlSchemaProvider where an incorrect major version number could be returned causing the wrong script to be executed.
          • Fixed a bug where Property Directive descriptions do not appear in IntelliPrompt.
          • Fixed a bug where the Editor font and colors would be displayed incorrectly after changing the Visual Studio theme in Visual Studio 2012 and 2013.
          • Fixed a bug where Quick Info and IntelliPrompt fonts were displayed incorrectly.
          • Fixed a bug where renaming a file in Template Explorer did not update the file path inside of the template editor.
          • Fixed a bug where tabs inside of Template Editor did not properly display the files read-only status.
          • Fixed a bug where an Unauthorized Access Exception could be thrown when trying to save a generated document.
          • Fixed a bug where calling the Save method on MapCollection was not ensuring that the directory was created before saving the file to an invalid file path.
          • Fixed a bug where MapCollection.ToString() returned an empty string instead of the actual content.
          • Fixed a bug where an XmlProperty with invalid XSD schema's would throw an unhandled exception.
          • Fixed a few bugs where the Indention features would not work as expected.
          • Fixed a bug where the Property Grid could throw an exception when the multiply key was pressed.
          • Fixed a bug where the Template Explorer wouldn't automatically refresh in some scenarios.
          • Fixed a bug where the DB2zOSSchemaProvider would only return views if the FilterViews property was specified in configuration.
          • Fixed a bug where ActiveSnippetConfiguration may not be initialized when a new instance of ActiveSnippetGenerator was created.
          • Fixed a formatting bug where PropertySet.ToString() wasn't being indented.
          • Fixed various bugs with StringUtil where IsPlural, IsSingular, ToSpacedWords was not handling null or empty strings properly.
          • Fixed a bug where StringUtil ToPascalCase and ToCamelCase methods were not returning the correct results for strings that contained single character words (E.G., a_b_c_MyMethod).
          • Fixed a bug that was preventing Template Explorer to be themed in some circumstances.
          • The CodeTemplate ResponseEncoding attribute has been depreciated as it doesn't make sense to have two encoding attributes. We will continue to fallback to any defined ResponseEncoding attribute values for backwards compatibility.
          • Fixed a bug where a reloaded source document from disk could be shown as an empty document.
          • Fixed a bug where StringUtil ToPlural and ToSingular methods were not respecting the input strings casing.
          • Fixed a bug where StringUtil IsPlural and IsSingular methods returned incorrect results if the input was not lower cased.
          • Updated the SQLAnywhereSchemaProvider to also return user database tables and views.
          • Many more minor bug fixes.

          Performance Enhancements

          • Improved performance of parsing templates. Some very large templates can see up to a 2500% improvement. NetTiers parsing is 30% faster. 
          • Improved the start up time of the Generator Studio and Visual Studio integration.
          • Fixed a performance bug in SqlSchemaProvider.
          • Fixed a bug where calling SaveAs multiple times on a single document would cause Generator Studio to become unresponsive.
          • Many more minor performance improvements.

          Usability Enhancements

          • Major usability improvements to the Find and Replace dialogs.
          • Added the ability to open the properties window using the F4 key inside of Studio.
          • Updated the find next dialog to behave like the Visual Studio Find dialog (F3 keyboard support, Escape to close and more).
          • Added the ability to open recent files from within the Generator Studio File menu.
          • Added SchemaExplorer to the default list of assembly references for code behind files.
          • Fixed a backwards compatibility bug where a template would not compile if the file name started with a digit.
          • Updated the default file extensions that a document could be created with based on the valued defined in the templates TargetLanguage attribute value.
          • Fixed a bug where the execute template dialog would allow a user to generate a template that was unable to compile.
          • Fixed a bug where the Template Editor would not receive focus when switching between documents.
          • Fixed a bug where a Generator Project File could be saved with the incorrect file extension if the file name contained a period.
          • Fixed a bug where a crash could occur when trying to regenerate a saved generated document.
          • Fixed a bug where template and generated documents were not being opened or saved with the correct encoding.
          • Fixed a bug where fixed template errors would not be removed from the error window until the template was recompiled.
          • Fixed a bug where template errors were not being highlighted for in memory documents.

          Download Now

          Viewing all 64 articles
          Browse latest View live