1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<Project Sdk =" Microsoft.NET.Sdk" >
2- <PropertyGroup >
3- <TargetFrameworks >net462;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks >
4- <Version >1.4.2 </Version >
5- <AssemblyName >Senparc.CO2NET.AspNet</AssemblyName >
6- <RootNamespace >Senparc.CO2NET.AspNet</RootNamespace >
7- <GeneratePackageOnBuild Condition =" '$(Configuration)' == 'Release' " >true</GeneratePackageOnBuild >
8- <Description >
3+ <PropertyGroup >
4+ <TargetFrameworks >net462;netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks >
5+ <Version >1.4.3 </Version >
6+ <AssemblyName >Senparc.CO2NET.AspNet</AssemblyName >
7+ <RootNamespace >Senparc.CO2NET.AspNet</RootNamespace >
8+ <GeneratePackageOnBuild Condition =" '$(Configuration)' == 'Release' " >true</GeneratePackageOnBuild >
9+ <Description >
910 Senparc.CO2NET.AspNet 库
1011
1112 Senparc.CO2NET 开源项目:
1213 https://github.com/Senparc/Senparc.CO2NET
1314 </Description >
14- <Copyright >Senparc Copyright © 2004~2024</Copyright >
15- <PackageTags >.NET Core,.NET Framework,公共,基础库,CO2NET,ASP.NET</PackageTags >
16- <Authors >Senparc</Authors >
17- <Owners >Senparc</Owners >
18- <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
19- <ProjectUrl >https://github.com/Senparc/Senparc.CO2NET</ProjectUrl >
20- <Title >Senparc.CO2NET.dll</Title >
21- <Summary >Senparc.CO2NET.AspNet 库</Summary >
22- <PackageProjectUrl >https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl >
23- <PackageIcon >icon.jpg</PackageIcon >
24- <PackageReleaseNotes >
15+ <Copyright >Senparc Copyright © 2004~2024</Copyright >
16+ <PackageTags >.NET Core,.NET Framework,公共,基础库,CO2NET,ASP.NET</PackageTags >
17+ <Authors >Senparc</Authors >
18+ <Owners >Senparc</Owners >
19+ <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
20+ <ProjectUrl >https://github.com/Senparc/Senparc.CO2NET</ProjectUrl >
21+ <Title >Senparc.CO2NET.dll</Title >
22+ <Summary >Senparc.CO2NET.AspNet 库</Summary >
23+ <PackageProjectUrl >https://github.com/Senparc/Senparc.CO2NET</PackageProjectUrl >
24+ <PackageIcon >icon.jpg</PackageIcon >
25+ <PackageReleaseNotes >
2526 v0.1.0 构建基础代码,从 Senparc.CO2NET 分离 ASP.NET (以及 ASP.NET Core)代码
2627 v0.4.300.4 提供 GetRequestMemoryStreamAsync() 异步方法
2728 v1.0.1 更新 UseSenparcGlobal 参数输入方式
3031 2、添加 .NET 6.0 / 7.0 依赖
3132 v1.3.0 升级到 .NET 8.0
3233 v1.4.0 .NET 6.0 和 .NET 8.0 程序集不再依赖 Microsoft.AspNetCore.Hosting.Abstractions 和 Microsoft.AspNetCore.Http.Abstractions
34+ [2024-09-11] v1.4.3 更新 Cache, remove InsertToCache(), add Count(prefix)
3335</PackageReleaseNotes >
34- <RepositoryUrl >https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl >
35- <Configurations >Debug;Release;Test</Configurations >
36- </PropertyGroup >
37- <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
38- <OutputPath >..\BuildOutPut</OutputPath >
39- <DefineConstants >TRACE;RELEASE</DefineConstants >
40- </PropertyGroup >
41- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86'" >
42- <OutputPath >..\BuildOutPut</OutputPath >
43- <DefineConstants >$(DefineConstants);RELEASE</DefineConstants >
44- <DocumentationFile >..\BuildOutPut\Senparc.CO2NET.AspNet.xml</DocumentationFile >
45- <Optimize >true</Optimize >
46- <DebugType >pdbonly</DebugType >
47- <ErrorReport >prompt</ErrorReport >
48- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
49- </PropertyGroup >
50- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'" >
51- <OutputPath >..\BuildOutPut\</OutputPath >
52- <DocumentationFile >..\BuildOutPut\net462\Senparc.CO2NET.AspNet..xml</DocumentationFile >
53- </PropertyGroup >
54- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'" >
55- <OutputPath >..\BuildOutPut\</OutputPath >
56- <DocumentationFile >..\BuildOutPut\netstandard2.0\Senparc.CO2NET.AspNet.xml</DocumentationFile >
57- </PropertyGroup >
58- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'" >
59- <OutputPath >..\BuildOutPut\</OutputPath >
60- <DocumentationFile >..\BuildOutPut\netstandard2.1\Senparc.CO2NET.AspNet.xml</DocumentationFile >
61- </PropertyGroup >
62- <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'" >
63- <OutputPath >..\BuildOutPut\</OutputPath >
64- <DocumentationFile >..\BuildOutPut\net8.0\Senparc.CO2NET.AspNet.xml</DocumentationFile >
65- </PropertyGroup >
66- <ItemGroup >
67- <None Include =" ..\Senparc.CO2NET\icon.jpg" Pack =" true" Visible =" false" PackagePath =" " />
68- </ItemGroup >
69- <ItemGroup >
70- <ProjectReference Include =" ..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
71- <PackageReference Include =" Microsoft.Extensions.Hosting" >
72- <Version >8.0.0</Version >
73- </PackageReference >
74- </ItemGroup >
75- <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
76- <Reference Include =" System.Web" />
77- <Reference Include =" System.Web.Extensions" />
78- </ItemGroup >
79- <!-- <ItemGroup Condition="'$(TargetFramework)' != 'net462' ">
36+ <RepositoryUrl >https://github.com/Senparc/Senparc.CO2NET</RepositoryUrl >
37+ <Configurations >Debug;Release;Test</Configurations >
38+ </PropertyGroup >
39+ <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
40+ <OutputPath >..\BuildOutPut</OutputPath >
41+ <DefineConstants >TRACE;RELEASE</DefineConstants >
42+ </PropertyGroup >
43+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86'" >
44+ <OutputPath >..\BuildOutPut</OutputPath >
45+ <DefineConstants >$(DefineConstants);RELEASE</DefineConstants >
46+ <DocumentationFile >..\BuildOutPut\Senparc.CO2NET.AspNet.xml</DocumentationFile >
47+ <Optimize >true</Optimize >
48+ <DebugType >pdbonly</DebugType >
49+ <ErrorReport >prompt</ErrorReport >
50+ <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
51+ </PropertyGroup >
52+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'" >
53+ <OutputPath >..\BuildOutPut\</OutputPath >
54+ <DocumentationFile >..\BuildOutPut\net462\Senparc.CO2NET.AspNet..xml</DocumentationFile >
55+ </PropertyGroup >
56+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'" >
57+ <OutputPath >..\BuildOutPut\</OutputPath >
58+ <DocumentationFile >..\BuildOutPut\netstandard2.0\Senparc.CO2NET.AspNet.xml</DocumentationFile >
59+ </PropertyGroup >
60+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.1|AnyCPU'" >
61+ <OutputPath >..\BuildOutPut\</OutputPath >
62+ <DocumentationFile >..\BuildOutPut\netstandard2.1\Senparc.CO2NET.AspNet.xml</DocumentationFile >
63+ </PropertyGroup >
64+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0|AnyCPU'" >
65+ <OutputPath >..\BuildOutPut\</OutputPath >
66+ <DocumentationFile >..\BuildOutPut\net8.0\Senparc.CO2NET.AspNet.xml</DocumentationFile >
67+ </PropertyGroup >
68+ <ItemGroup >
69+ <None Include =" ..\Senparc.CO2NET\icon.jpg" Pack =" true" Visible =" false" PackagePath =" " />
70+ </ItemGroup >
71+ <ItemGroup >
72+ <ProjectReference Include =" ..\Senparc.CO2NET\Senparc.CO2NET.csproj" />
73+ <PackageReference Include =" Microsoft.Extensions.Hosting" >
74+ <Version >8.0.0</Version >
75+ </PackageReference >
76+ </ItemGroup >
77+ <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
78+ <Reference Include =" System.Web" />
79+ <Reference Include =" System.Web.Extensions" />
80+ </ItemGroup >
81+ <!-- <ItemGroup Condition="'$(TargetFramework)' != 'net462' ">
8082
8183 </ItemGroup>-->
82- <!-- <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" >
85- <Version >2.2.0</Version >
86- </PackageReference >
87- <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" >
88- <Version >2.2.0</Version >
89- </PackageReference >
90- </ItemGroup >
91- <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'" >
92- <PackageReference Include =" Microsoft.AspNetCore.App" />
93- </ItemGroup >
84+ <!-- <ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netstandard2.1')">-->
85+ <ItemGroup Condition =" '$(TargetFramework)' != 'net462' And '$(TargetFramework)' != 'net6.0' And '$(TargetFramework)' != 'net8.0'" >
86+ <PackageReference Include =" Microsoft.AspNetCore.Hosting.Abstractions" >
87+ <Version >2.2.0</Version >
88+ </PackageReference >
89+ <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" >
90+ <Version >2.2.0</Version >
91+ </PackageReference >
92+ </ItemGroup >
93+ <ItemGroup Condition =" '$(TargetFramework)' == 'net6.0' Or '$(TargetFramework)' == 'net8.0'" >
94+ <PackageReference Include =" Microsoft.AspNetCore.App" />
95+ </ItemGroup >
9496</Project >
0 commit comments