Fix code generation support for .NET 4.5.1

This commit is contained in:
Sam Harwell 2014-04-27 21:48:06 -05:00
parent 2ace0f628a
commit 6472972efb
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,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"))