Results 1 to 5 of 5

Thread: How to compile !?

  1. #1

    Thread Starter
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994

    How to compile !?

    How do i compile my .ascx files(user controls) ?? I know it's to be done with a command line, but how exactly ?
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you dont. .ascx files are compiled on the run when the site is first loaded
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    New Member
    Join Date
    Jun 2003
    Posts
    9

    VB

    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 /recurseesktopModules\*.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-
    angiras

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    That answer is bogus. You can't compile .ascx.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5
    New Member
    Join Date
    Jun 2003
    Posts
    9

    css too

    I don't speak of .as?x , but of *.vb
    you cannot compile css too that's right ;-))
    angiras

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width