This project is read-only.

Rating: No reviews yet
Downloads: 705
Released: Nov 12, 2008
Updated: Nov 12, 2008 by OlegSych
Dev status: Alpha Help Icon

Recommended Download

Application T4Toolbox.msi
application, 101K, uploaded Nov 12, 2008 - 705 downloads

Release Notes

  • Improved code re-generation scenarios when output files already exist.
- If an output file hasn't changed, it is not overwritten.
- If a modified output file is under source control, it will be checked out.
- Output files are no longer deleted if an error was detected during code generation. This prevents good output files from deletion in case an error in environment causes code regeneration to fail.
- Child files with the same name as the code generation files are preserved. This prevents the main output file from being deleted and added back to source control with every template transformation.
  • Added Enabled property to the Template class to allow users to selectively disable generation of a particular type of output without having to reimplement the entire code generator.
  • Changed (Unit) TestRunner to add detailed information about test execution to the output file.
  • Changed Errors property of TransformationContext class to be private and prevent accidental access to "global" error list.
- Extracted error reporting logic from Generator and Template class into TransformationContext class to make them easier to to test.
- Removed references to TransformationContext.Errors from the existing unit tests.
  • Improved error handling functionality
- Added overloaded Error and Warning methods to Template and Generator classes to use for error reporting.
- Changed Template.TransformText to skip execution of RenderCore if Validate method reports any errors.
- Changed Generator.Run to skip execution of RunCore if Validate method reports any errors.

Reviews for this release

No reviews yet for this release.