Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not load type 'MyProject.Global'
Message
 
 
À
09/10/2003 19:01:19
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00837143
Message ID:
00837225
Vues:
28
>>Forgot to add, that obviously the global.asax.vb should have class Global.
>>
>>That is where the Inherits directive gets the entire name.
>
>The first four lines of global.asax.vb are:
>
>
>Imports System.Web
>Imports System.Web.SessionState
>
>Public Class Global
>    Inherits System.Web.HttpApplication
>
I can see from another message that you have solved the problem.

But, just to answer your question, I use CS so my global.asax.cx has the line where namespace is defined as:

namespace MyProject

I am sure it is a little different in VB.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform