Postsharp free licences do not work on the new environment
How can we fix this issue?
Could you please provide a step by step explanation.
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Feodor Fitsner on 23 Oct, 2014 02:50 PM
Have you looked at that post: http://help.appveyor.com/discussions/questions/487-build-failure-co...
2 Posted by Rifat Erdem Sah... on 23 Oct, 2014 04:44 PM
But i did not understand the solution.
23 Eki 2014 tarihinde 17:50 saatinde, "Feodor Fitsner" <[email blocked]> şunları yazdı:
Support Staff 3 Posted by Feodor Fitsner on 23 Oct, 2014 04:53 PM
Based on the last comment here I can assume you should just create
postsharp.configfile in the root of your solution (repository) with the following contents:
YOUR_LICENSE_FROM_REGISTRYvalue could be found at your dev machine under
4 Posted by Rifat Erdem Sah... on 24 Oct, 2014 06:59 AM
I tried that but failed. This is the error log
(PostSharp30 target) ->
5976 C:\projects\common\Common\Common.Adapter\Common.Adapter.csproj : postsharp error PS0127: The assembly 'ModuleDeclaration Common.dll' uses non-licensed features (Basic Features). Please visit http://www.postsharp.net/purchase to acquire a license of PostSharp.
5977 C:\projects\common\Common\Common.Adapter\Common.Adapter.csproj : postsharp error PS0154: Information regarding the previous message: the installed user license is: "".
5978 C:\projects\common\Common\Common.Adapter\Common.Adapter.csproj : postsharp error PS0060: The processing of module "Common.Adapter.dll" was not successful.
5980 0 Warning(s)
5981 3 Error(s)
5983Time Elapsed 00:00:07.47
5984Command exited with code 1
5 Posted by Rifat Erdem Sah... on 24 Oct, 2014 07:16 AM
I solved it by adding registry key
New-Item "HKLM:\Software\Wow6432Node\SharpCrafters\" -Type Directory
New-Item "HKLM:\Software\Wow6432Node\SharpCrafters\PostSharp 3" -Type Directory
New-ItemProperty -Path "HKLM:\Software\Wow6432Node\SharpCrafters\PostSharp 3" -Name LicenseKey -PropertyType String -Value ANEdsfsdfsdfsd-ZQQQdsfsdfsdfA
NuGet.exe restore C:\projects\common\common\Common.sln
Support Staff 6 Posted by Feodor Fitsner on 24 Oct, 2014 07:18 AM
Oh, you were first.
I've been about to post this :)
<your_license>with your value.
7 Posted by Rifat Erdem Sah... on 24 Oct, 2014 12:39 PM
Have a great weekend
Rifat Erdem Sahin closed this discussion on 26 Dec, 2014 01:36 PM.