diff --git a/Models/Dtos/CreateTenantDto.cs b/Models/Dtos/CreateTenantDto.cs index 610eb84..9faefcb 100644 --- a/Models/Dtos/CreateTenantDto.cs +++ b/Models/Dtos/CreateTenantDto.cs @@ -5,7 +5,7 @@ namespace Fengling.Console.Models.Dtos; public class CreateTenantDto { [Required] - public string TenantId { get; set; } = string.Empty; + public string TenantCode { get; set; } = string.Empty; [Required] public string Name { get; set; } = string.Empty; @@ -26,4 +26,16 @@ public class CreateTenantDto public string Status { get; set; } = "active"; public DateTime? ExpiresAt { get; set; } + + [MaxLength(255)] + public string? CustomDomain { get; set; } + + [MaxLength(50)] + public string? BasePath { get; set; } + + [MaxLength(500)] + public string? Logo { get; set; } + + [MaxLength(500)] + public string? H5BaseUrl { get; set; } } diff --git a/Models/Dtos/TenantDto.cs b/Models/Dtos/TenantDto.cs index 2647e93..9024e0a 100644 --- a/Models/Dtos/TenantDto.cs +++ b/Models/Dtos/TenantDto.cs @@ -1,17 +1,23 @@ +using Fengling.Platform.Domain.AggregatesModel.TenantAggregate; + namespace Fengling.Console.Models.Dtos; public class TenantDto { public long Id { get; set; } - public string TenantId { get; set; } = ""; + public string TenantCode { get; set; } = ""; public string Name { get; set; } = ""; public string ContactName { get; set; } = ""; public string ContactEmail { get; set; } = ""; public string? ContactPhone { get; set; } public int? MaxUsers { get; set; } public int UserCount { get; set; } - public string Status { get; set; } = "active"; + public TenantStatus Status { get; set; } = TenantStatus.Active; public DateTime? ExpiresAt { get; set; } public string? Description { get; set; } public DateTime CreatedAt { get; set; } + public string? CustomDomain { get; set; } + public string? BasePath { get; set; } + public string? Logo { get; set; } + public string? H5BaseUrl { get; set; } } diff --git a/Models/Dtos/TenantQueryDto.cs b/Models/Dtos/TenantQueryDto.cs index adb41d3..deb694a 100644 --- a/Models/Dtos/TenantQueryDto.cs +++ b/Models/Dtos/TenantQueryDto.cs @@ -1,3 +1,5 @@ +using Fengling.Platform.Domain.AggregatesModel.TenantAggregate; + namespace Fengling.Console.Models.Dtos; public class TenantQueryDto : PaginationQueryDto @@ -6,5 +8,5 @@ public class TenantQueryDto : PaginationQueryDto public string? TenantId { get; set; } - public string? Status { get; set; } + public TenantStatus? Status { get; set; } } diff --git a/Models/Dtos/UpdateTenantDto.cs b/Models/Dtos/UpdateTenantDto.cs index 6c806e6..31b5666 100644 --- a/Models/Dtos/UpdateTenantDto.cs +++ b/Models/Dtos/UpdateTenantDto.cs @@ -23,4 +23,16 @@ public class UpdateTenantDto public string Status { get; set; } = "active"; public DateTime? ExpiresAt { get; set; } + + [MaxLength(255)] + public string? CustomDomain { get; set; } + + [MaxLength(50)] + public string? BasePath { get; set; } + + [MaxLength(500)] + public string? Logo { get; set; } + + [MaxLength(500)] + public string? H5BaseUrl { get; set; } } diff --git a/Models/Dtos/UserDto.cs b/Models/Dtos/UserDto.cs index dcb6665..e5a6b4c 100644 --- a/Models/Dtos/UserDto.cs +++ b/Models/Dtos/UserDto.cs @@ -7,7 +7,7 @@ public class UserDto public string? Email { get; set; } public string? RealName { get; set; } public string? Phone { get; set; } - public long TenantId { get; set; } + public string TenantCode { get; set; } public string TenantName { get; set; } = ""; public List Roles { get; set; } = new(); public bool EmailConfirmed { get; set; } diff --git a/Models/Entities/ApplicationUser.cs b/Models/Entities/ApplicationUser.cs index b310b37..6999923 100644 --- a/Models/Entities/ApplicationUser.cs +++ b/Models/Entities/ApplicationUser.cs @@ -1,3 +1,4 @@ +using Fengling.Platform.Domain.AggregatesModel.TenantAggregate; using Microsoft.AspNetCore.Identity; namespace Fengling.Console.Models.Entities; diff --git a/Program.cs b/Program.cs index 21e63ae..013c573 100644 --- a/Program.cs +++ b/Program.cs @@ -9,6 +9,7 @@ using Microsoft.IdentityModel.Tokens; using System.Text; using Fengling.Console.Datas; using Fengling.Console.Models.Entities; +using Fengling.Platform.Infrastructure; using OpenIddict.Validation.AspNetCore; using YarpGateway.Data; @@ -24,6 +25,9 @@ builder.Services.AddDbContext(options => builder.Services.AddDbContext(options => options.UseNpgsql(builder.Configuration.GetConnectionString("GatewayConnection"))); +builder.Services.AddDbContext(options => + options.UseNpgsql(builder.Configuration.GetConnectionString("DefaultConnection"))); + builder.Services.AddIdentity() .AddEntityFrameworkStores() .AddDefaultTokenProviders(); @@ -40,6 +44,7 @@ builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); builder.Services.AddScoped(); +builder.Services.AddScoped(); builder.Services.AddOpenIddict() .AddCore(options => diff --git a/Services/H5LinkService.cs b/Services/H5LinkService.cs new file mode 100644 index 0000000..a2d182b --- /dev/null +++ b/Services/H5LinkService.cs @@ -0,0 +1,57 @@ +using Fengling.Console.Models.Entities; +using Fengling.Console.Repositories; +using Fengling.Platform.Domain.AggregatesModel.TenantAggregate; +using Microsoft.Extensions.Configuration; +using QRCoder; + +namespace Fengling.Console.Services; + +public interface IH5LinkService +{ + Task GenerateH5LinkAsync(long tenantId); +} + +public class H5LinkResult +{ + public string Link { get; set; } = string.Empty; + public string QrCodeBase64 { get; set; } = string.Empty; +} + +public class H5LinkService : IH5LinkService +{ + private readonly ITenantRepository _tenantRepository; + private readonly IConfiguration _configuration; + + public H5LinkService(ITenantRepository tenantRepository, IConfiguration configuration) + { + _tenantRepository = tenantRepository; + _configuration = configuration; + } + + public async Task GenerateH5LinkAsync(long tenantId) + { + var tenant = await _tenantRepository.GetByIdAsync(tenantId) + ?? throw new KeyNotFoundException($"Tenant with ID {tenantId} not found"); + + var link = GenerateLink(tenant); + var qrCodeBase64 = GenerateQrCode(link); + + return new H5LinkResult + { + Link = link, + QrCodeBase64 = qrCodeBase64 + }; + } + + private string GenerateLink(Tenant tenant) + { + var baseUrl = _configuration["AppSettings:DefaultH5BaseUrl"] ?? "https://h5.example.com"; + return $"{baseUrl.TrimEnd('/')}/{tenant.TenantCode}"; + } + + private string GenerateQrCode(string content) + { + byte[] qrCodeBytes = PngByteQRCodeHelper.GetQRCode(content, QRCodeGenerator.ECCLevel.M, 20); + return Convert.ToBase64String(qrCodeBytes); + } +} diff --git a/Services/RoleService.cs b/Services/RoleService.cs index fe4412b..10f458c 100644 --- a/Services/RoleService.cs +++ b/Services/RoleService.cs @@ -109,8 +109,8 @@ public class RoleService : IRoleService UserName = user.UserName, Email = user.Email, RealName = user.RealName, - TenantId = user.TenantInfo.Id, - TenantName = user.TenantInfo.Name, + TenantCode = user.TenantInfo.TenantCode, + TenantName = user.TenantInfo.TenantName, Roles = roles.ToList(), EmailConfirmed = user.EmailConfirmed, IsActive = !user.LockoutEnabled || user.LockoutEnd == null || user.LockoutEnd < DateTimeOffset.UtcNow, diff --git a/Services/UserService.cs b/Services/UserService.cs index 0f17713..491ab14 100644 --- a/Services/UserService.cs +++ b/Services/UserService.cs @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Identity; using System.Security.Claims; using Fengling.Console.Datas; using Fengling.Console.Models.Entities; +using Fengling.Platform.Domain.AggregatesModel.TenantAggregate; namespace Fengling.Console.Services; @@ -42,8 +43,8 @@ public class UserService( Email = user.Email, RealName = user.RealName, Phone = user.Phone, - TenantId = user.TenantInfo.Id, - TenantName = user.TenantInfo.Name, + TenantCode = user.TenantInfo.TenantCode, + TenantName = user.TenantInfo.TenantName, Roles = roles.ToList(), EmailConfirmed = user.EmailConfirmed, IsActive = !user.LockoutEnabled || user.LockoutEnd == null || user.LockoutEnd < DateTimeOffset.UtcNow, @@ -67,8 +68,8 @@ public class UserService( Email = user.Email, RealName = user.RealName, Phone = user.Phone, - TenantId = user.TenantInfo.Id, - TenantName = user.TenantInfo.Name, + TenantCode = user.TenantInfo.TenantCode, + TenantName = user.TenantInfo.TenantName, Roles = roles.ToList(), EmailConfirmed = user.EmailConfirmed, IsActive = !user.LockoutEnabled || user.LockoutEnd == null || user.LockoutEnd < DateTimeOffset.UtcNow, @@ -96,7 +97,7 @@ public class UserService( Email = dto.Email, RealName = dto.RealName, Phone = dto.Phone, - TenantInfo = new TenantInfo(tenantId, tenant?.TenantId ?? "default", tenant?.Name ?? "默认租户"), + TenantInfo = new TenantInfo(tenant!), EmailConfirmed = dto.EmailConfirmed, CreatedTime = DateTime.UtcNow }; @@ -135,8 +136,8 @@ public class UserService( Email = user.Email, RealName = user.RealName, Phone = user.Phone, - TenantId = user.TenantInfo.Id, - TenantName = user.TenantInfo.Name, + TenantCode = user.TenantInfo.TenantCode, + TenantName = user.TenantInfo.TenantName, Roles = roles.ToList(), EmailConfirmed = user.EmailConfirmed, IsActive = !user.LockoutEnabled || user.LockoutEnd == null || user.LockoutEnd < DateTimeOffset.UtcNow, @@ -183,8 +184,8 @@ public class UserService( Email = user.Email, RealName = user.RealName, Phone = user.Phone, - TenantId = user.TenantInfo.Id, - TenantName = user.TenantInfo.Name, + TenantCode = user.TenantInfo.TenantCode, + TenantName = user.TenantInfo.TenantName, Roles = roles.ToList(), EmailConfirmed = user.EmailConfirmed, IsActive = !user.LockoutEnabled || user.LockoutEnd == null || user.LockoutEnd < DateTimeOffset.UtcNow, diff --git "a/bin\\Debug/net10.0/BuildHost-net472/Microsoft.Build.Locator.dll" "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.Build.Locator.dll" new file mode 100755 index 0000000..13b1021 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.Build.Locator.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe" "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe" new file mode 100755 index 0000000..00dd99f Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe.config" "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe.config" new file mode 100755 index 0000000..f52998b --- /dev/null +++ "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.exe.config" @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/bin\\Debug/net10.0/BuildHost-net472/Microsoft.IO.Redist.dll" "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.IO.Redist.dll" new file mode 100755 index 0000000..88e63d8 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/Microsoft.IO.Redist.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/Newtonsoft.Json.dll" "b/bin\\Debug/net10.0/BuildHost-net472/Newtonsoft.Json.dll" new file mode 100755 index 0000000..1d035d6 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/Newtonsoft.Json.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Buffers.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Buffers.dll" new file mode 100755 index 0000000..f2d83c5 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Buffers.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Collections.Immutable.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Collections.Immutable.dll" new file mode 100755 index 0000000..7594b2e Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Collections.Immutable.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.CommandLine.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.CommandLine.dll" new file mode 100755 index 0000000..d0bbad5 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.CommandLine.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Memory.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Memory.dll" new file mode 100755 index 0000000..4617199 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Memory.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Numerics.Vectors.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Numerics.Vectors.dll" new file mode 100755 index 0000000..0865972 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Numerics.Vectors.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Runtime.CompilerServices.Unsafe.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Runtime.CompilerServices.Unsafe.dll" new file mode 100755 index 0000000..c5ba4e4 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Runtime.CompilerServices.Unsafe.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/System.Threading.Tasks.Extensions.dll" "b/bin\\Debug/net10.0/BuildHost-net472/System.Threading.Tasks.Extensions.dll" new file mode 100755 index 0000000..eeec928 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/System.Threading.Tasks.Extensions.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/cs/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/cs/System.CommandLine.resources.dll" new file mode 100755 index 0000000..0be3757 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/cs/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/de/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/de/System.CommandLine.resources.dll" new file mode 100755 index 0000000..bfed293 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/de/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/es/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/es/System.CommandLine.resources.dll" new file mode 100755 index 0000000..5e1c416 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/es/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/fr/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/fr/System.CommandLine.resources.dll" new file mode 100755 index 0000000..2916bdf Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/fr/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/it/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/it/System.CommandLine.resources.dll" new file mode 100755 index 0000000..1a55c94 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/it/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/ja/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/ja/System.CommandLine.resources.dll" new file mode 100755 index 0000000..c1be153 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/ja/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/ko/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/ko/System.CommandLine.resources.dll" new file mode 100755 index 0000000..bfcbbc6 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/ko/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/pl/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/pl/System.CommandLine.resources.dll" new file mode 100755 index 0000000..b9efaec Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/pl/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/pt-BR/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/pt-BR/System.CommandLine.resources.dll" new file mode 100755 index 0000000..69612cb Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/pt-BR/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/ru/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/ru/System.CommandLine.resources.dll" new file mode 100755 index 0000000..042aaf8 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/ru/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/tr/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/tr/System.CommandLine.resources.dll" new file mode 100755 index 0000000..629b98b Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/tr/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/zh-Hans/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/zh-Hans/System.CommandLine.resources.dll" new file mode 100755 index 0000000..ff8dacb Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/zh-Hans/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-net472/zh-Hant/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-net472/zh-Hant/System.CommandLine.resources.dll" new file mode 100755 index 0000000..9b9870a Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-net472/zh-Hant/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.Build.Locator.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.Build.Locator.dll" new file mode 100755 index 0000000..cafcf21 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.Build.Locator.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.deps.json" "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.deps.json" new file mode 100755 index 0000000..ed7fe7a --- /dev/null +++ "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.deps.json" @@ -0,0 +1,260 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost/4.14.0-3.25262.10": { + "dependencies": { + "Microsoft.Build.Locator": "1.6.10", + "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0-preview.23468.1", + "Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers": "3.3.4-beta1.22504.1", + "Microsoft.DotNet.XliffTasks": "9.0.0-beta.25255.5", + "Microsoft.VisualStudio.Threading.Analyzers": "17.13.2", + "Newtonsoft.Json": "13.0.3", + "Roslyn.Diagnostics.Analyzers": "3.11.0-beta1.24081.1", + "System.Collections.Immutable": "9.0.0", + "System.CommandLine": "2.0.0-beta4.24528.1" + }, + "runtime": { + "Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll": {} + }, + "resources": { + "cs/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "cs" + }, + "de/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "de" + }, + "es/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "es" + }, + "fr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "fr" + }, + "it/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "it" + }, + "ja/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "ja" + }, + "ko/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "ko" + }, + "pl/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "pl" + }, + "pt-BR/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "pt-BR" + }, + "ru/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "ru" + }, + "tr/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "tr" + }, + "zh-Hans/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "zh-Hans" + }, + "zh-Hant/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "Microsoft.Build.Locator/1.6.10": { + "runtime": { + "lib/net6.0/Microsoft.Build.Locator.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.6.10.57384" + } + } + }, + "Microsoft.CodeAnalysis.BannedApiAnalyzers/3.11.0-beta1.24081.1": {}, + "Microsoft.CodeAnalysis.NetAnalyzers/8.0.0-preview.23468.1": {}, + "Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers/3.3.4-beta1.22504.1": {}, + "Microsoft.CodeAnalysis.PublicApiAnalyzers/3.11.0-beta1.24081.1": {}, + "Microsoft.DotNet.XliffTasks/9.0.0-beta.25255.5": {}, + "Microsoft.VisualStudio.Threading.Analyzers/17.13.2": {}, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "Roslyn.Diagnostics.Analyzers/3.11.0-beta1.24081.1": { + "dependencies": { + "Microsoft.CodeAnalysis.BannedApiAnalyzers": "3.11.0-beta1.24081.1", + "Microsoft.CodeAnalysis.PublicApiAnalyzers": "3.11.0-beta1.24081.1" + } + }, + "System.Collections.Immutable/9.0.0": { + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + }, + "runtime": { + "lib/netstandard2.0/System.Collections.Immutable.dll": { + "assemblyVersion": "9.0.0.0", + "fileVersion": "9.0.24.52809" + } + } + }, + "System.CommandLine/2.0.0-beta4.24528.1": { + "dependencies": { + "System.Memory": "4.5.5" + }, + "runtime": { + "lib/netstandard2.0/System.CommandLine.dll": { + "assemblyVersion": "2.0.0.0", + "fileVersion": "2.0.24.52801" + } + }, + "resources": { + "lib/netstandard2.0/cs/System.CommandLine.resources.dll": { + "locale": "cs" + }, + "lib/netstandard2.0/de/System.CommandLine.resources.dll": { + "locale": "de" + }, + "lib/netstandard2.0/es/System.CommandLine.resources.dll": { + "locale": "es" + }, + "lib/netstandard2.0/fr/System.CommandLine.resources.dll": { + "locale": "fr" + }, + "lib/netstandard2.0/it/System.CommandLine.resources.dll": { + "locale": "it" + }, + "lib/netstandard2.0/ja/System.CommandLine.resources.dll": { + "locale": "ja" + }, + "lib/netstandard2.0/ko/System.CommandLine.resources.dll": { + "locale": "ko" + }, + "lib/netstandard2.0/pl/System.CommandLine.resources.dll": { + "locale": "pl" + }, + "lib/netstandard2.0/pt-BR/System.CommandLine.resources.dll": { + "locale": "pt-BR" + }, + "lib/netstandard2.0/ru/System.CommandLine.resources.dll": { + "locale": "ru" + }, + "lib/netstandard2.0/tr/System.CommandLine.resources.dll": { + "locale": "tr" + }, + "lib/netstandard2.0/zh-Hans/System.CommandLine.resources.dll": { + "locale": "zh-Hans" + }, + "lib/netstandard2.0/zh-Hant/System.CommandLine.resources.dll": { + "locale": "zh-Hant" + } + } + }, + "System.Memory/4.5.5": {}, + "System.Runtime.CompilerServices.Unsafe/6.0.0": {} + } + }, + "libraries": { + "Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost/4.14.0-3.25262.10": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Build.Locator/1.6.10": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DJhCkTGqy1LMJzEmG/2qxRTMHwdPc3WdVoGQI5o5mKHVo4dsHrCMLIyruwU/NSvPNSdvONlaf7jdFXnAMuxAuA==", + "path": "microsoft.build.locator/1.6.10", + "hashPath": "microsoft.build.locator.1.6.10.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.BannedApiAnalyzers/3.11.0-beta1.24081.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DH6L3rsbjppLrHM2l2/NKbnMaYd0NFHx2pjZaFdrVcRkONrV3i9FHv6Id8Dp6/TmjhXQsJVJJFbhhjkpuP1xxg==", + "path": "microsoft.codeanalysis.bannedapianalyzers/3.11.0-beta1.24081.1", + "hashPath": "microsoft.codeanalysis.bannedapianalyzers.3.11.0-beta1.24081.1.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.NetAnalyzers/8.0.0-preview.23468.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ZhIvyxmUCqb8OiU/VQfxfuAmIB4lQsjqhMVYKeoyxzSI+d7uR5Pzx3ZKoaIhPizQ15wa4lnyD6wg3TnSJ6P4LA==", + "path": "microsoft.codeanalysis.netanalyzers/8.0.0-preview.23468.1", + "hashPath": "microsoft.codeanalysis.netanalyzers.8.0.0-preview.23468.1.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers/3.3.4-beta1.22504.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-2XRlqPAzVke7Sb80+UqaC7o57OwfK+tIr+aIOxrx41RWDMeR2SBUW7kL4sd6hfLFfBNsLo3W5PT+UwfvwPaOzA==", + "path": "microsoft.codeanalysis.performancesensitiveanalyzers/3.3.4-beta1.22504.1", + "hashPath": "microsoft.codeanalysis.performancesensitiveanalyzers.3.3.4-beta1.22504.1.nupkg.sha512" + }, + "Microsoft.CodeAnalysis.PublicApiAnalyzers/3.11.0-beta1.24081.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3bYGBihvoNO0rhCOG1U9O50/4Q8suZ+glHqQLIAcKvnodSnSW+dYWYzTNb1UbS8pUS8nAUfxSFMwuMup/G5DtQ==", + "path": "microsoft.codeanalysis.publicapianalyzers/3.11.0-beta1.24081.1", + "hashPath": "microsoft.codeanalysis.publicapianalyzers.3.11.0-beta1.24081.1.nupkg.sha512" + }, + "Microsoft.DotNet.XliffTasks/9.0.0-beta.25255.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-bb0fZB5ViPscdfYeWlmtyXJMzNkgcpkV5RWmXktfV9lwIUZgNZmFotUXrdcTyZzrN7v1tQK/Y6BGnbkP9gEsXg==", + "path": "microsoft.dotnet.xlifftasks/9.0.0-beta.25255.5", + "hashPath": "microsoft.dotnet.xlifftasks.9.0.0-beta.25255.5.nupkg.sha512" + }, + "Microsoft.VisualStudio.Threading.Analyzers/17.13.2": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Qcd8IlaTXZVq3wolBnzby1P7kWihdWaExtD8riumiKuG1sHa8EgjV/o70TMjTaeUMhomBbhfdC9OPwAHoZfnjQ==", + "path": "microsoft.visualstudio.threading.analyzers/17.13.2", + "hashPath": "microsoft.visualstudio.threading.analyzers.17.13.2.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "Roslyn.Diagnostics.Analyzers/3.11.0-beta1.24081.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-reHqZCDKifA+DURcL8jUfYkMGL4FpgNt5LI0uWTS6IpM8kKVbu/kO8byZsqfhBu4wUzT3MBDcoMfzhZPdENIpg==", + "path": "roslyn.diagnostics.analyzers/3.11.0-beta1.24081.1", + "hashPath": "roslyn.diagnostics.analyzers.3.11.0-beta1.24081.1.nupkg.sha512" + }, + "System.Collections.Immutable/9.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-QhkXUl2gNrQtvPmtBTQHb0YsUrDiDQ2QS09YbtTTiSjGcf7NBqtYbrG/BE06zcBPCKEwQGzIv13IVdXNOSub2w==", + "path": "system.collections.immutable/9.0.0", + "hashPath": "system.collections.immutable.9.0.0.nupkg.sha512" + }, + "System.CommandLine/2.0.0-beta4.24528.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-Xt8tsSU8yd0ZpbT9gl5DAwkMYWLo8PV1fq2R/belrUbHVVOIKqhLfbWksbdknUDpmzMHZenBtD6AGAp9uJTa2w==", + "path": "system.commandline/2.0.0-beta4.24528.1", + "hashPath": "system.commandline.2.0.0-beta4.24528.1.nupkg.sha512" + }, + "System.Memory/4.5.5": { + "type": "package", + "serviceable": true, + "sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "path": "system.memory/4.5.5", + "hashPath": "system.memory.4.5.5.nupkg.sha512" + }, + "System.Runtime.CompilerServices.Unsafe/6.0.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==", + "path": "system.runtime.compilerservices.unsafe/6.0.0", + "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll" new file mode 100755 index 0000000..993b54f Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll.config" "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll.config" new file mode 100755 index 0000000..27bdea7 --- /dev/null +++ "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll.config" @@ -0,0 +1,605 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.runtimeconfig.json" "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.runtimeconfig.json" new file mode 100755 index 0000000..3a5998a --- /dev/null +++ "b/bin\\Debug/net10.0/BuildHost-netcore/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.runtimeconfig.json" @@ -0,0 +1,13 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + }, + "rollForward": "Major", + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false + } + } +} \ No newline at end of file diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/Newtonsoft.Json.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/Newtonsoft.Json.dll" new file mode 100755 index 0000000..87bf9aa Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/Newtonsoft.Json.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/System.Collections.Immutable.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/System.Collections.Immutable.dll" new file mode 100755 index 0000000..b182127 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/System.Collections.Immutable.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/System.CommandLine.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/System.CommandLine.dll" new file mode 100755 index 0000000..d0bbad5 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/System.CommandLine.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/cs/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/cs/System.CommandLine.resources.dll" new file mode 100755 index 0000000..0be3757 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/cs/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/de/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/de/System.CommandLine.resources.dll" new file mode 100755 index 0000000..bfed293 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/de/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/es/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/es/System.CommandLine.resources.dll" new file mode 100755 index 0000000..5e1c416 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/es/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/fr/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/fr/System.CommandLine.resources.dll" new file mode 100755 index 0000000..2916bdf Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/fr/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/it/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/it/System.CommandLine.resources.dll" new file mode 100755 index 0000000..1a55c94 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/it/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/ja/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/ja/System.CommandLine.resources.dll" new file mode 100755 index 0000000..c1be153 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/ja/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/ko/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/ko/System.CommandLine.resources.dll" new file mode 100755 index 0000000..bfcbbc6 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/ko/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/pl/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/pl/System.CommandLine.resources.dll" new file mode 100755 index 0000000..b9efaec Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/pl/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/pt-BR/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/pt-BR/System.CommandLine.resources.dll" new file mode 100755 index 0000000..69612cb Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/pt-BR/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/ru/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/ru/System.CommandLine.resources.dll" new file mode 100755 index 0000000..042aaf8 Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/ru/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/tr/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/tr/System.CommandLine.resources.dll" new file mode 100755 index 0000000..629b98b Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/tr/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/zh-Hans/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/zh-Hans/System.CommandLine.resources.dll" new file mode 100755 index 0000000..ff8dacb Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/zh-Hans/System.CommandLine.resources.dll" differ diff --git "a/bin\\Debug/net10.0/BuildHost-netcore/zh-Hant/System.CommandLine.resources.dll" "b/bin\\Debug/net10.0/BuildHost-netcore/zh-Hant/System.CommandLine.resources.dll" new file mode 100755 index 0000000..9b9870a Binary files /dev/null and "b/bin\\Debug/net10.0/BuildHost-netcore/zh-Hant/System.CommandLine.resources.dll" differ