|
|
|
@ -30,7 +30,7 @@ public static class ReplaceHelper |
|
|
|
private static void RenameTemplate(string sourcePath, string oldCompanyName, string oldProjectName, string companyName, string projectName, string replaceSuffix) |
|
|
|
{ |
|
|
|
RenameAllDirectories(sourcePath, oldCompanyName, oldProjectName, companyName, projectName); |
|
|
|
|
|
|
|
|
|
|
|
RenameAllFileNameAndContent(sourcePath, oldCompanyName, oldProjectName, companyName, projectName, replaceSuffix); |
|
|
|
} |
|
|
|
|
|
|
|
@ -174,12 +174,12 @@ public static class ReplaceHelper |
|
|
|
|
|
|
|
private static string CustomReplace(this string content, string oldCompanyName, string oldProjectName, string companyName, string projectName) |
|
|
|
{ |
|
|
|
var result = content.ReplacePackageReferenceBasicManagement(); |
|
|
|
content.ReplacePackageReferenceLanguageManagement(); |
|
|
|
content.ReplacePackageReferenceFileManagement(); |
|
|
|
content.ReplacePackageReferenceDataDictionaryManagement(); |
|
|
|
content.ReplacePackageReferenceNotificationManagement(); |
|
|
|
content.ReplacePackageReferenceCore(); |
|
|
|
var result = content.ReplacePackageReferenceBasicManagement() |
|
|
|
.ReplacePackageReferenceLanguageManagement() |
|
|
|
.ReplacePackageReferenceFileManagement() |
|
|
|
.ReplacePackageReferenceDataDictionaryManagement() |
|
|
|
.ReplacePackageReferenceNotificationManagement() |
|
|
|
.ReplacePackageReferenceCore(); |
|
|
|
|
|
|
|
result = result |
|
|
|
.Replace(oldCompanyName, companyName) |
|
|
|
@ -191,12 +191,12 @@ public static class ReplaceHelper |
|
|
|
|
|
|
|
private static string CustomReplace(this string content, string oldCompanyName, string oldProjectName, string oldModuleName, string companyName, string projectName, string moduleName) |
|
|
|
{ |
|
|
|
var result = content.ReplacePackageReferenceBasicManagement(); |
|
|
|
content.ReplacePackageReferenceLanguageManagement(); |
|
|
|
content.ReplacePackageReferenceFileManagement(); |
|
|
|
content.ReplacePackageReferenceDataDictionaryManagement(); |
|
|
|
content.ReplacePackageReferenceNotificationManagement(); |
|
|
|
content.ReplacePackageReferenceCore(); |
|
|
|
var result = content.ReplacePackageReferenceBasicManagement() |
|
|
|
.ReplacePackageReferenceLanguageManagement() |
|
|
|
.ReplacePackageReferenceFileManagement() |
|
|
|
.ReplacePackageReferenceDataDictionaryManagement() |
|
|
|
.ReplacePackageReferenceNotificationManagement() |
|
|
|
.ReplacePackageReferenceCore(); |
|
|
|
|
|
|
|
result = result |
|
|
|
.Replace(oldCompanyName, companyName) |
|
|
|
@ -209,135 +209,157 @@ public static class ReplaceHelper |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceCore(this string content) |
|
|
|
{ |
|
|
|
return content.Replace("..\\..\\..\\..\\..\\aspnet-core\\frameworks\\src\\Lion.AbpPro.Core\\Lion.AbpPro.Core.csproj", "Lion.AbpPro.Core") |
|
|
|
.Replace("..\\..\\..\\..\\aspnet-core\\frameworks\\src\\Lion.AbpPro.Core\\Lion.AbpPro.Core.csproj", "Lion.AbpPro.Core") |
|
|
|
.Replace("..\\..\\..\\..\\..\\..\\aspnet-core\\shared\\Lion.AbpPro.Shared.Hosting.Microservices\\Lion.AbpPro.Shared.Hosting.Microservices.csproj", |
|
|
|
"Lion.AbpPro.Shared.Hosting.Microservices") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\shared\\Lion.AbpPro.Shared.Hosting.Microservices\\Lion.AbpPro.Shared.Hosting.Microservices.csproj", "Lion.AbpPro.Shared.Hosting.Microservices") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\shared\\Lion.AbpPro.Shared.Hosting.Gateways\\Lion.AbpPro.Shared.Hosting.Gateways.csproj", "Lion.AbpPro.Shared.Hosting.Gateways"); |
|
|
|
|
|
|
|
return content |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\frameworks\\src\\Lion.AbpPro.Core\\Lion.AbpPro.Core.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.Core\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\aspnet-core\\frameworks\\src\\Lion.AbpPro.Core\\Lion.AbpPro.Core.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.Core\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\shared\\Lion.AbpPro.Shared.Hosting.Microservices\\Lion.AbpPro.Shared.Hosting.Microservices.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.Shared.Hosting.Microservices\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\shared\\Lion.AbpPro.Shared.Hosting.Gateways\\Lion.AbpPro.Shared.Hosting.Gateways.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.Shared.Hosting.Gateways\"/>") |
|
|
|
; |
|
|
|
} |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceBasicManagement(this string content) |
|
|
|
{ |
|
|
|
return content.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Application\\Lion.AbpPro.BasicManagement.Application.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.Application") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Application.Contracts\\Lion.AbpPro.BasicManagement.Application.Contracts.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.Application.Contracts") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Domain\\Lion.AbpPro.BasicManagement.Domain.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.Domain") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Domain.Shared\\Lion.AbpPro.BasicManagement.Domain.Shared.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.Domain.Shared") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.EntityFrameworkCore\\Lion.AbpPro.BasicManagement.EntityFrameworkCore.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.EntityFrameworkCore") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.FreeSqlRepository\\Lion.AbpPro.BasicManagement.FreeSqlRepository.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.FreeSqlRepository") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.HttpApi\\Lion.AbpPro.BasicManagement.HttpApi.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.HttpApi") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.HttpApi.Client\\Lion.AbpPro.BasicManagement.HttpApi.Client.csproj", |
|
|
|
"Lion.AbpPro.BasicManagement.HttpApi.Client"); |
|
|
|
return content |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Application\\Lion.AbpPro.BasicManagement.Application.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.BasicManagement.Application\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Application.Contracts\\Lion.AbpPro.BasicManagement.Application.Contracts.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.BasicManagement.Application.Contracts\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Domain\\Lion.AbpPro.BasicManagement.Domain.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.BasicManagement.Domain\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.Domain.Shared\\Lion.AbpPro.BasicManagement.Domain.Shared.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.BasicManagement.Domain.Shared\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.EntityFrameworkCore\\Lion.AbpPro.BasicManagement.EntityFrameworkCore.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.BasicManagement.EntityFrameworkCore\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.FreeSqlRepository\\Lion.AbpPro.BasicManagement.FreeSqlRepository.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.HttpApi\\Lion.AbpPro.BasicManagement.HttpApi.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\BasicManagement\\src\\Lion.AbpPro.BasicManagement.HttpApi.Client\\Lion.AbpPro.BasicManagement.HttpApi.Client.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi.Client\"/>"); |
|
|
|
} |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceDataDictionaryManagement(this string content) |
|
|
|
{ |
|
|
|
return content.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Application\\Lion.AbpPro.DataDictionaryManagement.Application.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.Application") |
|
|
|
return content |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Application\\Lion.AbpPro.DataDictionaryManagement.Application.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.DataDictionaryManagement.Application\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.Application.Contracts") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Domain\\Lion.AbpPro.DataDictionaryManagement.Domain.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.Domain") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Application.Contracts\\Lion.AbpPro.DataDictionaryManagement.Application.Contracts.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.DataDictionaryManagement.Application.Contracts\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Domain.Shared\\Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.Domain.Shared") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Domain\\Lion.AbpPro.DataDictionaryManagement.Domain.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.DataDictionaryManagement.Domain\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore\\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.Domain.Shared\\Lion.AbpPro.DataDictionaryManagement.Domain.Shared.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.DataDictionaryManagement.Domain.Shared\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.FreeSqlRepository\\Lion.AbpPro.DataDictionaryManagement.FreeSqlRepository.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.FreeSqlRepository") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.HttpApi\\Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.HttpApi") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore\\Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.HttpApi.Client\\Lion.AbpPro.DataDictionaryManagement.HttpApi.Client.csproj", |
|
|
|
"Lion.AbpPro.DataDictionaryManagement.HttpApi.Client"); |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.FreeSqlRepository\\Lion.AbpPro.DataDictionaryManagement.FreeSqlRepository.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.HttpApi\\Lion.AbpPro.DataDictionaryManagement.HttpApi.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\DataDictionaryManagement\\src\\Lion.AbpPro.DataDictionaryManagement.HttpApi.Client\\Lion.AbpPro.DataDictionaryManagement.HttpApi.Client.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi.Client\"/>"); |
|
|
|
} |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceFileManagement(this string content) |
|
|
|
{ |
|
|
|
return content.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Application\\Lion.AbpPro.FileManagement.Application.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.Application") |
|
|
|
return content |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Application\\Lion.AbpPro.FileManagement.Application.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FileManagement.Application\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Application.Contracts\\Lion.AbpPro.FileManagement.Application.Contracts.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.Application.Contracts") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Domain\\Lion.AbpPro.FileManagement.Domain.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.Domain") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Application.Contracts\\Lion.AbpPro.FileManagement.Application.Contracts.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FileManagement.Application.Contracts\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Domain\\Lion.AbpPro.FileManagement.Domain.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FileManagement.Domain\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Domain.Shared\\Lion.AbpPro.FileManagement.Domain.Shared.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.Domain.Shared") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.Domain.Shared\\Lion.AbpPro.FileManagement.Domain.Shared.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FileManagement.Domain.Shared\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.EntityFrameworkCore\\Lion.AbpPro.FileManagement.EntityFrameworkCore.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.EntityFrameworkCore") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.EntityFrameworkCore\\Lion.AbpPro.FileManagement.EntityFrameworkCore.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FileManagement.EntityFrameworkCore\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.FreeSqlRepository\\Lion.AbpPro.FileManagement.FreeSqlRepository.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.FreeSqlRepository") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.HttpApi\\Lion.AbpPro.FileManagement.HttpApi.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.HttpApi") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.FreeSqlRepository\\Lion.AbpPro.FileManagement.FreeSqlRepository.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository\"/>") |
|
|
|
.Replace("<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.HttpApi\\Lion.AbpPro.FileManagement.HttpApi.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.HttpApi.Client\\Lion.AbpPro.FileManagement.HttpApi.Client.csproj", |
|
|
|
"Lion.AbpPro.FileManagement.HttpApi.Client"); |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\FileManagement\\src\\Lion.AbpPro.FileManagement.HttpApi.Client\\Lion.AbpPro.FileManagement.HttpApi.Client.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi.Client\"/>"); |
|
|
|
} |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceLanguageManagement(this string content) |
|
|
|
{ |
|
|
|
return content.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Application\\Lion.AbpPro.LanguageManagement.Application.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.Application") |
|
|
|
return content |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Application\\Lion.AbpPro.LanguageManagement.Application.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.LanguageManagement.Application\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Application.Contracts\\Lion.AbpPro.LanguageManagement.Application.Contracts.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.LanguageManagement.Application.Contracts\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Application.Contracts\\Lion.AbpPro.LanguageManagement.Application.Contracts.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.Application.Contracts") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Domain\\Lion.AbpPro.LanguageManagement.Domain.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.Domain") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Domain\\Lion.AbpPro.LanguageManagement.Domain.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.LanguageManagement.Domain\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Domain.Shared\\Lion.AbpPro.LanguageManagement.Domain.Shared.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.Domain.Shared") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.Domain.Shared\\Lion.AbpPro.LanguageManagement.Domain.Shared.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.LanguageManagement.Domain.Shared\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.EntityFrameworkCore\\Lion.AbpPro.LanguageManagement.EntityFrameworkCore.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.EntityFrameworkCore") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.EntityFrameworkCore\\Lion.AbpPro.LanguageManagement.EntityFrameworkCore.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.LanguageManagement.EntityFrameworkCore\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.FreeSqlRepository\\Lion.AbpPro.LanguageManagement.FreeSqlRepository.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.FreeSqlRepository") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.HttpApi\\Lion.AbpPro.LanguageManagement.HttpApi.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.HttpApi") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.FreeSqlRepository\\Lion.AbpPro.LanguageManagement.FreeSqlRepository.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.HttpApi.Client\\Lion.AbpPro.LanguageManagement.HttpApi.Client.csproj", |
|
|
|
"Lion.AbpPro.LanguageManagement.HttpApi.Client"); |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.HttpApi\\Lion.AbpPro.LanguageManagement.HttpApi.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\LanguageManagement\\src\\Lion.AbpPro.LanguageManagement.HttpApi.Client\\Lion.AbpPro.LanguageManagement.HttpApi.Client.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi.Client\"/>"); |
|
|
|
} |
|
|
|
|
|
|
|
public static string ReplacePackageReferenceNotificationManagement(this string content) |
|
|
|
{ |
|
|
|
return content.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Application\\Lion.AbpPro.NotificationManagement.Application.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.Application") |
|
|
|
return content |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Application\\Lion.AbpPro.NotificationManagement.Application.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.NotificationManagement.Application\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Application.Contracts\\Lion.AbpPro.NotificationManagement.Application.Contracts.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.NotificationManagement.Application.Contracts\"/>") |
|
|
|
.Replace( |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Domain\\Lion.AbpPro.NotificationManagement.Domain.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.NotificationManagement.Domain\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Application.Contracts\\Lion.AbpPro.NotificationManagement.Application.Contracts.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.Application.Contracts") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Domain\\Lion.AbpPro.NotificationManagement.Domain.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.Domain") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Domain.Shared\\Lion.AbpPro.NotificationManagement.Domain.Shared.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.NotificationManagement.Domain.Shared\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.Domain.Shared\\Lion.AbpPro.NotificationManagement.Domain.Shared.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.Domain.Shared") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.EntityFrameworkCore\\Lion.AbpPro.NotificationManagement.EntityFrameworkCore.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.NotificationManagement.EntityFrameworkCore\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.EntityFrameworkCore\\Lion.AbpPro.NotificationManagement.EntityFrameworkCore.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.EntityFrameworkCore") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.FreeSqlRepository\\Lion.AbpPro.NotificationManagement.FreeSqlRepository.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.FreeSqlRepository\\Lion.AbpPro.NotificationManagement.FreeSqlRepository.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.FreeSqlRepository") |
|
|
|
.Replace("..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.HttpApi\\Lion.AbpPro.NotificationManagement.HttpApi.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.HttpApi") |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.HttpApi\\Lion.AbpPro.NotificationManagement.HttpApi.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi\"/>") |
|
|
|
.Replace( |
|
|
|
"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.HttpApi.Client\\Lion.AbpPro.NotificationManagement.HttpApi.Client.csproj", |
|
|
|
"Lion.AbpPro.NotificationManagement.HttpApi.Client"); |
|
|
|
"<ProjectReference Include=\"..\\..\\..\\..\\..\\aspnet-core\\modules\\NotificationManagement\\src\\Lion.AbpPro.NotificationManagement.HttpApi.Client\\Lion.AbpPro.NotificationManagement.HttpApi.Client.csproj\"/>", |
|
|
|
"<PackageReference Include=\"Lion.AbpPro.FreeSqlRepository.HttpApi.Client\"/>"); |
|
|
|
} |
|
|
|
} |