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
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
2 changed files with
4 additions and
2 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/LIbs/InstallLibsService.cs
-
framework/src/Volo.Abp.Core/Volo.Abp.Core.csproj
|
|
|
@ -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()) |
|
|
|
{ |
|
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
<Import Project="..\..\..\common.props" /> |
|
|
|
|
|
|
|
<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> |
|
|
|
<WarningsAsErrors>Nullable</WarningsAsErrors> |
|
|
|
<AssemblyName>Volo.Abp.Core</AssemblyName> |
|
|
|
|