Skip to content

Commit 6654e67

Browse files
Rev to 2.0; Fix nuget dependencies. (#82)
1 parent 38c9f19 commit 6654e67

7 files changed

+27
-21
lines changed

src/SqlSessionStateProviderAsync/Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
</ItemGroup>
9393
<ItemGroup>
9494
<PackageReference Include="Microsoft.Data.SqlClient">
95-
<Version>5.1.0</Version>
95+
<Version>5.0.0</Version>
9696
</PackageReference>
9797
</ItemGroup>
9898
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

src/packages/CosmosDBSessionStateProviderAsync.nupkg/Microsoft.AspNet.SessionState.CosmosDBSessionStateProviderAsync.nuspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<dependencies>
2222
<dependency id="Microsoft.AspNet.SessionState.SessionStateModule" version="$SessionStateModuleNuGetPackageVersion$" />
2323
<dependency id="Microsoft.Azure.DocumentDB" version="$DocumentDBNuGetPackageVersion$" />
24-
</dependencies>
24+
<dependency id="System.Text.Json" version="$SystemTextJsonPackageVersion$" />
25+
</dependencies>
2526
</metadata>
2627
</package>

src/packages/SqlSessionStateProviderAsync.nupkg/Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.nuspec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
<authors>Microsoft</authors>
77
<owners>Microsoft</owners>
88
<copyright>&#169; Microsoft Corporation. All rights reserved.</copyright>
9-
<dependencies>
10-
<dependency id="Microsoft.AspNet.SessionState.SessionStateModule" version="$SessionStateModuleNuGetPackageVersion$" />
11-
</dependencies>
129
<title>Microsoft ASP.NET Async SqlSessionState Provider</title>
1310
<description>In .Net 4.6.2, asp.net enables developer plug in async version of SessionState module which is a good fit for the non-in-memory SessionState data store. This SessionState provider uses SQL Server as the data store and leverages async database operation to provide better scability.</description>
1411
<summary>Async version SqlSessionState provider</summary>
@@ -20,5 +17,9 @@
2017
<requireLicenseAcceptance>true</requireLicenseAcceptance>
2118
<readme>docs\Readme.md</readme>
2219
<tags>ASP.NET Async SessionState Provider</tags>
20+
<dependencies>
21+
<dependency id="Microsoft.AspNet.SessionState.SessionStateModule" version="$SessionStateModuleNuGetPackageVersion$" />
22+
<dependency id="Microsoft.Data.SqlClient" version="$MicrosoftDataSqlClientPackageVersion$" />
23+
</dependencies>
2324
</metadata>
2425
</package>

tools/CosmosDBSessionStateProviderAsync.settings.targets

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<Project DefaultTargets="UnitTest" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22

33
<PropertyGroup>
4-
<BuildQuality Condition="'$(BuildQuality)' == ''">rtm</BuildQuality>
5-
<VersionMajor>1</VersionMajor>
6-
<VersionMinor>1</VersionMinor>
4+
<BuildQuality Condition="'$(BuildQuality)' == ''">preview1</BuildQuality>
5+
<VersionMajor>2</VersionMajor>
6+
<VersionMinor>0</VersionMinor>
77
<VersionRelease>0</VersionRelease>
88
</PropertyGroup>
99

1010
<PropertyGroup Label="NuGet package dependencies">
11-
<SessionStateModuleNuGetPackageVersion>1.1.0</SessionStateModuleNuGetPackageVersion>
12-
<DocumentDBNuGetPackageVersion>1.15.0</DocumentDBNuGetPackageVersion>
11+
<SessionStateModuleNuGetPackageVersion>2.0.0</SessionStateModuleNuGetPackageVersion>
12+
<DocumentDBNuGetPackageVersion>3.23.0</DocumentDBNuGetPackageVersion>
13+
<SystemTextJsonPackageVersion>7.0.0</SystemTextJsonPackageVersion>
1314
</PropertyGroup>
1415

1516
<Import Project="MicrosoftAspNetSessionState.settings.targets" />

tools/MicrosoftAspNetSessionState.settings.targets

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
Release: Third for Info and Package.
2424
Update package and file without touching assembly, except for major releases.
2525
26-
Some of these are already set in each project's individual settings file.
26+
Most of the interesting ones are already set in each project's individual settings file.
2727
-->
28-
<BuildQuality Condition="'$(BuildQuality)' == ''">beta</BuildQuality>
28+
<BuildQuality Condition="'$(BuildQuality)' == ''">rtm</BuildQuality>
2929
<VersionStartYear Condition="'$(VersionStartYear)' == ''">2023</VersionStartYear>
30-
<VersionMajor Condition="'$(VersionMajor)' == ''">1</VersionMajor>
30+
<VersionMajor Condition="'$(VersionMajor)' == ''">2</VersionMajor>
3131
<VersionMinor Condition="'$(VersionMinor)' == ''">0</VersionMinor>
3232
<VersionRevision Condition="'$(VersionRevision)' == ''">0</VersionRevision>
3333
<VersionRelease Condition="'$(VersionRelease)' == ''">0</VersionRelease>
@@ -86,7 +86,9 @@
8686
NuGetPackageVersion=$(NuGetPackageVersion);
8787
NuGetPackageId=$(NuGetPackageId);
8888
SessionStateModuleNuGetPackageVersion=$(SessionStateModuleNuGetPackageVersion);
89-
DocumentDBNuGetPackageVersion=$(DocumentDBNuGetPackageVersion)
89+
MicrosoftDataSqlClientPackageVersion=$(MicrosoftDataSqlClientPackageVersion);
90+
DocumentDBNuGetPackageVersion=$(DocumentDBNuGetPackageVersion);
91+
SystemTextJsonPackageVersion=$(SystemTextJsonPackageVersion)
9092
</NuSpecProperties>
9193
</PropertyGroup>
9294
</Target>

tools/SessionStateModule.settings.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project DefaultTargets="UnitTest" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22

33
<PropertyGroup>
4-
<BuildQuality Condition="'$(BuildQuality)' == ''">rtm</BuildQuality>
5-
<VersionMajor>1</VersionMajor>
6-
<VersionMinor>1</VersionMinor>
4+
<BuildQuality Condition="'$(BuildQuality)' == ''">preview1</BuildQuality>
5+
<VersionMajor>2</VersionMajor>
6+
<VersionMinor>0</VersionMinor>
77
<VersionRelease>0</VersionRelease>
88
</PropertyGroup>
99

tools/SqlSessionStateProviderAsync.settings.targets

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<Project DefaultTargets="UnitTest" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22

33
<PropertyGroup>
4-
<BuildQuality Condition="'$(BuildQuality)' == ''">rtm</BuildQuality>
5-
<VersionMajor>1</VersionMajor>
6-
<VersionMinor>1</VersionMinor>
4+
<BuildQuality Condition="'$(BuildQuality)' == ''">preview1</BuildQuality>
5+
<VersionMajor>2</VersionMajor>
6+
<VersionMinor>0</VersionMinor>
77
<VersionRelease>0</VersionRelease>
88
</PropertyGroup>
99

1010
<PropertyGroup Label="NuGet package dependencies">
11-
<SessionStateModuleNuGetPackageVersion>1.1.0</SessionStateModuleNuGetPackageVersion>
11+
<SessionStateModuleNuGetPackageVersion>2.0.0</SessionStateModuleNuGetPackageVersion>
12+
<MicrosoftDataSqlClientPackageVersion>5.0.0</MicrosoftDataSqlClientPackageVersion>
1213
</PropertyGroup>
1314

1415
<Import Project="MicrosoftAspNetSessionState.settings.targets" />

0 commit comments

Comments
 (0)