mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -05:00
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:
@@ -4,11 +4,6 @@ steps:
|
|||||||
inputs:
|
inputs:
|
||||||
useGlobalJson: true
|
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
|
- task: BatchScript@1
|
||||||
displayName: 'Run script build.cmd'
|
displayName: 'Run script build.cmd'
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -643,7 +643,7 @@ Task("SRGen")
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Run 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);
|
srgenPath, outputResx, outputCs, projectName, projectNameSpace, projectStrings);
|
||||||
Information("{0}", dotnetcli);
|
Information("{0}", dotnetcli);
|
||||||
Information("{0}", dotnetArgs);
|
Information("{0}", dotnetArgs);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<packages>
|
<packages>
|
||||||
<package id="Cake" version="0.37.0" />
|
<package id="Cake" version="0.37.0" />
|
||||||
<package id="Newtonsoft.Json" version="13.0.1" />
|
<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="Mono.TextTransform" version="1.0.0" />
|
||||||
<package id="mssql.XliffParser" version="0.5.3" />
|
<package id="mssql.XliffParser" version="0.5.3" />
|
||||||
<package id="mssql.ResX" version="0.2.0" />
|
<package id="mssql.ResX" version="0.2.0" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// WARNING:
|
// 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
|
// from information in sr.strings
|
||||||
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user