maliming
5 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
6 changed files with
7 additions and
7 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ProjectRenameStep.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/MyProjectNameModule.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/Data/MyProjectNameDbMigrationService.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/MyProjectNameModule.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/Data/MyProjectNameDbMigrationService.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/Data/MyProjectNameDbMigrationService.cs
|
|
@ -25,8 +25,8 @@ public class ProjectRenameStep : ProjectBuildPipelineStep |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var slnFiles = context.Files.Where(f => f.Name.EndsWith(".sln")); |
|
|
var files = context.Files.Where(f => f.Name.EndsWith(".sln") || f.Name.EndsWith(".cs")); |
|
|
foreach (var file in slnFiles) |
|
|
foreach (var file in files) |
|
|
{ |
|
|
{ |
|
|
file.NormalizeLineEndings(); |
|
|
file.NormalizeLineEndings(); |
|
|
var lines = file.GetLines(); |
|
|
var lines = file.GetLines(); |
|
|
|
|
|
@ -158,7 +158,7 @@ public class MyProjectNameModule : AbpModule |
|
|
{ |
|
|
{ |
|
|
bundle.AddFiles("/blazor-global-styles.css"); |
|
|
bundle.AddFiles("/blazor-global-styles.css"); |
|
|
//You can remove the following line if you don't use Blazor CSS isolation for components
|
|
|
//You can remove the following line if you don't use Blazor CSS isolation for components
|
|
|
bundle.AddFiles("/MyCompanyName.MyProjectName.styles.css"); |
|
|
bundle.AddFiles("/MyCompanyName.MyProjectName.Blazor.Server.styles.css"); |
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
}); |
|
|
}); |
|
|
|
|
|
@ -181,7 +181,7 @@ public class MyProjectNameDbMigrationService : ITransientDependency |
|
|
throw new Exception("Solution folder not found!"); |
|
|
throw new Exception("Solution folder not found!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName"); |
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName.Blazor.Server"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private string GetSolutionDirectoryPath() |
|
|
private string GetSolutionDirectoryPath() |
|
|
|
|
|
@ -159,7 +159,7 @@ public class MyProjectNameModule : AbpModule |
|
|
{ |
|
|
{ |
|
|
bundle.AddFiles("/blazor-global-styles.css"); |
|
|
bundle.AddFiles("/blazor-global-styles.css"); |
|
|
//You can remove the following line if you don't use Blazor CSS isolation for components
|
|
|
//You can remove the following line if you don't use Blazor CSS isolation for components
|
|
|
bundle.AddFiles("/MyCompanyName.MyProjectName.styles.css"); |
|
|
bundle.AddFiles("/MyCompanyName.MyProjectName.Blazor.Server.styles.css"); |
|
|
} |
|
|
} |
|
|
); |
|
|
); |
|
|
}); |
|
|
}); |
|
|
|
|
|
@ -181,7 +181,7 @@ public class MyProjectNameDbMigrationService : ITransientDependency |
|
|
throw new Exception("Solution folder not found!"); |
|
|
throw new Exception("Solution folder not found!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName"); |
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName.Host"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private string GetSolutionDirectoryPath() |
|
|
private string GetSolutionDirectoryPath() |
|
|
|
|
|
@ -181,7 +181,7 @@ public class MyProjectNameDbMigrationService : ITransientDependency |
|
|
throw new Exception("Solution folder not found!"); |
|
|
throw new Exception("Solution folder not found!"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName"); |
|
|
return Path.Combine(slnDirectoryPath, "MyCompanyName.MyProjectName.Mvc"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private string GetSolutionDirectoryPath() |
|
|
private string GetSolutionDirectoryPath() |
|
|
|