Error loading Global

  • Thread starter Thread starter JTrigger
  • Start date Start date
J

JTrigger

When I compile using the IDE, my web project works just fine. When I
compile using csc.exe I get an error trying to brows the web project. It
gives me an error about Glocal.asax not able to load a Reference in Global.
I used resgen on the global.asax.resx and then included it as a resourse.
Am I missing something else? What is going wrong?

Thanks,
Jim
 
Look at the assemblies referenced in the IDE. You will need to add a /r:
portion to the compile statement for each of these assemblies. With VB.NET,
you have more references already coded into the compiler, reducing the
bombs.

I would think that it would blow up on compile, however. Are you getting any
warnings? Are you using some form of late binding (reflection)?

RULE OF THUMB: Compile with warnings as errors and fix all warnings prior to
release. While not all warnings are critical, if they are treated as such,
you will not have an issue.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Hi Jim,

I'm viewing this thread and found that this is a duplicated one with
another in
microsoft.public.dotnet.framework.aspnet group and Cowboy have replied in
both threads. Do you feel it convenitent that we continue to discuss in
that one? If so, please feel free to post there if you need any help.
Thanks.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top