У нас есть веб-сайт, созданный в VS2005Обновление сайта от VS2005 (Framework 2.0) для VS2008 (2,0 Framework)
Недавно мы обновили сайт, чтобы VS2008 с 2.0 рамки.
При компиляции сайта Ошибки компиляции происходят, так как файл Licenses.licx не компилируется, если он компилируется, чем воспроизводит файл AppLicenses.dll.
В файле licensing.licx, содержащем один класс и пространство имен (то есть OSADirectLicensing.OSADirectLicensedClass, OSADirectLicensing).
Ошибка компиляции выглядит следующим образом:
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)' .
ли VS2008 licenses.licx поддержки или нет?
Мы не должны удалить этот файл с веб-сайта.
Как мы можем решить эту проблему?