0
1

Getting the following on Team Foundation Service build controller:

I'm on community edition with a check in the mail to get the full edition. I would imagine I need to copy some form of the license file on the TFS build server directory I use for custom binaries and possibly alter the build configuration (solution/project files). I've Googled quite a bit and coming up blank. Please notice I'm using Team Foundation Service (not my own server, hosted in Azure)

Can anyone help?

PostSharp21: Creating directory "obj\Debug\Before-PostSharp". Creating directory "obj\Debug\PostSharp". PostSharp pipe server disabled because the build is unattended. C:\a\src\packages\PostSharp.2.1.7.16\tools\Release\postsharp.4.0-x86.exe obj\Debug\Before-PostSharp\Fabnu.Flagship.Core.dll /X:default /NoLogo /P:Output=C:\a\src\Fabnu.Flagship.Core\obj\Debug\Fabnu.Flagship.Core.dll /P:ReferenceDirectory=C:\a\src\Fabnu.Flagship.Core /P:Configuration=Debug /P:Platform=AnyCPU "/P:SearchPath=C:\a\bin\,obj\Debug\,C:\a\src\packages\Xtensive.Orm.4.6.3\Tools,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Facades\ " /P:IntermediateDirectory=obj\Debug\PostSharp /P:CleanIntermediate=False /P:MSBuildProjectFullPath=C:\a\src\Fabnu.Flagship.Core\Fabnu.Flagship.Core.csproj /P:SignAssembly=False /P:PrivateKeyLocation= /P:PrivateKeyContainer= /P:DelaySign= "/P:ResolvedReferences=C:\a\src\packages\FluentValidation.4.0.0.1\lib\Net40\FluentValidation.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll,C:\a\src\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll,C:\a\src\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll,C:\a\src\packages\PostSharp.2.1.7.16\lib\net20\PostSharp.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.ComponentModel.DataAnnotations.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Configuration.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Core.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.dll,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\System.Web.dll,C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Web.Mvc.dll,C:\a\src\packages\Xtensive.Orm.4.6.3\Lib\Net40\Xtensive.Aspects.dll,C:\a\src\packages\Xtensive.Orm.4.6.3\Lib\Net40\Xtensive.Core.dll,C:\a\src\packages\Xtensive.Orm.4.6.3\Lib\Net40\Xtensive.Orm.dll" /P:SymbolFile=C:\a\bin\Fabnu.Flagship.Core.pssym /P:WriteWeavingSymbols=True /P:AssemblyBindingPolicySet=NetFramework /P:ConstraintVerificationEnabled=False /P:ObfuscationAwarenessEnabled=False /P:TargetDevice= /P:AspectProviders= POSTSHARP : error XW0001: DataObjects.Net license is not valid. [C:\a\src\Fabnu.Flagship.Core\Fabnu.Flagship.Core.csproj] Done Building Project "C:\a\src\Fabnu.Flagship.Core\Fabnu.Flagship.Core.csproj" (default targets) -- FAILED. Project "C:\a\src\Fabnu.Flagship.Website.Tests\Fabnu.Flagship.Website.Tests.csproj" (4) is building "C:\a\src\Fabnu.Flagship.Services\Fabnu.Flagship.Services.csproj" (6) on node 1 (default targets). RestorePackages:

asked Sep 21 '13 at 19:56

Dave%20Jellison's gravatar image

Dave Jellison
5111


2 Answers:

Hello Dave,

I apologize for delayed response.

The problem is likely caused by absense of DataObjects.Net license on the build machine.

There are many options regarding build server configuration for DataObjects.Net-based project.

First option is to activate license for DataObjects.Net on a build server in regular way by using License Manager tool. This requires full access to the build machine.

Second option is to use "portable mode". This mode allows you to put DataObjects.Net license in the source code repository. See this post for details.

answered Sep 24 '13 at 02:38

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov
179325

Thanks Denis, will give this a shot. I may be abandoning the build server approach for now for other reasons but this is appreciated. I do have the full license now as well.

answered Sep 29 '13 at 06:13

Dave%20Jellison%20Fabnu's gravatar image

Dave Jellison Fabnu
9336

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA