Skip to content

Commit 8b34bbb

Browse files
committed
v2.5.1 更新 DateTimeHelper.GetDateTimeOffsetFromXml() 方法 #297 感谢 @zhaoyangguang
1 parent 9eaa5f0 commit 8b34bbb

File tree

12 files changed

+269
-289
lines changed

12 files changed

+269
-289
lines changed

src/Senparc.CO2NET.APM/Senparc.CO2NET.APM.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
4-
<Version>1.4.4</Version>
4+
<Version>1.4.5</Version>
55
<AssemblyName>Senparc.CO2NET.APM</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.APM</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>

src/Senparc.CO2NET.AspNet/Senparc.CO2NET.AspNet.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
4-
<Version>1.4.1</Version>
4+
<Version>1.4.2</Version>
55
<AssemblyName>Senparc.CO2NET.AspNet</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.AspNet</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
@@ -30,7 +30,7 @@
3030
2、添加 .NET 6.0 / 7.0 依赖
3131
v1.3.0 升级到 .NET 8.0
3232
v1.4.0 .NET 6.0 和 .NET 8.0 程序集不再依赖 Microsoft.AspNetCore.Hosting.Abstractions 和 Microsoft.AspNetCore.Http.Abstractions
33-
</PackageReleaseNotes>
33+
</PackageReleaseNotes>
3434
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
3535
<Configurations>Debug;Release;Test</Configurations>
3636
</PropertyGroup>
@@ -80,15 +80,15 @@
8080
8181
</ItemGroup>-->
8282
<!--<ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netstandard2.1')">-->
83-
<ItemGroup Condition="'$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net8.0'">
84-
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions">
83+
<ItemGroup Condition="'$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net8.0'">
84+
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions">
8585
<Version>2.2.0</Version>
8686
</PackageReference>
8787
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions">
8888
<Version>2.2.0</Version>
8989
</PackageReference>
9090
</ItemGroup>
91-
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'">
92-
<PackageReference Include="Microsoft.AspNetCore.App" />
93-
</ItemGroup>
91+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'">
92+
<PackageReference Include="Microsoft.AspNetCore.App" />
93+
</ItemGroup>
9494
</Project>

src/Senparc.CO2NET.Cache.CsRedis.RedLock/redlock-cs/src/Senparc.CO2NET.Cache.CsRedis.RedLock.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
4-
<Version>1.2.3</Version>
4+
<Version>1.2.4</Version>
55
<AssemblyName>Senparc.CO2NET.Cache.CsRedis.RedLock</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.Cache.CsRedis.RedLock</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>

src/Senparc.CO2NET.Cache.CsRedis/Senparc.CO2NET.Cache.CsRedis.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
4-
<Version>1.2.3</Version>
4+
<Version>1.2.4</Version>
55
<AssemblyName>Senparc.CO2NET.Cache.CsRedis</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.Cache.CsRedis</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Version>0.1.1</Version>
5-
<AssemblyName>Senparc.CO2NET.Cache.Dapr</AssemblyName>
6-
<RootNamespace>Senparc.CO2NET.Cache.Dapr</RootNamespace>
7-
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
8-
<Description>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net8.0</TargetFramework>
4+
<Version>0.1.2</Version>
5+
<AssemblyName>Senparc.CO2NET.Cache.Dapr</AssemblyName>
6+
<RootNamespace>Senparc.CO2NET.Cache.Dapr</RootNamespace>
7+
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
8+
<Description>
99
CONET 缓存策略 - Dapr 模块
1010

