Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / June 2004

Tip: Looking for answers? Try searching our database.

Compiling an ASP.net application from the command line

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dinesh - 11 Jun 2004 01:50 GMT
I'm trying to compile an ASP.net application that uses aspx, aspx.cs (codebehind) and class files (its the ibuyspy sample ecomm application). What's the proper command to use so that the ASP files will recognize the compiled DLL file?
Neo - 21 Jun 2004 11:55 GMT
The .NET application's .dll needn't register to system. But you need put the .dll file into bin directory of your site root. You need to set your site directory to Virtual Directory or choose it and create application in property windows from IIS manager.
Signature

let's open source together!

> I'm trying to compile an ASP.net application that uses aspx, aspx.cs (codebehind) and class files (its the ibuyspy sample ecomm application). What's the proper command to use so that the ASP files will recognize the compiled DLL file?
TheInternetProgrammer.com - 24 Jun 2004 08:41 GMT
go to the directory where your file is kept by typing:
cd c:\yourdirectorypath

then to compile your vb file type:
vbc /t:library /r:System.dll /r:System.Web.dll YourVBProgram.vb

That should create a new .dll file to stick in your bin directory.

Let me know if this works for you.  I can be reached through http://www.theinternetprogrammer.com

Good Luck.

> The .NET application's .dll needn't register to system. But you need put the .dll file into bin directory of your site root. You need to set your site directory to Virtual Directory or choose it and create application in property windows from IIS manager.
>
> > I'm trying to compile an ASP.net application that uses aspx, aspx.cs (codebehind) and class files (its the ibuyspy sample ecomm application). What's the proper command to use so that the ASP files will recognize the compiled DLL file?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.