Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Licenses.Licx file in VS2008
posted

I have a website in vs 2005, i upgrade it to vs2008.

If i build the website in VS2008, the following error is generating.

Error 1 C:\Program Files\Website\licenses.licx: Could not transform licenses file into a binary resource.  (1) : error LC0004 : Exception occurred creating type 'OSADirectLicensing.OSADirectLicensedClass, OSADirectLicensing, Version=1.0.4031.34819, 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)' 

 

this license file contains the following code

"OSADirectLicensing.OSADirectLicensedClass,OSADirectLicensing"