Upgrading to PostSharp 5 essentials, I am now getting a License error - postsharp

I get the following error after upgrading to PostSharp 5.0.41.
Error 286 License error. The project uses non-licensed features. It is not allowed to enhance or analyze more than 10 classes in each project by features not covered by the installed licenses. Please visit https://www.postsharp.net/purchase to acquire a license of PostSharp.
I am using the essentials license and PostSharp.Aspects.
Thank you

The licensing of PostSharp 5 Essentials is no longer backward compatible with PostSharp 4.2 Express. See http://www.postsharp.net/blog/post/Announcing-PostSharp-50-RTM (look for "Changes in the Product Line and Licensing") for details.

Related

PostSharp Error - The project targets or references an unsupported platform: .NETPlatform,Version=v5.0

I'm using PostSharp v5.0.48 in quite a few projects that target .NETFramework 4.7.2 (both console apps and libraries).
I recently attempted to update to PostSharp v6.4.4 yesterday which gave me the error noted below. I then noticed v6.4.5 was released overnight so I upgraded to that in hopes of it eliminating the error but nothing; still receiving the same error message.
...\packages\PostSharp.6.4.5\build\PostSharp.targets(379,5): error PS0275: The project targets or references an unsupported platform: .NETPlatform,Version=v5.0.
I have also installed the newest PostSharp Tools for Visual Studio from here
I'm at a loss here as I'm clearly targeting .NETFramework v4.7.2. Any help/ideas are appreciated.
Note #1: I have seen this post but it was of no help as it was made by a former employee of mine but under very different circumstances and a completely different situation.
Note #2: Downgrading back to the highest version in v5.x has eliminated the error (currently using v5.0.55) but if I go one version higher, v6.0.18, the error returns.

Using PostSharp - There is no Essential License Option in the Dialog

I just upgraded the latest PostSharp version. In the License Popup, i'm not getting the option to use PostSharp Express or Essential?
It means that you already have an Essentials (former Express) license registered. You can see a list of installed licenses in Visual Studio menu PostSharp > Options > License.
If you don't see the license there or if your build is failing due to licensing, it might be that you have installed the Express license previously for all users. That is not allowed since PostSharp 5. In that case, remove the license from registry HKLM\SOFTWARE\WOW6432Node\SharpCrafters\PostSharp 3\LicenseKey(s) and register the Essentials license in Visual Studio menu PostSharp > Options > License.

SpiceLogic PayPal Control Upgrade to v 4

We are in a process of upgrading SpiceLogic PayPal control to the latest version 4 to address PayPal's new security requirements. As per SpiceLogic site - no APIs in their control were changed. So it should be a breeze.
However new control doesn't compile with project giving an error message: Type or namespace SpiceLogic could not be found ...
The reference to SpiceLogic .dll was manually added to VS solution and we can see it in VS 2010 Solution Explorer's references folder. Adding this .dll reference via Project ==> Add Reference ... also doesn't help.
We are using VS 2010 Ultimate edition which runs in .NET v 4.0. SpiceLogic control requires 4.5. Could that be a reason?
The older version of the SpiceLogic PayPal Control did not use .NET Framework 4.5. After the PayPal security requirement changed, SpiceLogic released a new version targeting .NET Framework 4.5. So, if you use the latest version of the control, you should not have any problem.

Troubleshooting PostSharp license issue on build server: Where can I find my license for PostSharp Express?

I am experiencing issues with my CI build server in which PostSharp is causing the build to fail with the message: The assembly 'yada-yada.dll' uses non-licensed features (Basic Features). [...]. We are using the current version of PostSharp (3.1.52) and have no troubles with the library in local development environment where developers have a registered Express license.
According to PostSharp docs, the build server should not need a license. However, they acknowledge that the automation identification could fail:
If this check does not work for any reason, you may use the license key of any licensed user for the build server. This will not be considered a license infringement. However, it is better to report the issue to our technical support so that we can fix the detection algorithms.
It is recommended to include the license key in the source control.
I'm attempting to test this theory but I can't seem to get access to my actual PostSharp Express license! The PostSharp Options aren't any help either:
Anyone have any ideas? Thanks!
You can find your license key under the registry key HKEY_CURRENT_USER\Software\SharpCrafters\PostSharp 3.
If your license key does not appear at the location specified, these steps will help you find a new one....
Uninstall any previous version of postsharp installed in visual studio by going to TOOLS > Extensions & Updates.
Open regedit. Delete the following registry key (including all child keys):
HKEY_CURRENT_USER\Software\SharpCrafters\PostSharp 3
Download the latest postsharp vs extension. At time of writing I used 4.2.17. Also make sure you are using the latest postsharp nuget package.
Begin the install & follow the steps. When selecting which kind of license you want, choose the Express User License (the last option).
Enter your details, then on the penultimate step, do not tick the box to register postsharp for all accounts on this machine.
Complete the installation, you should then find the license key in your registry under:
HKEY_CURRENT_USER\Software\SharpCrafters\PostSharp 3\LicenseKey
There are two types of keys!
for current user: HKCU\SOFTWARE\SharpCrafters\PostSharp 3
for all users: HKLM\SOFTWARE\WOW6432Node\SharpCrafters\PostSharp 3
The license might be in one of them depending on what license type you chose.

Installation of objectaid in eclipse, no valid license was found

I have followed the steps of this guide to install objectaid on eclipse GALILEO in ubuntu 10.10 :
http://www.objectaid.com/installation
But after the installation I get this message in console:
ObjectAid Sequence Diagram is not available because no valid license was found.
I suppose it's because is possible to buy also the non-free version.
I would try the evaluation version, how to do this?
In case you don't have an answer yet :
In order to evaluate the sequence diagram generator, you need to create an account with ObjectAid here. Using this accout, you can request an evaluation license which will unlock the feature.