How do i compile my .ascx files(user controls) ?? I know it's to be done with a command line, but how exactly ?
Printable View
How do i compile my .ascx files(user controls) ?? I know it's to be done with a command line, but how exactly ?
you dont. .ascx files are compiled on the run when the site is first loaded
just compile all your vb files with visual studio or a .bat file
something like
vbc /t:library /out:your.dll /r:System.dll,System.Web.dll *.vb >> your_result.txt
a more complete with options
rem Use this batch to recompile DotNetNuke without using visual studio
rem
rem Compiling DotNetNuke.dll
vbc /t:library /optimize /out:bin\DotNetNuke.dll *.vb /recurse:Admin\*.vb Components\*.vb controls\*.vb /recurse:DesktopModules\*.vb /r:System.web.dll /r:System.data.dll /r:system.dll /r:System.Web.Mobile.dll /r:System.XML.dll /r:system.drawing.dll /libpath:C:\WINNT\Microsoft.NET\Framework\v1.0.3705\ /imports:system,system.web,Microsoft.VisualBasic,system.data,system.xml,system.data.common,system.dat a.oledb,system.data.sqlclient,system.web.ui,system.web.ui.design,system.web.ui.htmlcontrols,system.d rawing.image,system.Web.UI.WebControls,system.collections,system.web.mail /r:bin\freetextbox.dll /r:bin\SolpartWebControls.dll /optionexplicit-
That answer is bogus. You can't compile .ascx.
I don't speak of .as?x , but of *.vb
you cannot compile css too that's right ;-))