I was asked to solve a system problem of a client in asp.net (Linguaguem in which I do not dominate). Without further ado ...
My Product.aspx file has the following directive
<%@ Import Namespace="Sitefeito.Mkraeprod" %>
Some lines below have this one:
Dim Component as new prod()
To which returns the following error:
BC30002: Type 'prod' is not defined.
I do not understand why, because at the same level of prod.aspx file I have vb / addproduto.vb
that contains:
Namespace Sitefeito.Mkraeprod
Public Class prod
As an attempt to resolve:
In the web.config file (in the project root) I added
<pages>
<namespaces>
<add namespace="Sitefeito.Mkraeprod" />
</namespaces>
</pages>
As seen in this tutorial: link
But unsuccessful