Skip to content

Commit

Permalink
Merge pull request #2972 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
JeffreySu authored Dec 14, 2023
2 parents 2f757e5 + bb97969 commit 2448d6a
Show file tree
Hide file tree
Showing 29 changed files with 316 additions and 157 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>3.0.1</Version>
<AssemblyName>Senparc.Weixin.MP.Sample.CommonService</AssemblyName>
<RootNamespace>Senparc.Weixin.MP.Sample.CommonService</RootNamespace>
<Description>此项目是 Sample.Net6 下启动项目</Description>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Properties\**" />
<EmbeddedResource Remove="Properties\**" />
<None Remove="Properties\**" />
</ItemGroup>

<ItemGroup>
<None Remove="packages.config" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Senparc.NeuChar" Version="2.4.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.13.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
<PackageReference Include="System.Diagnostics.FileVersionInfo" Version="4.3.0" />
<PackageReference Include="ZXing.Net" Version="0.16.9" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Senparc.WebSocket" Version="0.18.0" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="0.9.0" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.14.0" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.16.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.17.2" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.2.0" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.18.1" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.17.2" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sample.netcore", "Sample.ne
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docker", "Docker", "{DCF86D54-CF96-4C69-9385-7AA62B399104}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.Weixin.NetCore3Sample.CommonService", "..\Senparc.Weixin.Sample.CommonService\Senparc.Weixin.NetCore3Sample.CommonService.csproj", "{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.Weixin.MP.Sample.Consoles", "Senparc.Weixin.MP.Sample.Consoles\Senparc.Weixin.MP.Sample.Consoles.csproj", "{1E843726-DB24-464D-A6A9-5607B197D807}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Senparc.Weixin.Net8SampleForConsole.CommonService", "Y:\Senparc 项目\WeiXinMPSDK\Samples\All\Senparc.Weixin.Sample.CommonService\Senparc.Weixin.Net8SampleForConsole.CommonService.csproj", "{E646F86A-065D-4991-9E96-6E1346E904B1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -24,24 +24,6 @@ Global
Test|x86 = Test|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|x64.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|x64.Build.0 = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|x86.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Debug|x86.Build.0 = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|Any CPU.Build.0 = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|x64.ActiveCfg = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|x64.Build.0 = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|x86.ActiveCfg = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Release|x86.Build.0 = Release|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|Any CPU.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|Any CPU.Build.0 = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|x64.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|x64.Build.0 = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|x86.ActiveCfg = Debug|Any CPU
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0}.Test|x86.Build.0 = Debug|Any CPU
{1E843726-DB24-464D-A6A9-5607B197D807}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E843726-DB24-464D-A6A9-5607B197D807}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E843726-DB24-464D-A6A9-5607B197D807}.Debug|x64.ActiveCfg = Debug|Any CPU
Expand All @@ -60,13 +42,31 @@ Global
{1E843726-DB24-464D-A6A9-5607B197D807}.Test|x64.Build.0 = Debug|Any CPU
{1E843726-DB24-464D-A6A9-5607B197D807}.Test|x86.ActiveCfg = Debug|Any CPU
{1E843726-DB24-464D-A6A9-5607B197D807}.Test|x86.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|x64.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|x64.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|x86.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Debug|x86.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|Any CPU.Build.0 = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|x64.ActiveCfg = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|x64.Build.0 = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|x86.ActiveCfg = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Release|x86.Build.0 = Release|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|Any CPU.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|Any CPU.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|x64.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|x64.Build.0 = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|x86.ActiveCfg = Debug|Any CPU
{E646F86A-065D-4991-9E96-6E1346E904B1}.Test|x86.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{2C90AE7E-B6DE-4C3A-AF9A-96859D529CF0} = {35139CB3-610E-4922-98AD-08A5D12BFC35}
{1E843726-DB24-464D-A6A9-5607B197D807} = {35139CB3-610E-4922-98AD-08A5D12BFC35}
{E646F86A-065D-4991-9E96-6E1346E904B1} = {35139CB3-610E-4922-98AD-08A5D12BFC35}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {DC7AD3EC-AB37-497E-925B-DCD5129FE6D3}
Expand Down
81 changes: 80 additions & 1 deletion Samples/All/console/Senparc.Weixin.MP.Sample.Consoles/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,87 @@ and limitations under the License.
创建标识:Senparc - 20190108
修改标识:Senparc - 20221214
修改描述:升级至 .NET 8.0
----------------------------------------------------------------*/

