Upgrading website from VS2005(2.0 Framework) to VS2008(2.0 Framework)

Posted by Sravan on Stack Overflow See other posts from Stack Overflow or by Sravan
Published on 2011-01-10T04:28:35Z Indexed on 2011/01/10 4:53 UTC
Read the original article Hit count: 271

We have a website that is created in VS2005

Recently we upgraded the website to VS2008 with 2.0 framework.

While compiling the website Compilation errors are occuring i.e Licenses.licx file is not compiling, if it compile than it will reproduces an AppLicenses.dll.

In the licensing.licx file containing one class and a namespace(i.e. OSADirectLicensing.OSADirectLicensedClass, OSADirectLicensing).

The compilation error is as follows:

Error 1 C:\Program Files\Sharp\Sharp Developer Tools\OSA SDK\Samples\DirectOSA\ExternalAuthority\licenses.licx: Could not transform licenses file into a binary resource.  (1) : error LC0004 : Exception occurred creating type 'OSADirectLicensing.OSADirectLicensedClass, OSADirectLicensing, Version=1.0.4006.31768, Culture=neutral, PublicKeyToken=null System.ComponentModel.LicenseException: Invalid License
   at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext, Object[] args)
   at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext)
   at System.Tools.LicenseCompiler.GenerateLicenses(String fileContents, String targetPE, ITypeResolutionService resolver, DesigntimeLicenseContext ctx)' .

Does VS2008 support licenses.licx or not?

We should not remove this file from website.

How can we solve this issue?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about licenses.licx