Express Edition的PostSharp错误

时间:2017-04-19 20:45:20

标签: msbuild postsharp

我在使用PostSharp Express时看到错误

(PostSharp30 target) ->
  Core.csproj : postsharp error PS0127: The assembly 'ModuleDeclaration Utilities.dll' uses non-licensed features (
Basic Features). Please visit http://www.postsharp.net/purchase to acquire a license of PostSharp.
  Core.csproj : postsharp error PS0154: Information regarding the previous message: the installed user license is: "".
  Core.csproj : postsharp error PS0060: The processing of module "Core.dll" was not successful.

AFAICT,我的安装很好,但在HKCU/SOFTWARE/SharpCrafters/PostSharp 3/LicenseKey

下没有写入注册表的值

到目前为止,我已经尝试了所有我能找到解决这个问题但无济于事的事情。想法?

1 个答案:

答案 0 :(得分:1)

在我的具体情况下,我没有安装VisualStudio,因为它全部在构建服务器上运行。来自PostSharp支持:

没有Visual Studio,如果你有PostSharp 4.3.x或%ProgramData%\ PostSharp \\,你可以通过%ProgramData%\ PostSharp \\ bin.Release \ PostSharp.HQ.v3.0.exe访问注册对话框bin.Release \ PostSharp.Settings.UI.exe。

使用此工具,您可以再次注册Express许可证。

相关问题