Results 1 to 8 of 8

Thread: Compile Asp .net

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2003
    Posts
    17

    Compile Asp .net

    Hello people
    Ineed to Compiler ASP .NET , its possible to use a command , but i dont want use AspNetCompiler.


    thnks

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: Compile Asp .net

    From dos, the vcc command usually does the trick.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2003
    Posts
    17

    Re: Compile Asp .net

    whats vcc?

  4. #4
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: Compile Asp .net

    It's me on too much caffeine.

    The correct commands (my apologies) are:
    csc
    vbc


    They take parameters, but if you type them in a dos window by themselves, they will tell you the parameters they take.

    You need to add the location of these files to your PATH system environment setting.

    So, let's assume you are running ASP.NET v1.1.

    The location of the install for that version is:
    C:\Windows\Microsoft.Net\Framework\v1.1.4322\
    (Windows might be WINNT on some systems)

    So, what you do is open the SYSTEM control panel item (shortcut to get there is the WINDOWS key and the PAUSE/BREAK key)
    Go to the Advanced tab
    Click ENVIRONMENT VARIABLES (button)
    Find the PATH variable under SYSTEM VARIABLES
    Double click to edit it.
    In the VALUE section of the resulting screen, add to the end of that line, a semicolon and the path to the install, or using my example, that would be:

    ;C:\WINDOWS\Microsoft.Net\Framework\v1.1.4322

    Then, the next time you start in to a DOS Shell, the csc and vbc compilers should run for you.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  5. #5
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Compile Asp .net

    Quote Originally Posted by mlhsoft
    Hello people
    Ineed to Compiler ASP .NET , its possible to use a command , but i dont want use AspNetCompiler.


    thnks
    Why not?

    WOka

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Jun 2003
    Posts
    17

    Re: Compile Asp .net

    I want use FXCOP with ASP Ptoject (ASPNET2.0), if i use the ASPNETCOMPILER i dont Know whats the correct DLL

  7. #7
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: Compile Asp .net

    Know know what's the correct DLL...I still don't understand?
    I can't really help you with yopurt question, I am just trying to find out why u can't use the ASPNET compiler...

    Woka

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Jun 2003
    Posts
    17

    Re: Compile Asp .net

    IF YOU USE ASPNETCOMPILER GENERATES DIFFERENT dllS ,THEN I DON'T KNOW WHATS THE DLL OF PROJECT ASP.NET(2.0) FOR EXAMPLE: THE NAME OF MY PROJECT ASP IS COUNT.WEB THEN WHATS THE NAME OF MY DLL COUNT.WEB.DLL OR APP_CODE.DLL

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