PostSharp build stopped working
I'm not sure if it was the new environment hyped in the email yesterday, but builds using PostSharp suddenly stopped working because it thinks it is no longer licensed. Normally, PostSharp needs no license when it thinks it is running on a build server (http://doc.postsharp.net/build-server), but apparently the detection of this changed?
Most recent output:
~~~~ [13:39:06] _CopyFilesMarkedCopyLocal: [13:39:07] Copying file
from
"C:\projects\example-addin\packages\PostSharp.3.1.52\lib\net20\PostSharp.dll"
to "bin\Debug\PostSharp.dll". [13:39:07] Copying file from
"C:\projects\example-addin\packages\PostSharp.Patterns.Model.3.1.52\lib\net40\PostSharp.Patterns.Model.dll"
to "bin\Debug\PostSharp.Patterns.Model.dll". [13:39:07] Copying
file from
"C:\projects\example-addin\packages\ServiceStack.Client.4.0.24\lib\net40\ServiceStack.Client.dll"
to "bin\Debug\ServiceStack.Client.dll". [13:39:07] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Interfaces.4.0.24\lib\net40\ServiceStack.Interfaces.dll"
to "bin\Debug\ServiceStack.Interfaces.dll". [13:39:07] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Text.4.0.24\lib\net40\ServiceStack.Text.dll"
to "bin\Debug\ServiceStack.Text.dll". [13:39:07] Copying file from
"C:\projects\example-addin\packages\PostSharp.3.1.52\lib\net20\PostSharp.xml"
to "bin\Debug\PostSharp.xml". [13:39:07] Copying file from
"C:\projects\example-addin\packages\ServiceStack.Client.4.0.24\lib\net40\ServiceStack.Client.xml"
to "bin\Debug\ServiceStack.Client.xml". [13:39:07] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Interfaces.4.0.24\lib\net40\ServiceStack.Interfaces.xml"
to "bin\Debug\ServiceStack.Interfaces.xml". [13:39:07] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Text.4.0.24\lib\net40\ServiceStack.Text.xml"
to "bin\Debug\ServiceStack.Text.xml". [13:39:07] PostSharp30:
[13:39:07] Creating directory "obj\Debug\Before-PostSharp".
[13:39:07] Creating directory "obj\Debug\PostSharp". [13:39:07]
Starting the pipe server:
"C:\ProgramData\PostSharp\3.1.52\bin.Release\postsharp.srv.4.0-x86.exe
/tp
"postsharp-S-1-5-21-1029863484-2617973176-3621304502-500e-4.0-x86-release-3.1.52-c99bc9dca66a862c"
/config
"C:\ProgramData\PostSharp\3.1.52\bin.Release\postsharp.srv.4.0-x86.exe.config"".
[13:39:07] : info : Executing PostSharp 3.1 [3.1.52.0, 32 bit, CLR
4.5, Release] [13:39:07]
C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj :
postsharp error PS0127: The assembly 'MyProjectCore.dll' uses
non-licensed features (Basic Features). Please visit http://www.postsharp.net/purchase
to acquire a license of PostSharp. [13:39:09]
C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj :
postsharp error PS0154: Information regarding the previous message:
the installed user license is: "". [13:39:09]
C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj :
postsharp warning PS0203: This project is using 4 instances of the
INotifyPropertyChanged aspect. As a complimentary feature, you can
use up to 10 instances of this aspect in each project. [13:39:10]
C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj :
postsharp error PS0060: The processing of module
"MyProjectCore.dll" was not successful. [13:39:10] Done Building
Project
"C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj"
(default targets) -- FAILED. [13:39:10] Done Building Project
"C:\projects\example-addin\MyProject\MyProject.csproj" (default
targets) -- FAILED. ~~~~
Similar output as produced yesterday:
~~~~ [15:03:05] _CopyFilesMarkedCopyLocal: [15:03:09] Copying file
from
"C:\projects\example-addin\packages\PostSharp.3.1.52\lib\net20\PostSharp.dll"
to "bin\Debug\PostSharp.dll". [15:03:09] Copying file from
"C:\projects\example-addin\packages\PostSharp.Patterns.Model.3.1.52\lib\net40\PostSharp.Patterns.Model.dll"
to "bin\Debug\PostSharp.Patterns.Model.dll". [15:03:09] Copying
file from
"C:\projects\example-addin\packages\ServiceStack.Client.4.0.24\lib\net40\ServiceStack.Client.dll"
to "bin\Debug\ServiceStack.Client.dll". [15:03:09] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Interfaces.4.0.24\lib\net40\ServiceStack.Interfaces.dll"
to "bin\Debug\ServiceStack.Interfaces.dll". [15:03:09] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Text.4.0.24\lib\net40\ServiceStack.Text.dll"
to "bin\Debug\ServiceStack.Text.dll". [15:03:09] Copying file from
"C:\projects\example-addin\packages\PostSharp.3.1.52\lib\net20\PostSharp.xml"
to "bin\Debug\PostSharp.xml". [15:03:09] Copying file from
"C:\projects\example-addin\packages\ServiceStack.Client.4.0.24\lib\net40\ServiceStack.Client.xml"
to "bin\Debug\ServiceStack.Client.xml". [15:03:09] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Interfaces.4.0.24\lib\net40\ServiceStack.Interfaces.xml"
to "bin\Debug\ServiceStack.Interfaces.xml". [15:03:09] Copying file
from
"C:\projects\example-addin\packages\ServiceStack.Text.4.0.24\lib\net40\ServiceStack.Text.xml"
to "bin\Debug\ServiceStack.Text.xml". [15:03:09] PostSharp30:
[15:03:09] Creating directory "obj\Debug\Before-PostSharp".
[15:03:09] Creating directory "obj\Debug\PostSharp". [15:03:09]
C:\ProgramData\PostSharp\3.1.52\bin.Release\postsharp.4.0-x86.exe
obj\Debug\Before-PostSharp\MyProjectCore.dll /X:default /NoLogo
/P:Output=C:\projects\example-addin\MyProjectCore\obj\Debug\MyProjectCore.dll
/P:ReferenceDirectory=C:\projects\example-addin\MyProjectCore
/P:Configuration=Debug /P:Platform=AnyCPU
"/P:SearchPath=bin\Debug|obj\Debug|C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0"
/P:IntermediateDirectory=obj\Debug\PostSharp
/P:CleanIntermediate=False
/P:MSBuildProjectFullPath=C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj
/P:SignAssembly=False /P:PrivateKeyLocation=
/P:PrivateKeyContainer= /P:DelaySign=
"/P:ResolvedReferences=C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\Microsoft.CSharp.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll|C:\projects\example-addin\packages\PostSharp.3.1.52\lib\net20\PostSharp.dll|C:\projects\example-addin\packages\PostSharp.Patterns.Model.3.1.52\lib\net40\PostSharp.Patterns.Model.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\PresentationCore.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\PresentationFramework.dll|C:\projects\example-addin\packages\ServiceStack.Client.4.0.24\lib\net40\ServiceStack.Client.dll|C:\projects\example-addin\packages\ServiceStack.Interfaces.4.0.24\lib\net40\ServiceStack.Interfaces.dll|C:\projects\example-addin\packages\ServiceStack.Text.4.0.24\lib\net40\ServiceStack.Text.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Configuration.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Core.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Net.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xaml.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.Linq.dll|C:\Program
Files (x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.0\WindowsBase.dll"
/P:SymbolFile=bin\Debug\MyProjectCore.pssym
/P:WriteWeavingSymbols=True /P:ConstraintVerificationEnabled=True
/P:TargetFrameworkVersion=v4.0
/P:TargetFrameworkIdentifier=.NETFramework
/P:TargetFrameworkProfile=
"/P:TargetFrameworkMoniker=.NETFramework,v4.0"
"/P:NativeFrameworkMoniker=.NETFramework,v4.5.1"
/P:PostSharpLibraryProfile= /P:AspectProviders= "/P:Language=C#"
"/MR:C:\ProgramData\PostSharp\3.1.52\BindingMaps.NETFramework,v4.0.NETFramework,v3.5.AssemblyMap"
"/MR:C:\ProgramData\PostSharp\3.1.52\BindingMaps.NETFramework,v4.0.NETPortable,v4.0.AssemblyMap"
"/MI:C:\ProgramData\PostSharp\3.1.52\BindingMaps.NETFramework,v4.0.NETFramework,v4.5.1"
/config
C:\ProgramData\PostSharp\3.1.52\bin.Release\postsharp.srv.4.0-x86.exe.config
[15:03:09] Touching
C:\projects\example-addin\MyProjectCore\obj\Debug\MyProjectCore.dll.postsharp.
[15:03:16] _CopyAppConfigFile: [15:03:16] Copying file from
"app.config" to "bin\Debug\MyProjectCore.dll.config". [15:03:16]
CopyFilesToOutputDirectory: [15:03:16] Copying file from
"obj\Debug\MyProjectCore.dll" to "bin\Debug\MyProjectCore.dll".
[15:03:16] MyProjectCore ->
C:\projects\example-addin\MyProjectCore\bin\Debug\MyProjectCore.dll
[15:03:16] Copying file from "obj\Debug\MyProjectCore.pdb" to
"bin\Debug\MyProjectCore.pdb". [15:03:16] Done Building Project
"C:\projects\example-addin\MyProjectCore\MyProjectCore.csproj"
(default targets). ~~~~
The biggest difference I notice immediately is that it is now trying to start the PostSharp pipe server, whereas it didn't do this before.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by dmcgee on 28 Oct, 2014 01:48 PM
Bagh, the Markdown formatting here apparently doesn't use ~~~~ like everywhere else. And I can't seem to go back and edit it.
Support Staff 2 Posted by Feodor Fitsner on 28 Oct, 2014 01:52 PM
Take a look at this post: http://help.appveyor.com/discussions/problems/934-postsharp-free-licences-do-not-work-on-the-new-environment
-Feodor
3 Posted by dmcgee on 28 Oct, 2014 02:08 PM
This worked, thanks. You might want to draw a bit more attention to this via a blog post or something, as this post had already been buried here on the support site.
Build time getting dramatically faster is awesome, so thanks for that. However, this is definitely a regression people don't expect in their CI system at 8 AM in the morning.
Support Staff 4 Posted by Feodor Fitsner on 28 Oct, 2014 04:33 PM
Yeah, will do. Thanks.
-Feodor
5 Posted by dmcgee on 28 Oct, 2014 04:36 PM
Thank you for building AppVeyor!
dmcgee closed this discussion on 28 Oct, 2014 04:36 PM.