When you have the below error message on programming. " License error. The project uses non-licensed premium features. It is not allowed to enhance types with a total of more than 1000 lines of code in the solution by features not covered by the installed licenses, but 1007 lines of code were enhanced." This was caused using Postsharp. When your program uses postsharp in all your code and if you are using more than1000 times. You will have this error. You need to remove some of the line or purchase licenses from the below link. https://www.postsharp.net/pricing
My information note