Compiling single page in VS.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SS

    Compiling single page in VS.NET

    Hi,

    How can I compile only the page/class that I am currently working on in
    VS.NET and not the entire project?.

    Thx

    Sal


  • Alex Papadimoulis

    #2
    Re: Compiling single page in VS.NET

    Sal,

    You can't. A compilation is an assembly of all the classes within your
    project, hence the entire project needs to be compiled.

    Alex

    "SS" <saleem.qamar@v erizon.net> wrote in message
    news:xuNlc.1504 94$L31.3422@nwr ddc01.gnilink.n et...[color=blue]
    > Hi,
    >
    > How can I compile only the page/class that I am currently working on in
    > VS.NET and not the entire project?.
    >
    > Thx
    >
    > Sal
    >
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Compiling single page in VS.NET

      * "SS" <saleem.qamar@v erizon.net> scripsit:[color=blue]
      > How can I compile only the page/class that I am currently working on in
      > VS.NET and not the entire project?.[/color]

      What would you expect the result to be? A DLL? You can create a new
      project and only the particular class and compile it, but I doubt that
      this makes much sense.

      --
      Herfried K. Wagner [MVP]
      <URL:http://dotnet.mvps.org/>

      Comment

      • Steve McLellan

        #4
        Re: Compiling single page in VS.NET

        Ctrl + F7 works for me; I can't remember if I set that up or it's default.
        If it doesn't work go to the Options, find the Keyboard page and pick a
        shortcut for Build.Compile.

        This certainly works for C# and C++, probably VB too.

        Steve

        "SS" <saleem.qamar@v erizon.net> wrote in message
        news:xuNlc.1504 94$L31.3422@nwr ddc01.gnilink.n et...[color=blue]
        > Hi,
        >
        > How can I compile only the page/class that I am currently working on in
        > VS.NET and not the entire project?.
        >
        > Thx
        >
        > Sal
        >
        >[/color]


        Comment

        Working...