maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/ProjectNugetPackageAdder.cs
|
|
|
@ -354,7 +354,7 @@ namespace Volo.Abp.Cli.ProjectModification |
|
|
|
protected virtual string GetAbpVersionOrNull(string projectFile) |
|
|
|
{ |
|
|
|
var projectFileContent = File.ReadAllText(projectFile); |
|
|
|
return SolutionAbpVersionFinder.TryParseVersionFromCsprojFile(projectFileContent, out var version) |
|
|
|
return SolutionPackageVersionFinder.TryParseVersionFromCsprojFile(projectFileContent, out var version) |
|
|
|
? version |
|
|
|
: null; |
|
|
|
} |
|
|
|
|