You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"License key cannot be added because it requires higher version of PostSharp. Please upgrade PostSharp NuGet packages of the License Server to >= {0}.{1}.{2}.",
36
+
parsedLicense.MinPostSharpVersion.Major,
37
+
parsedLicense.MinPostSharpVersion.Minor,
38
+
parsedLicense.MinPostSharpVersion.Build);
39
+
this.errorLabel.Visible=true;
40
+
return;
41
+
}
42
+
43
+
if(!parsedLicense.IsLicenseServerEligible())
32
44
{
33
45
this.errorLabel.Text=string.Format("Cannot add a {0} of {1} to the server.",
"The license #{0} requires higher version of PostSharp on the License Server. Please upgrade PostSharp NuGet package of the License Server to >= {1}.{2}.{3}",
84
+
license.LicenseId,
85
+
parsedLicense.MinPostSharpVersion.Major,
86
+
parsedLicense.MinPostSharpVersion.Minor,
87
+
parsedLicense.MinPostSharpVersion.Build);
88
+
returnnull;
89
+
}
90
+
91
+
if(parsedLicense.MinPostSharpVersion>version)
92
+
{
93
+
errors[license.LicenseId]=string.Format(
94
+
"The license #{0} of type {1} requires PostSharp version >= {2}.{3}.{4} but the requested version is {5}.{6}.{7}.",
95
+
license.LicenseId,
96
+
parsedLicense.LicenseType,
97
+
parsedLicense.MinPostSharpVersion.Major,
98
+
parsedLicense.MinPostSharpVersion.Minor,
99
+
parsedLicense.MinPostSharpVersion.Build,
100
+
version.Major,
101
+
version.Minor,
102
+
version.Build);
103
+
returnnull;
77
104
}
78
105
79
-
if(!parsedLicense.IsLicenseServerElligible())
106
+
if(!parsedLicense.IsLicenseServerEligible())
80
107
{
81
108
errors[license.LicenseId]=string.Format("The license #{0}, of type {1}, cannot be used in the license server.",
errors[license.LicenseId]=string.Format("The maintenance subscription of license #{0} ends on {1:d} but the requested version has been built on {2:d}.",
<ErrorCondition="!Exists('..\..\packages\PostSharp.4.3.25\tools\PostSharp.targets')"Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
277
-
<ErrorCondition="Exists('..\..\packages\PostSharp.4.3.25\tools\PostSharp.targets')"Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
0 commit comments