Skip to content

Commit 69b8e61

Browse files
deepaksa1Javad RahnamaSqlClient DevOps
authored
Rebase with main (#2693)
* eng | Add Delay sign to ref csprojs (#2684) * [Scheduled Run] Localized resource files from OneLocBuild * [Scheduled Run] Localized resource files from OneLocBuild --------- Co-authored-by: Javad Rahnama <[email protected]> Co-authored-by: SqlClient DevOps <[email protected]>
1 parent 5c0ce12 commit 69b8e61

11 files changed

+36
-9
lines changed

src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
<TargetGroup Condition="'$([MSBuild]::GetTargetFrameworkIdentifier($(TargetFramework)))'=='.NETCoreApp'">netcoreapp</TargetGroup>
1111
<Platforms>AnyCPU;x64;x86</Platforms>
1212
</PropertyGroup>
13+
<!--Generating Strong Name-->
14+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official">
15+
<SignAssembly>true</SignAssembly>
16+
<DelaySign>true</DelaySign>
17+
<KeyFile>$(SigningKeyPath)</KeyFile>
18+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
19+
</PropertyGroup>
20+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)!=Official">
21+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
22+
</PropertyGroup>
23+
1324
<ItemGroup>
1425
<Compile Include="Microsoft.Data.SqlClient.cs" />
1526
<Compile Include="Microsoft.Data.SqlClient.Manual.cs" />

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@
2121
<RootNamespace />
2222
</PropertyGroup>
2323
<!--Generating Strong Name-->
24-
<PropertyGroup Condition="$(SigningKeyPath) != ''">
24+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official">
2525
<SignAssembly>true</SignAssembly>
2626
<DelaySign>true</DelaySign>
2727
<KeyFile>$(SigningKeyPath)</KeyFile>
2828
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
2929
</PropertyGroup>
30+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)!=Official">
31+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
32+
</PropertyGroup>
3033
<PropertyGroup>
3134
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
3235
</PropertyGroup>

src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
<DocumentationFile>$(OutputPath)\Microsoft.Data.SqlClient.xml</DocumentationFile>
88
<Product>Framework $(BaseProduct)</Product>
99
<Configurations>Debug;Release;</Configurations>
10+
</PropertyGroup>
11+
<!--Generating Strong Name-->
12+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official">
13+
<SignAssembly>true</SignAssembly>
14+
<DelaySign>true</DelaySign>
15+
<KeyFile>$(SigningKeyPath)</KeyFile>
16+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
17+
</PropertyGroup>
18+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)!=Official">
19+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
1020
</PropertyGroup>
1121
<ItemGroup>
1222
<Compile Include="Microsoft.Data.SqlClient.cs" />

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@
1919
<DefineConstants>$(DefineConstants);NETFRAMEWORK;</DefineConstants>
2020
</PropertyGroup>
2121
<!--Generating Strong Name-->
22-
<PropertyGroup Condition="$(SigningKeyPath) != ''">
22+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)==Official">
2323
<SignAssembly>true</SignAssembly>
2424
<DelaySign>true</DelaySign>
2525
<KeyFile>$(SigningKeyPath)</KeyFile>
2626
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
2727
</PropertyGroup>
28+
<PropertyGroup Condition="$(CDP_BUILD_TYPE)!=Official">
29+
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
30+
</PropertyGroup>
2831
<!-- Override debugtype=portable in Directory.Build.props for netfx -->
2932
<PropertyGroup>
3033
<DebugType>full</DebugType>

src/Microsoft.Data.SqlClient/src/Resources/Strings.de.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>Das Zertifikat ist während der Überprüfung des Zertifikats nicht verfügbar.</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>Das vom Server bereitgestellte Zertifikat stimmt nicht mit dem Zertifikat überein, das über die ServerCertificate-Option bereitgestellt wurde.</value>
47424742
</data>
47434743
</root>

src/Microsoft.Data.SqlClient/src/Resources/Strings.es.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>El certificado no está disponible al validar el certificado.</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>El certificado proporcionado por el servidor no coincide con el certificado proporcionado por la opción ServerCertificate.</value>
47424742
</data>
47434743
</root>

src/Microsoft.Data.SqlClient/src/Resources/Strings.fr.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>Certificat non disponible lors de sa validation.</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>Le certificat fourni par le serveur ne correspond pas au certificat fourni par l’option ServerCertificate.</value>
47424742
</data>
47434743
</root>

src/Microsoft.Data.SqlClient/src/Resources/Strings.ko.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>인증서의 유효성을 검사하는 동안에는 인증서를 사용할 수 없습니다.</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>서버에서 제공하는 인증서가 ServerCertificate 옵션에서 제공하는 인증서와 일치하지 않습니다.</value>
47424742
</data>
47434743
</root>

src/Microsoft.Data.SqlClient/src/Resources/Strings.ru.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>Сертификат недоступен при проверке сертификата.</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>Сертификат, предоставленный сервером, не совпадает с сертификатом, указанным в параметре ServerCertificate.</value>
47424742
</data>
47434743
</root>

src/Microsoft.Data.SqlClient/src/Resources/Strings.zh-Hans.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,6 +4738,6 @@
47384738
<value>验证证书时证书不可用。</value>
47394739
</data>
47404740
<data name="SQL_RemoteCertificateDoesNotMatchServerCertificate" xml:space="preserve">
4741-
<value>The certificate provided by the server does not match the certificate provided by the ServerCertificate option.</value>
4741+
<value>服务器提供的证书与 ServerCertificate 选项提供的证书不匹配。</value>
47424742
</data>
47434743
</root>

0 commit comments

Comments
 (0)