Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For a full change log of all the new features and bug fixes for each version of CodeSmith Generator be sure to look at the CodeSmith Generator Release Notes. For information on upgrading to the latest version please see the upgrade section.

CodeSmith Generator 8.0

Info

CodeSmith Generator 8.0 now targets version 4.6.2 of the .NET Framework. As such support for Visual Studio 2010, 2012 and 2013 has been removed.


Info

The installer no longer contains MSBuild support or Visual Studio Integration. If you are getting an error about a missing targets file, you’ll need to either remove the targets file from the project file or right click on your CodeSmith Generator Project File and under options remove Generate on Build and reenable it. This will remove the old targets file which is invalid and install the CodeSmith.Generator.Task NuGet package which will enable the Generate on build support.

  • Added support for C# 6 and VB 14 language features.
  • Added support for .NET 4.7. You can now reference  .NET 4.7 assembly references.
  • Added support for Visual Studio 2017. Visual Studio support can be installed as a VSIX from the Visual Studio marketplace and can be automatically updated.
  • Added official CodeSmith Generator NuGet packages for SDK scenarios.
  • Added new CodeSmith.Generator.Task NuGet package which enables generate on build functionality. This package also includes the cs.exe command line executable as well.
  • Added the ability to specify a license key via the Generator:License environment variable or in code CodeSmithLicense.SetLicenseKey(key). Allows for easy build server and CI usage.
  • Added High DPI support.
  • Added support for JavaScript merge regions.
  • Added support for <code> blocks to be used in doc comments to support rendering of code snippets within a summary section.
  • Added support for newer snippets that could contain shortcuts that begin with the # character.

...