1111
CO2NET 开源项目:
1212
https://github.com/Senparc/Senparc.CO2NET
1313
</Description>
14-
<Copyright>Senparc Copyright © 2004~2024</Copyright>
15-
<PackageTags>微信,weixin,公众号,WeChat,Senparc,盛派,SDK,C#,JSSDK,微信支付,分布式,小程序,Cache,Redis,CO2NET</PackageTags>
16-
<Authors>Jeffrey Su</Authors>
17-
<Owners>Senparc</Owners>
18-
<PackageLicenseUrl>https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md</PackageLicenseUrl>
19-
<ProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</ProjectUrl>
20-
<Title>Senparc.CO2NET.Cache.Dapr.dll</Title>
21-
<Summary>Dapr Cache for CO2NET C#</Summary>
22-
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl>
23-
<PackageIcon>icon.jpg</PackageIcon>
24-
<PackageReleaseNotes>
14+
<Copyright>Senparc Copyright © 2004~2024</Copyright>
15+
<PackageTags>微信,weixin,公众号,WeChat,Senparc,盛派,SDK,C#,JSSDK,微信支付,分布式,小程序,Cache,Redis,CO2NET</PackageTags>
16+
<Authors>Jeffrey Su</Authors>
17+
<Owners>Senparc</Owners>
18+
<PackageLicenseUrl>https://github.com/JeffreySu/WeiXinMPSDK/blob/master/license.md</PackageLicenseUrl>
19+
<ProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</ProjectUrl>
20+
<Title>Senparc.CO2NET.Cache.Dapr.dll</Title>
21+
<Summary>Dapr Cache for CO2NET C#</Summary>
22+
<PackageProjectUrl>https://github.com/JeffreySu/WeiXinMPSDK</PackageProjectUrl>
23+
<PackageIcon>icon.jpg</PackageIcon>
24+
<PackageReleaseNotes>
2525
v0.1.0 创世
26-
</PackageReleaseNotes>
27-
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
28-
<Configurations>Debug;Release;Test</Configurations>
29-
</PropertyGroup>
30-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
31-
<OutputPath>..\BuildOutPut</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
</PropertyGroup>
34-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
35-
<OutputPath>..\..\BuildOutPut</OutputPath>
36-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
37-
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.Cache.Dapr.XML</DocumentationFile>
38-
<Optimize>true</Optimize>
39-
<DebugType>pdbonly</DebugType>
40-
<ErrorReport>prompt</ErrorReport>
41-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42-
</PropertyGroup>
43-
<ItemGroup>
44-
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
45-
</ItemGroup>
46-
<ItemGroup>
47-
<PackageReference Include="Dapr.Client" Version="1.13.0" />
48-
</ItemGroup>
49-
<ItemGroup>
50-
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
51-
</ItemGroup>
26+
</PackageReleaseNotes>
27+
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
28+
<Configurations>Debug;Release;Test</Configurations>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
31+
<OutputPath>..\BuildOutPut</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
35+
<OutputPath>..\..\BuildOutPut</OutputPath>
36+
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
37+
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.Cache.Dapr.XML</DocumentationFile>
38+
<Optimize>true</Optimize>
39+
<DebugType>pdbonly</DebugType>
40+
<ErrorReport>prompt</ErrorReport>
41+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42+
</PropertyGroup>
43+
<ItemGroup>
44+
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
45+
</ItemGroup>
46+
<ItemGroup>
47+
<PackageReference Include="Dapr.Client" Version="1.13.0" />
48+
</ItemGroup>
49+
<ItemGroup>
50+
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
51+
</ItemGroup>
5252
</Project>

src/Senparc.CO2NET.Cache.Memcached/Senparc.CO2NET.Cache.Memcached.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
4-
<Version>4.2.3</Version>
4+
<Version>4.2.4</Version>
55
<AssemblyName>Senparc.CO2NET.Cache.Memcached</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.Cache.Memcached</RootNamespace>
77
<Description>微信公众账号 - Memcached 模块

src/Senparc.CO2NET.Cache.Redis.RedLock/redlock-cs/src/Senparc.CO2NET.Cache.Redis.RedLock.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
4-
<Version>3.2.3</Version>
4+
<Version>3.2.4</Version>
55
<AssemblyName>Senparc.CO2NET.Cache.Redis.RedLock</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.Cache.Redis.RedLock</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>

src/Senparc.CO2NET.Cache.Redis/Senparc.CO2NET.Cache.Redis.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net462;netstandard2.0</TargetFrameworks>
4-
<Version>4.2.3</Version>
4+
<Version>4.2.4</Version>
55
<AssemblyName>Senparc.CO2NET.Cache.Redis</AssemblyName>
66
<RootNamespace>Senparc.CO2NET.Cache.Redis</RootNamespace>
77
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Lines changed: 56 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,69 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
4-
<Version>0.1.1</Version>
5-
<LangVersion>9.0</LangVersion>
6-
<AssemblyName>Senparc.CO2NET.MagicObject</AssemblyName>
7-
<RootNamespace>Senparc.CO2NET.MagicObject</RootNamespace>
8-
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
9-
<Description>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
4+
<Version>0.1.2</Version>
5+
<LangVersion>9.0</LangVersion>
6+
<AssemblyName>Senparc.CO2NET.MagicObject</AssemblyName>
7+
<RootNamespace>Senparc.CO2NET.MagicObject</RootNamespace>
8+
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
9+
<Description>
1010
Senparc.CO2NET.MagicObject 库
1111

1212
这是一个开箱即用的轻量库,让你可以方便地对操作对象进行状态管理。例如,你可以还原对当前对象的属性操作,或者设置快照,以在修改对象值之后对其进行还原。
1313

