Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

ASP.NET - Could not load type Global.asax compilation error

$
0
0

I have a website which was compiling fine.

It has a Global.asax file of the following code:

<%@ Application Codebehind="Global.asax.cs" Inherits="MyClass.Global" %>

Now it is throwing an error: Could not load type 'MyClass.Global'  in the file Global.asax file

I have seen a solution whereby one would change the output folder from: 

Project Properties

 and set the 

build>output

 folder to 

bin/

 which was 

bin/Debug

I just can't find this menu. I saw Property Pages which has a build option - but I can't find anywhere to set the build output to the bin folder.

Can you please guide me to the correct menu.

Thanks.


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>