Marko Apfel - Afghanistan/Belgium/Germany

Management, Architecture, Programming, QA, Coach, GIS, EAI

  Home  |   Contact  |   Syndication    |   Login
  187 Posts | 2 Stories | 201 Comments | 4 Trackbacks

News



Twitter | LinkedIn | Xing

Article Categories

Archives

Post Categories

BizTalk

C#

Enterprise Library

SAP

SQL Server

Technologie

Problem

Normally PostSharp runs fine on unattended build servers. So on our global Jenkins continuous integration server PostSharp does the job.

But on my local TeamCity continuous integration server I got the following error:

POSTSHARP error PS0127: The aspect 'EsriDE.Commons.Logging.Aop.PostSharp.LoggingAspectAttribute' uses non-licensed features (Basic Features). Please visit http://www.sharpcrafters.com/ to acquire a license of PostSharp. 
POSTSHARP error PS0154: Information regarding the previous message: the installed user license is: "". 
POSTSHARP error PS0060: The processing of module "EsriDE.Maintenance.LoginExtension.dll" was not successful. 

Okay – so install the license via a target in the developer tree. Like described in

Configuring PostSharp - Creating a file PostSharp.Custom.targets or Deploying License Keys for a Team

This throws a new error:

C:\Program Files (x86)\TeamCity\buildAgent\work\bf9b0bb7766c4536\lib\Nuget-Packages\PostSharp.2.1.5.1\tools\PostSharp.targets(173, 5): Property 'PostSharpLicenseKey' is deprecated.

and indeed: this option was discontinued

Announcing PostSharp 2.1 CTP 2 (see section “License Management”)

Solution

Note to self: RTFM Winking smile

Deploying PostSharp into a Source Repository - Adding PostSharp to your project using PostSharp HQ

Activate the license you got with the one of the first mails from SharpCrafters and everything works like expected.

posted on Tuesday, November 8, 2011 8:03 PM