Build with every change to the code?!?!?

D

David Lozzi

I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little line I change, I have to build the application. Why is that? Is it by design? When I first started with the development, I never had to Build it, now it is all of the time!!

Thanks!
 
G

Guest

Hi David,
Whenever you are writing code in code behind page (.aspx.vb/.aspx.cs), you
must build/re-build the application, and if you are writing any code in your
desing page (.aspx), then you dont need to build/re-build your application.
(This is for the version 1.1/VS.NET 2003. I have no idea about VS.NET 2005. I
guess in 2005, it is just enough if you save the code without building the
code.)

Whenever you build your application a DLL file is created in /bin folder. So
when you request a page from browser, it gets the code from this DLL. Hence
forth, whenever you change your code, you must build/re-build your entire
application.

Hope this make sense.

Thanks & regards,
K.V.Ravindra Kumar
 
P

Peter Rilling

Not sure what you mean by "never had to build it". If you edit a text file, do you not have to save it for it to persist. I am curious as to had behavior you expect when you modify code files since building is the way the binaries are created.

I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little line I change, I have to build the application. Why is that? Is it by design? When I first started with the development, I never had to Build it, now it is all of the time!!

Thanks!
 
C

CMA

hi,

I think this is because you don't have a good idea of .NET. try to read more
articles from MSDN like asp.net architecture.

this is somewhat different from ASP
the application will be compiled before start. and if you are using code
behind files.

regards,
CMA


I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little
line I change, I have to build the application. Why is that? Is it by
design? When I first started with the development, I never had to Build it,
now it is all of the time!!

Thanks!
 
P

Peter Rilling

Oh, I see from the both posts what you mean.

Not sure what you mean by "never had to build it". If you edit a text file, do you not have to save it for it to persist. I am curious as to had behavior you expect when you modify code files since building is the way the binaries are created.

I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little line I change, I have to build the application. Why is that? Is it by design? When I first started with the development, I never had to Build it, now it is all of the time!!

Thanks!
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top