mirror of https://github.com/abpframework/abp.git
4 changed files with 33 additions and 9 deletions
@ -0,0 +1,18 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.IO; |
||||
|
using System.Text; |
||||
|
|
||||
|
namespace Volo.Abp.Cli.ProjectModification |
||||
|
{ |
||||
|
public static class ProjectFileNameHelper |
||||
|
{ |
||||
|
|
||||
|
public static string GetAssemblyNameFromProjectPath(string projectFile) |
||||
|
{ |
||||
|
return projectFile |
||||
|
.Substring(projectFile.LastIndexOf(Path.DirectorySeparatorChar) + 1) |
||||
|
.RemovePostFix(StringComparison.OrdinalIgnoreCase, ".csproj"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue