asp.net - VB.NET Web Form Project Reference Issue -
I have a project solution that has several classroom library projects and a main web application in which the project reference for other class library projects is .
Class libraries have 2.0 frameworks, but the web application has a framework of 4.0.
For example
Ecommerce. GoogleCheckout (Class Library / 2.0 Framework) Ecommerce IV1. Core (Class Library / 2.0 Framework) Website (Web Application / 4.0 Framework) I do not have the framework for the class library project Can change because this project has already been developed and has many dependencies, I have got this project for maintenance.
The problem is that when I add new classes in class from one class to another, prepare the Library Project and project separately, but it is compiled completely, but when I complete the solution I create the following error: -
Type 'ecommerce.iv 1.core.cnlxxxxxxxxx' is not defined. I've added the appropriate import statement to access project namespaces -
Import ecommerce. IV1.Core < P> All other classes from the same directory / namespace are properly accessible in the web application project Please tell me if any more help or guidance will be appreciated because it requires more information because my Has a very straightforward deadline.
Regards,
standard
for the following configuration Check in your app.config:
& lt; Configuration & gt; & Lt; Startup Usage Legacy V2RuntimeActivationPolicy = "true" & gt; & Lt; Supported serial version = "v4.0" /> & Lt; / Startup & gt; & Lt; / Configuration & gt; Make sure that the use V2RuntimeActivationPolicy is set to true.
Comments
Post a Comment