Skip to content

Commit f3e5f0f

Browse files
committed
revert .csproj
1 parent 86d3844 commit f3e5f0f

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

src/c#/GeneralUpdate.Bowl/GeneralUpdate.Bowl.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
43
<LangVersion>default</LangVersion>
54
<Nullable>enable</Nullable>
65
<Description>Bowl is used to monitor whether the main program can start normally after an upgrade. If it detects that the main program crashes on startup, it will restore the backup.</Description>
@@ -15,9 +14,8 @@
1514
<PackageTags>upgrade,update</PackageTags>
1615
<PackageReleaseNotes>Bowl is used to monitor whether the main program can start normally after an upgrade. If it detects that the main program crashes on startup, it will restore the backup.</PackageReleaseNotes>
1716
<Version>9.5.10</Version>
18-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1917
<PackageIcon>bowl.jpeg</PackageIcon>
20-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
18+
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
2119
</PropertyGroup>
2220
<ItemGroup>
2321
<PackageReference Include="System.Collections.Immutable" Version="9.0.0" />

src/c#/GeneralUpdate.ClientCore/GeneralUpdate.ClientCore.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
43
<Version>9.5.10</Version>
54
<Authors>JusterZhu</Authors>
65
<Description>Provides functions related to upgrade and update programs.</Description>
@@ -18,8 +17,7 @@
1817
<RepositoryType>public</RepositoryType>
1918
<PackageTags>upgrade,update</PackageTags>
2019
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
21-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
22-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
20+
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
2321
</PropertyGroup>
2422
<ItemGroup>
2523
<Compile Include="..\GeneralUpdate.Common\Compress\CompressProvider.cs" Link="Common\CompressProvider.cs" />

src/c#/GeneralUpdate.Common/GeneralUpdate.Common.csproj

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<PropertyGroup>
33
<LangVersion>default</LangVersion>
44
<Nullable>enable</Nullable>
5-
<TargetFramework>netstandard2.0</TargetFramework>
65
<Title>GeneralUpdate.Common</Title>
76
<Authors>JusterZhu</Authors>
87
<Description>The infrastructure required to support all components is necessary, and this nuget package is essential.</Description>
@@ -16,8 +15,7 @@
1615
<PackageReleaseNotes>The infrastructure required to support all components is necessary, and this nuget package is essential.</PackageReleaseNotes>
1716
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
1817
<Version>9.5.10</Version>
19-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
20-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
18+
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
2119
</PropertyGroup>
2220
<ItemGroup>
2321
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0" />
@@ -36,4 +34,12 @@
3634
<PackagePath>./</PackagePath>
3735
</None>
3836
</ItemGroup>
37+
<PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">
38+
<IsAotCompatible>true</IsAotCompatible>
39+
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
40+
</PropertyGroup>
41+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
42+
<IsAotCompatible>false</IsAotCompatible>
43+
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
44+
</PropertyGroup>
3945
</Project>

src/c#/GeneralUpdate.Core/GeneralUpdate.Core.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
43
<OutputType>Library</OutputType>
54
<PackageId>$(AssemblyName)</PackageId>
65
<Version>9.5.10</Version>
@@ -23,8 +22,7 @@
2322
<RepositoryType>public</RepositoryType>
2423
<PackageTags>upgrade,update</PackageTags>
2524
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
26-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
27-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
25+
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
2826
</PropertyGroup>
2927
<ItemGroup>
3028
<Compile Include="..\GeneralUpdate.Common\Compress\CompressProvider.cs" Link="Common\CompressProvider.cs" />

src/c#/GeneralUpdate.Differential/GeneralUpdate.Differential.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
43
<ApplicationIcon>GeneralUpdate.ico</ApplicationIcon>
54
<PackageIcon>GeneralUpdate.png</PackageIcon>
65
<RepositoryUrl>https://github.com/JusterZhu/GeneralUpdate</RepositoryUrl>
@@ -17,8 +16,7 @@
1716
<PackageTags>upgrade,update</PackageTags>
1817
<PackageReleaseNotes>The binary differential update function is provided, but the configuration file update function is reserved.</PackageReleaseNotes>
1918
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
20-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
21-
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
19+
<TargetFrameworks>netstandard2.0;</TargetFrameworks>
2220
</PropertyGroup>
2321
<ItemGroup>
2422
<ProjectReference Include="..\GeneralUpdate.Common\GeneralUpdate.Common.csproj" />

0 commit comments

Comments
 (0)