using System;
using Microsoft.AspNetCore.Builder.Internal;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Senparc.CO2NET;
using Senparc.Weixin.Entities;
using Senparc.Weixin.RegisterServices;
using Senparc.Weixin.Sample.CommonService.CustomMessageHandler;


var builder = new ConfigurationBuilder();
builder.AddJsonFile("appsettings.json", false, false);
Console.WriteLine("完成 appsettings.json 添加");

var config = builder.Build();
Console.WriteLine("完成 ServiceCollection 和 ConfigurationBuilder 初始化");

//更多绑定操作参见:https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-2.2
var senparcSetting = new SenparcSetting();
var senparcWeixinSetting = new SenparcWeixinSetting();
config.GetSection("SenparcSetting").Bind(senparcSetting);
config.GetSection("SenparcWeixinSetting").Bind(senparcWeixinSetting);

var services = new ServiceCollection();
services.AddMemoryCache();//使用本地缓存必须添加


#region 添加微信配置(一行代码)

//Senparc.Weixin 注册(必须)
services.AddSenparcWeixinServices(config);

#endregion

var app = builder.Build();

#region 启用微信配置(一句代码)

//手动获取配置信息可使用以下方法
//var senparcWeixinSetting = app.Services.GetService<IOptions<SenparcWeixinSetting>>()!.Value;

app.UseSenparcWeixin();

//启用微信配置(必须)
var registerService = app.UseSenparcWeixin(app.Environment,
null /* 不为 null 则覆盖 appsettings 中的 SenpacSetting 配置*/,
null /* 不为 null 则覆盖 appsettings 中的 SenpacWeixinSetting 配置*/,
register => { /* CO2NET 全局配置 */ },
(register, weixinSetting) =>
{
//注册公众号信息(可以执行多次,注册多个公众号)
register.RegisterMpAccount(weixinSetting, "【盛派网络小助手】公众号");
});

#region 使用 MessageHadler 中间件,用于取代创建独立的 Controller

//MessageHandler 中间件介绍:https://www.cnblogs.com/szw/p/Wechat-MessageHandler-Middleware.html
//使用公众号的 MessageHandler 中间件(不再需要创建 Controller)
app.UseMessageHandlerForMp("/WeixinAsync", CustomMessageHandler.GenerateMessageHandler, options =>
{
//获取默认微信配置
var weixinSetting = Senparc.Weixin.Config.SenparcWeixinSetting;

//[必须] 设置微信配置
options.AccountSettingFunc = context => weixinSetting;

//[可选] 设置最大文本长度回复限制(超长后会调用客服接口分批次回复)
options.TextResponseLimitOptions = new TextResponseLimitOptions(2048, weixinSetting.WeixinAppId);
});

#endregion

#endregion



using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
Expand Down Expand Up @@ -93,7 +172,7 @@ static void Main(string[] args)
.UseSenparcGlobal();

Console.WriteLine("完成 RegisterService.Start().UseSenparcGlobal() 启动设置");
Console.WriteLine($"设定程序目录为:{Senparc.CO2NET.Config.RootDictionaryPath}");
Console.WriteLine($"设定程序目录为:{Senparc.CO2NET.Config.RootDirectoryPath}");

#region CO2NET 全局配置

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="Senparc.WebSocket" Version="0.17.1" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="0.8.1" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.13.1" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.15.1" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.18.2" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.14.2" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="0.6.2-beta1" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.15.3-beta3" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.15.3" />
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Senparc.WebSocket" Version="0.18.0" />
<PackageReference Include="Senparc.Weixin.Cache.CsRedis" Version="0.9.0" />
<PackageReference Include="Senparc.Weixin.Cache.Memcached" Version="2.14.0" />
<PackageReference Include="Senparc.Weixin.Cache.Redis" Version="2.16.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.Open" Version="4.17.2" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.13.0" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.2.0" />
<PackageReference Include="Senparc.Weixin.Work" Version="3.18.1" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.17.2" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Senparc.Weixin.Sample.CommonService\Senparc.Weixin.NetCore3Sample.CommonService.csproj" />
<ProjectReference Include="Y:\Senparc 项目\WeiXinMPSDK\Samples\All\Senparc.Weixin.Sample.CommonService\Senparc.Weixin.Net8SampleForConsole.CommonService.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Senparc.CO2NET.WebApi" Version="1.5.0" />
<PackageReference Include="Senparc.CO2NET.WebApi" Version="1.5.1" />
<PackageReference Include="Senparc.NeuChar.App" Version="1.4.0" />
<PackageReference Include="Senparc.NeuChar.AspNet" Version="1.4.0" />

