Browse Source

Fix directory reversal and update target frameworks

This may be a SDK problem, I will check it when the RC is released.
pull/23609/head
maliming 5 months ago
parent
commit
113e297596
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs
  2. 2
      framework/src/Volo.Abp.Core/Volo.Abp.Core.csproj

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs

@ -188,7 +188,9 @@ public class InstallLibsService : IInstallLibsService, ITransientDependency
} }
} }
foreach (var directoryInfo in Directory.GetDirectories(Path.Combine(directory, resourceMapping.Clean.First()), "*", SearchOption.AllDirectories).Reverse()) var directoryInfos = Directory.GetDirectories(Path.Combine(directory, resourceMapping.Clean.First()), "*", SearchOption.AllDirectories);
directoryInfos.Reverse();
foreach (var directoryInfo in directoryInfos)
{ {
if (!Directory.EnumerateFileSystemEntries(directoryInfo).Any()) if (!Directory.EnumerateFileSystemEntries(directoryInfo).Any())
{ {

2
framework/src/Volo.Abp.Core/Volo.Abp.Core.csproj

@ -4,7 +4,7 @@
<Import Project="..\..\..\common.props" /> <Import Project="..\..\..\common.props" />
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net8.0;net9.0;net10.0</TargetFrameworks> <TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors> <WarningsAsErrors>Nullable</WarningsAsErrors>
<AssemblyName>Volo.Abp.Core</AssemblyName> <AssemblyName>Volo.Abp.Core</AssemblyName>

Loading…
Cancel
Save