Groups | Blog | Home
all groups > asp.net building controls > february 2005 >

asp.net building controls : Compiling a CustomControl.vb file



AL Cs
2/27/2005 6:13:04 AM
Hi
When writing custom controls, how exactly is a .vb file compiled
(manually)??
As you understand I'm new to this, and will be greatful for any (detailed)
help and explanation.
recoil NO[at]SPAM community.nospam
3/1/2005 1:27:20 PM
When you say "manually" what exactly do you mean?

Are you talking about the process of compiling it by hand?
or are you talking about how to deploy it to a server where you are
unable to compile everything into a single assembly and deploy to the
bin directory.
If you are referring to the last one I believe all you have to do is
change the CodeBehind attribute in your <% Control/page directive to a
Src and make sure that the src is distributed. I believe that this src
is then read and it is compiled automatically whenever a change is
detected. This compiled format is then cached for x amount of time.
AL Cs
3/2/2005 11:13:02 AM
Hi
Thank you for your time on this.
Actually, I do have problems with both of them, but it is the "hand compiled
process" I am trying to handle and learn.
AL Cs


[quoted text, click to view]
recoil NO[at]SPAM community.nospam
3/2/2005 12:14:44 PM
Tutotirals on using the Microsoft Visual Basic.NET Compiler from the
command prompt.
http://www.publicjoe.f9.co.uk/vbnet/vb02a.html
http://www.publicjoe.f9.co.uk/vbnet/vb02b.html

Complete MSDN VB.NET Compiler Options Reference
http://msdn.microsoft.com/library/en-us/vblr7/html/valrfVBCompilerOptionsListedAlphabetically.asp?frame=true
http://msdn.microsoft.com/library/en-us/vblr7/html/vaoriVisualBasicCompilerOptions.asp

I would also advise that if you are doing any sort of serious compiling
you check out purchasing VB.NET Seperately. It should cost about 99 USD
(seperately). If you go to any academic acadamies, such as school,
college and are using it for academic purposes only you should see if
your educational institution provides you with these tools for free or
a ta greatly discounted price.

Alternatively Microsoft is currently offering the VB.NET Express 2005
beta as free if you are in a learning stage.
AL Cs
3/3/2005 11:39:34 AM
Thanks a lot. This was helpful.
AL Cs

[quoted text, click to view]
AddThis Social Bookmark Button