License Problem for C# Console App
Posted: Mon 26 May 2014 16:02
I cannot run an install for a C# Console App using dotConnect. The error is
When I run the License Information in the Tools menu, there are no errors. In other words... "The project has the correct licenses.licx file". The licenses.licx file is in the of the project, it is an Embedded Resource (this was default):
Contents of licenses.licx:
Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql
The app.config looks like this..
What is going wrong!?!
I tried following the licensing instructions here http://www.devart.com/dotconnect/postgr ... nsing.html but it does not work.Unable to install or run the application. The application requires that assemply Devart.Data.PostgreSql Version 7.3.146.0 be installed in the Global Assembly Cache (GAC) first
When I run the License Information in the Tools menu, there are no errors. In other words... "The project has the correct licenses.licx file". The licenses.licx file is in the of the project, it is an Embedded Resource (this was default):
Contents of licenses.licx:
Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql
The app.config looks like this..
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<connectionStrings>
<add name="sotestEntitiesConnectionString" connectionString="metadata=res://RelevantSiteDirectMigrate/sotestModel.csdl|res://RelevantSiteDirectMigrate/sotestModel.ssdl|res://RelevantSiteDirectMigrate/sotestModel.msl;provider=Devart.Data.PostgreSql;provider connection string=" **** data removed **** Persist Security Info=True;Initial Schema=public"" providerName="System.Data.EntityClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v11.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="Devart.Data.PostgreSql" type="Devart.Data.PostgreSql.Entity.PgSqlEntityProviderServices, Devart.Data.PostgreSql.Entity, Version=7.3.146.6, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</providers>
</entityFramework>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
What is going wrong!?!