Merge pull request #46 from sharwell/support-net451

Fix code generation support for .NET 4.5.1
This commit is contained in:
Sam Harwell 2014-04-28 07:03:44 -05:00
commit d206a6e001
1 changed files with 2 additions and 0 deletions

View File

@ -285,6 +285,8 @@ namespace Antlr4.Build.Tasks
string framework = TargetFrameworkVersion;
if (string.IsNullOrEmpty(framework))
framework = "v2.0";
if (framework == "v4.5.1")
framework = "v4.5";
string language;
if (TargetLanguage.Equals("CSharp"))