Browse Source

Merge pull request #22748 from abpframework/liangshiwei/cli-patch

pull/22749/head
maliming 10 months ago
committed by GitHub
parent
commit
d3a3b5d11e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/PathHelper.cs

3
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Bundling/PathHelper.cs

@ -20,8 +20,9 @@ static internal class PathHelper
static internal string GetMauiBlazorAssemblyFilePath(string directory, string projectFileName)
{
return Directory.GetFiles(directory, "*.dll", SearchOption.AllDirectories).FirstOrDefault(f =>
return Directory.GetFiles(Path.Combine(directory, "bin"), "*.dll", SearchOption.AllDirectories).FirstOrDefault(f =>
!f.Contains("android") &&
!f.Contains("windows10") &&
f.EndsWith(projectFileName + ".dll", StringComparison.OrdinalIgnoreCase));
}

Loading…
Cancel
Save