Skip to content

Commit

Permalink
build: fix incorrect Mono with MSBuild support detection (fixes #131)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelTroka committed Feb 26, 2019
1 parent b57999f commit 521f705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Expand Up @@ -33,7 +33,7 @@ if (type != null)
}
}

var isMonoButSupportsMsBuild = monoVersion!=null && System.Text.RegularExpressions.Regex.IsMatch(monoVersion,@"([5-9]|\d{2,})\.\d+\.\d+(\.\d+)?");
var isMonoButSupportsMsBuild = monoVersion!=null && System.Text.RegularExpressions.Regex.IsMatch(monoVersion,@"^\s*([5-9]|\d{2,})\.\d+\.\d+(\.\d+)?");


var normalNUnit3Settings = new NUnit3Settings()
Expand Down

0 comments on commit 521f705

Please sign in to comment.