Error Creating Control Unable To Locate License Assembly Infragistics
Contents |
On: Thu, Jun 12 2008 9:46 AM I am on a project with 4 other developers. I am the only one using Infragistics (for the webchart). I system.componentmodel.licenseexception infragistics sent my Infragistics webchart changes to our source control and the other
Set The Build Action On Your License.licx To None
devlopers have gotten the latest version of our project. Now those developers are getting the following error:Error1Exception occurred creating
Failed To Create Component Ultragrid
type 'Infragistics.WebUI.UltraWebChart.UltraChart, Infragistics2.WebUI.UltraWebChart.v6.3, Version=6.3.20063.1079, Culture=neutral, PublicKeyToken=xxx' System.ComponentModel.LicenseException: Unable to locate license assembly.C:\Inetpub\wwwroot\xxxxx\Properties\licenses.licx1vpm-sp2 Reply Post Points: 20 [Infragistics] Tony Lombardo Points 19,298 Reply Replied On: Thu, Jun 12 2008 3:23 PM The licx file is automatically generated by Visual Studio, and contains the list of components which require a license to use at design-time. This does get a little complicated when you attempt to use MSBuild to compile a project, because it looks at the same LICX file. The trick (if I remember) is to have the other membersclear the contents of the .licx file (don't delete the file, just empty out it's contents). That should allow them to compile, though they will still be unable to open up any forms with Infragistics components inside of them. -Tony Anthony Lombardo Lead Technical Evangelist Infragistics, Inc. blogs.infragistics.com Reply Post Points: 20 hollsys Points 100 Reply Replied On: Thu, Feb 19 2009 3:33 PM I saw this message and have a similar problem. I just posted a new message but want to add a wrinkle to this. I searched my workstation for a licx file and couldn't find one. Which folder should it be in? Thanks for your help. Jane Reply Post Points: 20 [Infragistics] Tony Lombardo Points 19,298 Reply Replied On: Mon, Feb 23 2009 10:11 AM Jane, The LICX file is part of your project, and usually contained in the top level directory of your visual studio project. It may be a hidden file, so you may have to "show all files" in the project to see it, or open the directory with windows explorer. -Tony Anthony Lombardo Lead Technical Evangelist Infragistics, Inc
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x http://www.infragistics.com/community/forums/t/9004.aspx Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Infragistics license exceptions when MSBuild-ing up vote 16 down vote favorite 7 When running the MSBuild scripts for a http://stackoverflow.com/questions/2196410/infragistics-license-exceptions-when-msbuild-ing project, I'm getting the following errors: Properties\licenses.licx(1): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraNumericEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly. Properties\licenses.licx(2): error LC0004: Exception occurred creating type 'Infragistics.Win.Misc.UltraGridBagLayoutManager, Infragistics.Win.Misc.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly. Properties\licenses.licx(3): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraCheckEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly. It appears that there's a problem with my machine's Infragistics license. I have valid license files in my solution, so what's causing this issue? exception msbuild infragistics share|improve this question asked Feb 3 '10 at 23:53 jonathanconway 11.7k2698166 When you build with MSBuild, are you using the same .csproj/.sln files or custome ones? Is this on the same computer as when you build from Visual Studio? –Marcel Gosselin Feb 4 '10 at 0:00 I'm not building from Visual Studio
process when using third-party components Visual Studio Team Foundation Server > Team Foundation Server - General Question 0 Sign in to vote Hi there, when using Team https://social.msdn.microsoft.com/Forums/vstudio/en-US/4e5043b6-2605-4612-9acd-b3586ae40b56/problem-cannot-locate-license-assembly-during-team-build-process-when-using-thirdparty?forum=tfsgeneral Buildwith a project that usesthird-party components such asInfragisticsthat use the license.lix licensing mechanism I get the error "cannot locate license assembly" during the compilation phase of the build process. I do not http://nicksnettravels.builttoroam.com/post/2007/04/19/Simplifying-your-Build-Server.aspx consider installing the Infragistics controls on my build servers since they are supposed to be clean. What am I doing wrong here? What would be the recommended way to accomplish this? Why error creating is a license neccessary to compile? Thanks, Neno Steps to Reproduce: -> Open Team Explorer-> Create a BuildType for a Team Project that references Infragistics -> assemblies Start Build=> Receive build error "cannot locate license assembly" Monday, January 02, 2006 9:13 AM Reply | Quote Answers 0 Sign in to vote I am sorry, but I have no idea about the basic requirement to build error creating control projects referencing your third party dll since this will be totally dependent on the 3rd party dll that you are using. If you could please mail me the sources at anutthar at microsoft dot com, I will certainly try to help further. Monday, January 02, 2006 12:58 PM Reply | Quote All replies 0 Sign in to vote Hello Neno - The project that references the third party controls that you are talking about, can these be built on a clean machine without any of the third party support at all? It is unlikely that it is possible. In order to build it, you would need references to libraries perhaps, but I am unsure what the licensing issue is about. What you can do is: 1. log on to the build machine 2. navigate to the
Beta 1 to Ship → Simplifying your Build Server 19. April 2007 Nick Development (0) One of the tasks that the dev team at [Intilecta] has spent quite a bit of time on recently is reworking the build process. Having been involved in the v1 build process I have been adding my 2 cents worth from time to time. One such area was how to minimise the bits of software we need installed on the build server. We are going to need a tool that can execute a build. The obvious choice was to go with MSBuild since it comes with the .NET Framework v2. Unfortunately at this stage we can't get away without having [VS2005] installed as we need it to build our setup projects (we are hoping to change that later this version). The next area we had to consider was how we handle the 3rd party control libraries we have installed. At this stage we are using Infragistics and Dundas controls. Both of these products have a substantial install which includes adding various assemblies to the GAC. We wanted to be able to control the build process so that we don't need these to be installed on the build machine. Unfortunatelydoing this with theprojects in their current form meant that we were getting compile errors similar to: Error 1 Exception occurred creating type 'Infragistics.Win.UltraWinTree.UltraTree, Infragistics2.Win.UltraWinTree.v6.3, Version=6.3.20063.1059, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly. C:\...\licenses.licx It turns out that theseerrors are caused by the license management framework (which AFAIK is actually part of the .NET Framework to support third party component vendors) as a result of having a license.licx file included in the project. To see this (for VB.NET projects) you need to set Solution Explorer to show all files. This file will then appear under the My Project folder (VB.NET) or Properties folder (C#) - it's set as an Embedded Resource. My understanding of how the license checking works goes l