I created a new Website in VS2008 (file system or local IIS) which I want to publish to a remote server. So I do Tools,PostgreSQL,License information... next I fix the missing license file. So far, so good. The licenses.licx contains:
Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql, Version=4.55.37.0, Culture=neutral, PublicKeyToken=09af7300eec23701
And when try to "Build runtime licenses" from the context menu on licenses.licx, the following error occurs:
Error 1 ProjectPath\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
The last part of the error is in Czech, stating something like:
An attempt was made to read data in incorrect format.
(Byl učiněn pokus načíst program v nesprávném formátu.)
Any idea?
ASP.NET Licensing problem
This is a Visual Studio issue. Probably something is wrong with its installation. Please refer to MSDN ( http://msdn.microsoft.com/en-us/library ... ks.lc.aspx ). Maybe this will help.
I have the same problem when I try to build runtime license:
C:\Users\William\Documents\Visual Studio 2008\WebSites\PCFS\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I am at a loss?
C:\Users\William\Documents\Visual Studio 2008\WebSites\PCFS\licenses.licx: Could not transform licenses file into a binary resource. Could not load file or assembly 'lc, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I am at a loss?