Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: naveed shahid
  Where is naveed shahid?
 
 Pakistan
 naveed shahid
 Tags
Subject: RE: ASP.NET Compile & Build Web Application
Thread ID: 167557 Message ID: 167558 # Views: 52 # Ratings: 0
Version: Not Applicable Category: .NET
Date: Thursday, April 10, 2008 9:51:15 AM         
   


> Dear Eric,
>
> I was creating my web applications using ASP.NET 1.1 and upload them to hosting servers and had no problem.
>
> I created a new application in ASP.NET 2.0 and build my project accordingly. But I am not seeing the library file of my project myProj.dll in application BIN folder. While, this application running well in my PC. I uploaded my application to web hosting server and access the site with the domain name. The following error occured:
>
> Parser Error Message: Could not load type mySupportClass.index'.
>
> Source Error:
>
> Line 1: < % @ Page Language="vb" AutoEventWireup="false" Inherits="Test_mySupportClass.index" CodeFile="index.aspx.vb" % >
> Line 2:
>
> I google the above error but failed. I think if I copy the .dll file to Bin folder it will resolve. But the debugger of VS 2005 is not making it in application Bin Folder.
>
> Can you help me out?
>
> naveed

By default, VS2005 creates an dll assembly for every aspx or ascx file in your project. IMO, your best option is to upgrade to the latest service pack for VS2005 and then convert your project to a Web Application Project. For this type of project, VS2005 will generate a single assembly for the entire web application, just like it did in VS2003.

You may also want to use the Publish command from the Build menu. VS2005 will compile and copy all required files to the folder you specify.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts



COMPLETE THREAD
ASP.NET Compile & Build Web Application Posted by naveed shahid @ 4/10/2008 9:26:48 AM
RE: ASP.NET Compile & Build Web Application Posted by Eric den Doop @ 4/10/2008 9:51:15 AM
RE: ASP.NET Compile & Build Web Application Posted by naveed shahid @ 4/10/2008 10:51:33 AM
RE: ASP.NET Compile & Build Web Application Posted by Eric den Doop @ 4/10/2008 11:36:22 AM
RE: ASP.NET Compile & Build Web Application Posted by naveed shahid @ 4/18/2008 10:09:26 AM
RE: ASP.NET Compile & Build Web Application Posted by naveed shahid @ 4/19/2008 9:09:18 PM