forked from jasder/antlr
Fix code generation support for .NET 4.5.1
This commit is contained in:
parent
2ace0f628a
commit
6472972efb
|
@ -271,6 +271,8 @@ namespace Antlr4.Build.Tasks
|
||||||
string framework = TargetFrameworkVersion;
|
string framework = TargetFrameworkVersion;
|
||||||
if (string.IsNullOrEmpty(framework))
|
if (string.IsNullOrEmpty(framework))
|
||||||
framework = "v2.0";
|
framework = "v2.0";
|
||||||
|
if (framework == "v4.5.1")
|
||||||
|
framework = "v4.5";
|
||||||
|
|
||||||
string language;
|
string language;
|
||||||
if (TargetLanguage.Equals("CSharp"))
|
if (TargetLanguage.Equals("CSharp"))
|
||||||
|
|
Loading…
Reference in New Issue