Expand Down
2 changes: 0 additions & 2 deletions Samples/MP/Senparc.Weixin.Sample.MP/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using Senparc.Weixin.MP.MessageHandlers.Middleware;

var builder = WebApplication.CreateBuilder(args);

// Add services to the container.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!--引用 Nuget 包-->
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.1" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.MP.Middleware" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.13.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!--引用 Nuget 包-->
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.1" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.13.0" />
<PackageReference Include="Senparc.Weixin.TenPay" Version="1.13.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<!--引用 Nuget 包-->
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.1" />
<PackageReference Include="Senparc.Weixin.MP" Version="16.20.3" />
<PackageReference Include="Senparc.Weixin.MP.MVC" Version="7.13.0" />
<PackageReference Include="Senparc.Weixin.TenpayV3" Version="1.2.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ItemGroup>
<PackageReference Include="Senparc.Weixin.AspNet" Version="1.1.0" />
<PackageReference Include="Senparc.Weixin.TenPayV3" Version="1.2.0" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.17.1" />
<PackageReference Include="Senparc.Weixin.WxOpen" Version="3.17.2" />
<PackageReference Include="Senparc.Weixin.WxOpen.Middleware" Version="1.1.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;netcoreapp3.1;net8.0</TargetFrameworks>
<Version>0.18.0</Version>
<Version>0.18.1</Version>
<AssemblyName>Senparc.WebSocket</AssemblyName>
<RootNamespace>Senparc.WebSocket</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -112,7 +112,7 @@
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Senparc.CO2NET" Version="2.3.0" />
<PackageReference Include="Senparc.CO2NET" Version="2.3.1" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
<AssemblyName>Senparc.Weixin.AspNet</AssemblyName>
<RootNamespace>Senparc.Weixin.AspNet</RootNamespace>
<!--<OutputType>Library</OutputType>-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>0.9.0</Version>
<Version>0.9.1</Version>
<AssemblyName>Senparc.Weixin.Cache.CsRedis</AssemblyName>
<RootNamespace>Senparc.Weixin.Cache.CsRedis</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -61,7 +61,7 @@
<ItemGroup>
<!--<PackageReference Include="Senparc.Weixin.Cache.Redis.RedLock" Version="0.1.0" />-->
<!--<PackageReference Include="BinaryFormatter" Version="2.1.4" />-->
<PackageReference Include="Senparc.CO2NET.Cache.CsRedis" Version="1.2.0" />
<PackageReference Include="Senparc.CO2NET.Cache.CsRedis" Version="1.2.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Senparc.Weixin\Senparc.Weixin\Senparc.Weixin.net8.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>2.14.0</Version>
<Version>2.14.1</Version>
<AssemblyName>Senparc.Weixin.Cache.Memcached</AssemblyName>
<RootNamespace>Senparc.Weixin.Cache.Memcached</RootNamespace>
<Description>
Expand Down Expand Up @@ -143,7 +143,7 @@
<Compile Remove="MamcachedCacheLock.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Senparc.CO2NET.Cache.Memcached" Version="4.2.0" />
<PackageReference Include="Senparc.CO2NET.Cache.Memcached" Version="4.2.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Senparc.Weixin\Senparc.Weixin\Senparc.Weixin.net8.csproj" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>2.16.0</Version>
<Version>2.16.1</Version>
<AssemblyName>Senparc.Weixin.Cache.Redis</AssemblyName>
<RootNamespace>Senparc.Weixin.Cache.Redis</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -133,7 +133,7 @@
</ItemGroup>
<ItemGroup>
<!--<PackageReference Include="BinaryFormatter" Version="2.1.4" />-->
<PackageReference Include="Senparc.CO2NET.Cache.Redis" Version="4.2.0" />
<PackageReference Include="Senparc.CO2NET.Cache.Redis" Version="4.2.1" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
<!--<PackageReference Include="StackExchange.Redis" Version="1.2.6" />-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;netstandard2.0;netstandard2.1;netcoreapp3.1;net8.0</TargetFrameworks>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
<AssemblyName>Senparc.Weixin.MP.Middleware</AssemblyName>
<RootNamespace>Senparc.Weixin.MP.Middleware</RootNamespace>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
Expand Down
Loading

0 comments on commit 2448d6a

Please sign in to comment.