|
|
|
@ -16876,7 +16876,9 @@ class DotNetVersionInfo {
|
|
|
|
this.throwInvalidVersionFormat();
|
|
|
|
this.throwInvalidVersionFormat();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const major = this.getVersionNumberOrThrow(parts[0]);
|
|
|
|
const major = this.getVersionNumberOrThrow(parts[0]);
|
|
|
|
const minor = ['x', '*'].includes(parts[1]) ? parts[1] : this.getVersionNumberOrThrow(parts[1]);
|
|
|
|
const minor = ['x', '*'].includes(parts[1])
|
|
|
|
|
|
|
|
? parts[1]
|
|
|
|
|
|
|
|
: this.getVersionNumberOrThrow(parts[1]);
|
|
|
|
this.fullversion = major + '.' + minor;
|
|
|
|
this.fullversion = major + '.' + minor;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
getVersionNumberOrThrow(input) {
|
|
|
|
getVersionNumberOrThrow(input) {
|
|
|
|
|