Skip to content

Commit 9a7899c

Browse files
authored
use scriptdom nuget (#864)
1 parent b21fc0b commit 9a7899c

File tree

7 files changed

+33
-16
lines changed

7 files changed

+33
-16
lines changed

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues" Version="5.0.0" />
2828
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Core" Version="2.2.5" />
2929
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
30+
<PackageVersion Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8817.2" />
3031
</ItemGroup>
3132
</Project>
-4.45 MB
Binary file not shown.

performance/packages.lock.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,6 +1862,7 @@
18621862
"Microsoft.AspNetCore.Http": "[2.2.2, )",
18631863
"Microsoft.Azure.WebJobs": "[3.0.33, )",
18641864
"Microsoft.Data.SqlClient": "[5.0.1, )",
1865+
"Microsoft.SqlServer.TransactSql.ScriptDom": "[161.8817.2, )",
18651866
"Newtonsoft.Json": "[13.0.2, )",
18661867
"System.Runtime.Caching": "[5.0.0, )",
18671868
"morelinq": "[3.3.2, )"
@@ -2046,6 +2047,12 @@
20462047
"Microsoft.TestPlatform.TestHost": "17.4.0"
20472048
}
20482049
},
2050+
"Microsoft.SqlServer.TransactSql.ScriptDom": {
2051+
"type": "CentralTransitive",
2052+
"requested": "[161.8817.2, )",
2053+
"resolved": "161.8817.2",
2054+
"contentHash": "3j5dQjTPLw51AvXwJTL9sXiTMTY5Y2lvdzjtV7yOEsPUSIl+P2IsxLn7KFhGGHtwr4MOsUdAWnQ3xcrpG8tTXA=="
2055+
},
20492056
"Moq": {
20502057
"type": "CentralTransitive",
20512058
"requested": "[4.18.2, )",

samples/samples-csharp/packages.lock.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,7 @@
17221722
"Microsoft.AspNetCore.Http": "[2.2.2, )",
17231723
"Microsoft.Azure.WebJobs": "[3.0.33, )",
17241724
"Microsoft.Data.SqlClient": "[5.0.1, )",
1725+
"Microsoft.SqlServer.TransactSql.ScriptDom": "[161.8817.2, )",
17251726
"Newtonsoft.Json": "[13.0.2, )",
17261727
"System.Runtime.Caching": "[5.0.0, )",
17271728
"morelinq": "[3.3.2, )"
@@ -1822,6 +1823,12 @@
18221823
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.2.0"
18231824
}
18241825
},
1826+
"Microsoft.SqlServer.TransactSql.ScriptDom": {
1827+
"type": "CentralTransitive",
1828+
"requested": "[161.8817.2, )",
1829+
"resolved": "161.8817.2",
1830+
"contentHash": "3j5dQjTPLw51AvXwJTL9sXiTMTY5Y2lvdzjtV7yOEsPUSIl+P2IsxLn7KFhGGHtwr4MOsUdAWnQ3xcrpG8tTXA=="
1831+
},
18251832
"morelinq": {
18261833
"type": "CentralTransitive",
18271834
"requested": "[3.3.2, )",

src/Microsoft.Azure.WebJobs.Extensions.Sql.csproj

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,24 @@
1919
<PackageReference Include="Microsoft.Azure.WebJobs" />
2020
<PackageReference Include="Microsoft.Data.SqlClient" />
2121
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
22+
<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" />
2223
<PackageReference Include="morelinq" />
2324
<PackageReference Include="System.Runtime.Caching" />
2425
<PackageReference Include="Newtonsoft.Json" />
2526
<PackageReference Include="Microsoft.AspNetCore.Http" />
26-
<InternalsVisibleTo Include="Microsoft.Azure.WebJobs.Extensions.Sql.Tests"
27-
Key="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8" />
28-
<InternalsVisibleTo Include="DynamicProxyGenAssembly2"
29-
Key="0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7" />
30-
<InternalsVisibleTo Include="Microsoft.Azure.WebJobs.Extensions.Sql.Performance"
31-
Key="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8" />
27+
<InternalsVisibleTo Include="Microsoft.Azure.WebJobs.Extensions.Sql.Tests" Key="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8" />
28+
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" Key="0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7" />
29+
<InternalsVisibleTo Include="Microsoft.Azure.WebJobs.Extensions.Sql.Performance" Key="0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8" />
3230
</ItemGroup>
3331

3432
<ItemGroup>
35-
<!-- ScriptDom is currently only available officially through the DacFx NuGet package. Rather
36-
than referencing DacFx
37-
for one ScriptDom API, we are getting the ScriptDom dll from the latest DacFx NuGet package. -->
38-
<Reference Include="Microsoft.SqlServer.TransactSql.ScriptDom">
39-
<HintPath>..\lib\Microsoft.SqlServer.TransactSql.ScriptDom.dll</HintPath>
40-
</Reference>
4133
<None Include="..\Images\pkgicon.png" Pack="true" PackagePath="" />
42-
<None Include="..\lib\Microsoft.SqlServer.TransactSql.ScriptDom.dll" Pack="true"
43-
PackagePath="lib/$(TargetFramework)" />
4434
<None Include="..\README.md" Pack="true" PackagePath="" />
4535
</ItemGroup>
4636
<Target Name="PackAndCopyNupkg" AfterTargets="Build">
4737
<!-- Removed the GeneratePackageOnBuild and adding this explicit Pack command to run post build
4838
and also adding the copy package to local-packages to be available for the worker extension project. -->
49-
<Exec
50-
Command="dotnet pack &quot;$(MSBuildProjectDirectory)\$(PackageId).csproj&quot; --no-build --include-symbols" />
39+
<Exec Command="dotnet pack &quot;$(MSBuildProjectDirectory)\$(PackageId).csproj&quot; --no-build --include-symbols" />
5140
<ItemGroup>
5241
<_Packages Include=".\bin\$(Configuration)\*.nupkg" />
5342
</ItemGroup>

src/packages.lock.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
"Microsoft.SourceLink.Common": "1.1.1"
8080
}
8181
},
82+
"Microsoft.SqlServer.TransactSql.ScriptDom": {
83+
"type": "Direct",
84+
"requested": "[161.8817.2, )",
85+
"resolved": "161.8817.2",
86+
"contentHash": "3j5dQjTPLw51AvXwJTL9sXiTMTY5Y2lvdzjtV7yOEsPUSIl+P2IsxLn7KFhGGHtwr4MOsUdAWnQ3xcrpG8tTXA=="
87+
},
8288
"morelinq": {
8389
"type": "Direct",
8490
"requested": "[3.3.2, )",

test/packages.lock.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,6 +1859,7 @@
18591859
"Microsoft.AspNetCore.Http": "[2.2.2, )",
18601860
"Microsoft.Azure.WebJobs": "[3.0.33, )",
18611861
"Microsoft.Data.SqlClient": "[5.0.1, )",
1862+
"Microsoft.SqlServer.TransactSql.ScriptDom": "[161.8817.2, )",
18621863
"Newtonsoft.Json": "[13.0.2, )",
18631864
"System.Runtime.Caching": "[5.0.0, )",
18641865
"morelinq": "[3.3.2, )"
@@ -1970,6 +1971,12 @@
19701971
"System.Text.Encodings.Web": "4.7.2"
19711972
}
19721973
},
1974+
"Microsoft.SqlServer.TransactSql.ScriptDom": {
1975+
"type": "CentralTransitive",
1976+
"requested": "[161.8817.2, )",
1977+
"resolved": "161.8817.2",
1978+
"contentHash": "3j5dQjTPLw51AvXwJTL9sXiTMTY5Y2lvdzjtV7yOEsPUSIl+P2IsxLn7KFhGGHtwr4MOsUdAWnQ3xcrpG8tTXA=="
1979+
},
19731980
"morelinq": {
19741981
"type": "CentralTransitive",
19751982
"requested": "[3.3.2, )",

0 commit comments

Comments
 (0)