diff --git a/build.proj b/build.proj index d9e0146ba7..d500f48886 100644 --- a/build.proj +++ b/build.proj @@ -34,6 +34,10 @@ The provided path should be ended to a `\` character without white spaces: Ex. C:\x86\ --> + + DebugType=portable;DebugSymbols=true;IncludeSymbols=true;SymbolPackageFormat=snupkg;PublishRepositoryUrl=true;RepositoryUrl=https://github.com/dotnet/sqlclient;RepositoryType=git;EmbedUnTrackedSources=true;Deterministic=true; + + $(NugetPackProperties);ContinuousIntegrationBuild=true; @@ -109,7 +113,7 @@ - + @@ -198,11 +202,11 @@ - + - + diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 342937a1ca..27b5f364dd 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -71,6 +71,23 @@ $(DefineConstants);ENCLAVE_SIMULATOR + + + portable + true + false + true + true + + + true + + + + + + + diff --git a/src/Microsoft.Data.SqlClient/add-ons/AzureKeyVaultProvider/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider.csproj b/src/Microsoft.Data.SqlClient/add-ons/AzureKeyVaultProvider/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider.csproj index 3f2267451e..eb08db41c2 100644 --- a/src/Microsoft.Data.SqlClient/add-ons/AzureKeyVaultProvider/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider.csproj +++ b/src/Microsoft.Data.SqlClient/add-ons/AzureKeyVaultProvider/Microsoft.Data.SqlClient.AlwaysEncrypted.AzureKeyVaultProvider.csproj @@ -16,13 +16,19 @@ MIT true + + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(GeneratedSourceFileName)')) + + + + + - diff --git a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj index 57e72c2239..7a3a8e208f 100644 --- a/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj +++ b/src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj @@ -22,9 +22,12 @@ $(NoWarn);IL2026;IL2057;IL2072;IL2075 - portable - true + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + + + + @@ -1011,7 +1014,6 @@ - diff --git a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj index f17622f303..97feee8bef 100644 --- a/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj +++ b/src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj @@ -19,9 +19,17 @@ True $(DefineConstants);NETFRAMEWORK; + + + full + $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(GeneratedSourceFileName)')) + + + + True @@ -714,7 +722,6 @@ - $(SystemTextEncodingsWebVersion) diff --git a/src/Microsoft.SqlServer.Server/Microsoft.SqlServer.Server.csproj b/src/Microsoft.SqlServer.Server/Microsoft.SqlServer.Server.csproj index dafc9a4dbe..2808094a25 100644 --- a/src/Microsoft.SqlServer.Server/Microsoft.SqlServer.Server.csproj +++ b/src/Microsoft.SqlServer.Server/Microsoft.SqlServer.Server.csproj @@ -40,9 +40,6 @@ Strings.Designer.cs - - - diff --git a/tools/props/Versions.props b/tools/props/Versions.props index 2865446903..bb332d188b 100644 --- a/tools/props/Versions.props +++ b/tools/props/Versions.props @@ -33,7 +33,7 @@ 6.35.0 4.5.1 6.0.0 - 1.1.0 + 8.0.0 diff --git a/tools/specs/Microsoft.Data.SqlClient.nuspec b/tools/specs/Microsoft.Data.SqlClient.nuspec index 7891d5a8ee..d13ae7f14b 100644 --- a/tools/specs/Microsoft.Data.SqlClient.nuspec +++ b/tools/specs/Microsoft.Data.SqlClient.nuspec @@ -9,7 +9,7 @@ MIT https://aka.ms/sqlclientproject dotnet.png - + The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: @@ -102,27 +102,22 @@ When using NuGet 3.x this package requires at least version 3.4. - - - - - diff --git a/tools/targets/GenerateNugetPackage.targets b/tools/targets/GenerateNugetPackage.targets index 5ec95be2dc..4c8cea4159 100644 --- a/tools/targets/GenerateNugetPackage.targets +++ b/tools/targets/GenerateNugetPackage.targets @@ -5,17 +5,27 @@ $(NugetPackageVersion)-debug + + + + + - + $(SqlServerPackageVersion)-debug + + + + + - + diff --git a/tools/targets/add-ons/GenerateAKVProviderNugetPackage.targets b/tools/targets/add-ons/GenerateAKVProviderNugetPackage.targets index 0f3f3d9b10..8efff4cb43 100644 --- a/tools/targets/add-ons/GenerateAKVProviderNugetPackage.targets +++ b/tools/targets/add-ons/GenerateAKVProviderNugetPackage.targets @@ -7,6 +7,6 @@ - +