Update to srgen to remove strict dependency to netcore 3.1 (#1618)

* first changes

* added roll forward major to fix 3.1 dependency issue.
This commit is contained in:
Alex Ma
2022-08-04 12:08:20 -07:00
committed by GitHub
parent 38c2cd4482
commit 1789fd1233
11 changed files with 10 additions and 15 deletions

View File

@@ -643,7 +643,7 @@ Task("SRGen")
}
// Run SRGen
var dotnetArgs = string.Format("{0} -or \"{1}\" -oc \"{2}\" -ns \"{3}\" -an \"{4}\" -cn SR -l CS -dnx \"{5}\"",
var dotnetArgs = string.Format("--roll-forward Major {0} -or \"{1}\" -oc \"{2}\" -ns \"{3}\" -an \"{4}\" -cn SR -l CS -dnx \"{5}\"",
srgenPath, outputResx, outputCs, projectName, projectNameSpace, projectStrings);
Information("{0}", dotnetcli);
Information("{0}", dotnetArgs);