mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-27 01:25:42 -05:00
BatchParser target netstandard2.0 and remove Hosting dependency (#1564)
* Remove Hosting dependency from BatchParser, wip for logging replacement * netstandard2.0 and fixes * comment + cleanup * comment * fix build * Update newtonsoft * localize errors
This commit is contained in:
@@ -285,6 +285,14 @@ namespace Microsoft.SqlTools.ManagedBatchParser
|
||||
}
|
||||
}
|
||||
|
||||
public static string NullEmptyOrWhitespaceString
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.NullEmptyOrWhitespaceString);
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
public class Keys
|
||||
{
|
||||
@@ -389,6 +397,9 @@ namespace Microsoft.SqlTools.ManagedBatchParser
|
||||
public const string SqlCmd_FailedInclude = "SqlCmd_FailedInclude";
|
||||
|
||||
|
||||
public const string NullEmptyOrWhitespaceString = "NullEmptyOrWhitespaceString";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -245,4 +245,8 @@
|
||||
<value>Could not find included file {0}.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="NullEmptyOrWhitespaceString" xml:space="preserve">
|
||||
<value>Parameter contains a null, empty, or whitespace string.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -88,3 +88,5 @@ SqlCmd_PathLong = Path too long.
|
||||
|
||||
SqlCmd_FailedInclude = Could not find included file {0}.
|
||||
|
||||
NullEmptyOrWhitespaceString = Parameter contains a null, empty, or whitespace string.
|
||||
|
||||
|
||||
@@ -162,6 +162,11 @@
|
||||
<target state="new">Could not find included file {0}.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
<trans-unit id="NullEmptyOrWhitespaceString">
|
||||
<source>Parameter contains a null, empty, or whitespace string.</source>
|
||||
<target state="new">Parameter contains a null, empty, or whitespace string.</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user