1414
Senparc.CO2NET 开源项目:
1515
https://github.com/Senparc/Senparc.CO2NET
1616
</Description>
17-
<Copyright>Senparc Copyright © 2004~2024</Copyright>
18-
<PackageTags>MagicObject,.NET Core,.NET Framework,公共,基础库,CO2NET</PackageTags>
19-
<Authors>Senparc</Authors>
20-
<Owners>Senparc</Owners>
21-
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
22-
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
23-
<Title>Senparc.CO2NET.dll</Title>
24-
<Summary>Senparc.CO2NET.MagicObject 库</Summary>
25-
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
26-
<PackageIcon>icon.jpg</PackageIcon>
27-
<PackageReleaseNotes>
17+
<Copyright>Senparc Copyright © 2004~2024</Copyright>
18+
<PackageTags>MagicObject,.NET Core,.NET Framework,公共,基础库,CO2NET</PackageTags>
19+
<Authors>Senparc</Authors>
20+
<Owners>Senparc</Owners>
21+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
22+
<ProjectUrl>https://github.com/Senparc/Senparc.CO2NET</ProjectUrl>
23+
<Title>Senparc.CO2NET.dll</Title>
24+
<Summary>Senparc.CO2NET.MagicObject 库</Summary>
25+
<PackageProjectUrl>https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl>
26+
<PackageIcon>icon.jpg</PackageIcon>
27+
<PackageReleaseNotes>
2828
v0.0.1 创世
2929
v0.1.0 将 MO.OriginalObject 和 MO.Object 属性设为 public
30-
</PackageReleaseNotes>
31-
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
32-
<Configurations>Debug;Release;Test</Configurations>
33-
</PropertyGroup>
34-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
35-
<OutputPath>..\BuildOutPut</OutputPath>
36-
<DefineConstants>TRACE;RELEASE</DefineConstants>
37-
</PropertyGroup>
38-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
39-
<OutputPath>..\BuildOutPut</OutputPath>
40-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
41-
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
42-
<Optimize>true</Optimize>
43-
<DebugType>pdbonly</DebugType>
44-
<ErrorReport>prompt</ErrorReport>
45-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
46-
</PropertyGroup>
47-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
48-
<OutputPath>..\BuildOutPut\</OutputPath>
49-
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.MagicObject..xml</DocumentationFile>
50-
</PropertyGroup>
51-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
52-
<OutputPath>..\BuildOutPut\</OutputPath>
53-
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
54-
</PropertyGroup>
55-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'">
56-
<OutputPath>..\BuildOutPut\</OutputPath>
57-
<DocumentationFile>..\BuildOutPut\netstandard2.1\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
58-
</PropertyGroup>
59-
<!--<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
30+
</PackageReleaseNotes>
31+
<RepositoryUrl>https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl>
32+
<Configurations>Debug;Release;Test</Configurations>
33+
</PropertyGroup>
34+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
35+
<OutputPath>..\BuildOutPut</OutputPath>
36+
<DefineConstants>TRACE;RELEASE</DefineConstants>
37+
</PropertyGroup>
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
39+
<OutputPath>..\BuildOutPut</OutputPath>
40+
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
41+
<DocumentationFile>..\BuildOutPut\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
42+
<Optimize>true</Optimize>
43+
<DebugType>pdbonly</DebugType>
44+
<ErrorReport>prompt</ErrorReport>
45+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
48+
<OutputPath>..\BuildOutPut\</OutputPath>
49+
<DocumentationFile>..\BuildOutPut\net462\Senparc.CO2NET.MagicObject..xml</DocumentationFile>
50+
</PropertyGroup>
51+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
52+
<OutputPath>..\BuildOutPut\</OutputPath>
53+
<DocumentationFile>..\BuildOutPut\netstandard2.0\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
54+
</PropertyGroup>
55+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'">
56+
<OutputPath>..\BuildOutPut\</OutputPath>
57+
<DocumentationFile>..\BuildOutPut\netstandard2.1\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
58+
</PropertyGroup>
59+
<!--<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'">
6060
<OutputPath>..\BuildOutPut\</OutputPath>
6161
<DocumentationFile>..\BuildOutPut\net8.0\Senparc.CO2NET.MagicObject.xml</DocumentationFile>
6262
</PropertyGroup>-->
63-
<ItemGroup>
64-
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
65-
</ItemGroup>
66-
<ItemGroup>
67-
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
68-
</ItemGroup>
63+
<ItemGroup>
64+
<None Include="..\Senparc.CO2NET\icon.jpg" Pack="true" Visible="false" PackagePath="" />
65+
</ItemGroup>
66+
<ItemGroup>
67+
<ProjectReference Include="..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
68+
</ItemGroup>
6969
</Project>

0 commit comments

Comments
 (0)