Merge pull request #46 from sharwell/support-net451
Fix code generation support for .NET 4.5.1
This commit is contained in:
commit
d206a6e001
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue