Is there a way to precompile usercontrols using the web deployment project? I would like to precompile them into a dll so that the usercontrols can be used in multiple projects without having to deploy the ascx files.
One typical way would be to put the controls in a separate project, compile and version down to an assembly and reference that. You could also potentially turn them into server controls, this is a bit easier than in previous versions and there is a lot
of good info out there about how to do it. Try
http://www.nikhilk.net/ for some examples.
cs
Curtis Swartzentruber / CLARITY CONSULTING
http://blogs.claritycon.com/blogs/curtis_swartzentruber
Work for us: http://www.claritycon.com/careers/
Personal Blog: http://feeds.feedburner.com/swartzentruber/QFjK
TonyBunce
Member
242 Points
46 Posts
Precompile Usercontrols
Apr 18, 2006 04:29 AM|LINK
skills0
Participant
945 Points
179 Posts
Re: Precompile Usercontrols
Apr 19, 2006 04:01 PM|LINK
One typical way would be to put the controls in a separate project, compile and version down to an assembly and reference that. You could also potentially turn them into server controls, this is a bit easier than in previous versions and there is a lot of good info out there about how to do it. Try http://www.nikhilk.net/ for some examples.
cs
http://blogs.claritycon.com/blogs/curtis_swartzentruber
Work for us: http://www.claritycon.com/careers/
Personal Blog: http://feeds.feedburner.com/swartzentruber/QFjK