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

  • Thread starter Thread starter David Lozzi
  • Start date Start date
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!
 
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
 
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!
 
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!
 
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!
 
Back
Top