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

@@ -4,11 +4,6 @@ steps:
inputs:
useGlobalJson: true
- task: UseDotNet@2
displayName: 'Installing dotnet 3.1 to run srgen (To be removed after srgen is updated)'
inputs:
version: 3.1.406
- task: BatchScript@1
displayName: 'Run script build.cmd'
inputs:

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);

View File

@@ -2,7 +2,7 @@
<packages>
<package id="Cake" version="0.37.0" />
<package id="Newtonsoft.Json" version="13.0.1" />
<package id="Microsoft.Data.Tools.StringResourceTool" version="3.1.0" />
<package id="Microsoft.Data.Tools.StringResourceTool" version="3.2.0" />
<package id="Mono.TextTransform" version="1.0.0" />
<package id="mssql.XliffParser" version="0.5.3" />
<package id="mssql.ResX" version="0.2.0" />

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//

View File

@@ -1,5 +1,5 @@
// WARNING:
// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0
// This file was generated by the Microsoft DataWarehouse String Resource Tool 5.0.0.0
// from information in sr.strings
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
//