VSS with VS.NET

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

    #1

    VSS with VS.NET

    We're installing VSS to use with VS.NET for our team. How does this work --
    will people check out the entire project, or only one file at a time? If
    they only check out, for example, a single page and it's code-behind, how
    are they able to test it? If they check out the entire project, then no one
    else could make changes to the project ...

    Comments? Thanks in advance! - Mark


  • William Ryan

    #2
    Re: VSS with VS.NET

    YOu can check out the whole project, solution, or just individual
    components. You can even put stored procs and Excel/Word docs under it.

    If the solution is checked out, but not all of the components, let's say you
    check out the Solution and Form1, but not form2. I can still check out
    form2. However, I can't add anything to the solution if it's checked out.

    The admin can overide checkouts in case of emergency.

    It's pretty straightforward and a live saver in general.
    "Mark" <field027_nospa m_@umn.edu> wrote in message
    news:eOLf1T9cDH A.2672@tk2msftn gp13.phx.gbl...[color=blue]
    > We're installing VSS to use with VS.NET for our team. How does this[/color]
    work --[color=blue]
    > will people check out the entire project, or only one file at a time? If
    > they only check out, for example, a single page and it's code-behind, how
    > are they able to test it? If they check out the entire project, then no[/color]
    one[color=blue]
    > else could make changes to the project ...
    >
    > Comments? Thanks in advance! - Mark
    >
    >[/color]


    Comment

    • Mark

      #3
      Re: VSS with VS.NET

      Great, so in your example, would you be able to run and debug form2? Or
      would I be the only one able to do that? Assume we're using File Share
      rather than frontpage server extensions.

      Thanks again! Mark
      [color=blue]
      > YOu can check out the whole project, solution, or just individual
      > components. You can even put stored procs and Excel/Word docs under it.
      >
      > If the solution is checked out, but not all of the components, let's say[/color]
      you[color=blue]
      > check out the Solution and Form1, but not form2. I can still check out
      > form2. However, I can't add anything to the solution if it's checked out.
      >
      > The admin can overide checkouts in case of emergency.
      >
      > It's pretty straightforward and a live saver in general.[/color]
      [color=blue]
      > "Mark" <field027_nospa m_@umn.edu> wrote in message[/color]
      [color=blue][color=green]
      > > We're installing VSS to use with VS.NET for our team. How does this[/color]
      > work --[color=green]
      > > will people check out the entire project, or only one file at a time? If
      > > they only check out, for example, a single page and it's code-behind,[/color][/color]
      how[color=blue][color=green]
      > > are they able to test it? If they check out the entire project, then no[/color]
      > one[color=green]
      > > else could make changes to the project ...
      > >
      > > Comments? Thanks in advance! - Mark
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Chris Capel

        #4
        Re: VSS with VS.NET

        The way source control works is that anyone can have every file, even if
        it's not checked out. To have a file checked out means to be able to modify
        the local copy of the file.When a file isn't checked out, the local copy can
        still remain, read-only. VS doesn't have any problem debugging using
        read-only files.

        You can also set up VSS to allow multiple check-outs, if you wish. Then
        multiple people can edit the file at the same time, and when the changes are
        checked in, they are merged. If the merge can't be done automatically, you
        can do it manually with the built-in merge tool.

        All this is totally integrated into VS. This integration is what makes VSS
        such a nice tool for VS users. Otherwise, something like CVS (unix de facto
        source control standard) would probably be preferred.

        Chris

        "Mark" <field027_nospa m_@umn.edu> wrote in message
        news:uJzbek9cDH A.3448@TK2MSFTN GP11.phx.gbl...[color=blue]
        > Great, so in your example, would you be able to run and debug form2? Or
        > would I be the only one able to do that? Assume we're using File Share
        > rather than frontpage server extensions.
        >
        > Thanks again! Mark
        >[color=green]
        > > YOu can check out the whole project, solution, or just individual
        > > components. You can even put stored procs and Excel/Word docs under it.
        > >
        > > If the solution is checked out, but not all of the components, let's say[/color]
        > you[color=green]
        > > check out the Solution and Form1, but not form2. I can still check out
        > > form2. However, I can't add anything to the solution if it's checked[/color][/color]
        out.[color=blue][color=green]
        > >
        > > The admin can overide checkouts in case of emergency.
        > >
        > > It's pretty straightforward and a live saver in general.[/color]
        >[color=green]
        > > "Mark" <field027_nospa m_@umn.edu> wrote in message[/color]
        >[color=green][color=darkred]
        > > > We're installing VSS to use with VS.NET for our team. How does this[/color]
        > > work --[color=darkred]
        > > > will people check out the entire project, or only one file at a time?[/color][/color][/color]
        If[color=blue][color=green][color=darkred]
        > > > they only check out, for example, a single page and it's code-behind,[/color][/color]
        > how[color=green][color=darkred]
        > > > are they able to test it? If they check out the entire project, then[/color][/color][/color]
        no[color=blue][color=green]
        > > one[color=darkred]
        > > > else could make changes to the project ...
        > > >
        > > > Comments? Thanks in advance! - Mark
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Mark

          #5
          Re: VSS with VS.NET

          Cool. So when we each check out the solution, or a read only copy, we'll
          then be working locally on our own local IIS install? Or are you still
          leveraging the central web server that has the live files?

          WAIT - maybe I haven't thought this through. What suddenly makes more sense
          is that the VSS will be on an entirely separate file server running some
          flavor of Windows. We'll check it out, and each run it locally on our own
          IIS 5.0. THEN, when we want to go live with something, we'll just copy the
          necessary .aspx and .dll files over to the live web server.

          Correct? Thanks again! Very useful.

          Mark

          "Chris Capel" <chris@ibanktec h.comnet> wrote in message
          news:OY0k7t9cDH A.2404@TK2MSFTN GP10.phx.gbl...[color=blue]
          > The way source control works is that anyone can have every file, even if
          > it's not checked out. To have a file checked out means to be able to[/color]
          modify[color=blue]
          > the local copy of the file.When a file isn't checked out, the local copy[/color]
          can[color=blue]
          > still remain, read-only. VS doesn't have any problem debugging using
          > read-only files.
          >
          > You can also set up VSS to allow multiple check-outs, if you wish. Then
          > multiple people can edit the file at the same time, and when the changes[/color]
          are[color=blue]
          > checked in, they are merged. If the merge can't be done automatically, you
          > can do it manually with the built-in merge tool.
          >
          > All this is totally integrated into VS. This integration is what makes VSS
          > such a nice tool for VS users. Otherwise, something like CVS (unix de[/color]
          facto[color=blue]
          > source control standard) would probably be preferred.
          >
          > Chris
          >
          > "Mark" <field027_nospa m_@umn.edu> wrote in message
          > news:uJzbek9cDH A.3448@TK2MSFTN GP11.phx.gbl...[color=green]
          > > Great, so in your example, would you be able to run and debug form2? Or
          > > would I be the only one able to do that? Assume we're using File Share
          > > rather than frontpage server extensions.
          > >
          > > Thanks again! Mark
          > >[color=darkred]
          > > > YOu can check out the whole project, solution, or just individual
          > > > components. You can even put stored procs and Excel/Word docs under[/color][/color][/color]
          it.[color=blue][color=green][color=darkred]
          > > >
          > > > If the solution is checked out, but not all of the components, let's[/color][/color][/color]
          say[color=blue][color=green]
          > > you[color=darkred]
          > > > check out the Solution and Form1, but not form2. I can still check[/color][/color][/color]
          out[color=blue][color=green][color=darkred]
          > > > form2. However, I can't add anything to the solution if it's checked[/color][/color]
          > out.[color=green][color=darkred]
          > > >
          > > > The admin can overide checkouts in case of emergency.
          > > >
          > > > It's pretty straightforward and a live saver in general.[/color]
          > >[color=darkred]
          > > > "Mark" <field027_nospa m_@umn.edu> wrote in message[/color]
          > >[color=darkred]
          > > > > We're installing VSS to use with VS.NET for our team. How does this
          > > > work --
          > > > > will people check out the entire project, or only one file at a[/color][/color][/color]
          time?[color=blue]
          > If[color=green][color=darkred]
          > > > > they only check out, for example, a single page and it's[/color][/color][/color]
          code-behind,[color=blue][color=green]
          > > how[color=darkred]
          > > > > are they able to test it? If they check out the entire project, then[/color][/color]
          > no[color=green][color=darkred]
          > > > one
          > > > > else could make changes to the project ...
          > > > >
          > > > > Comments? Thanks in advance! - Mark
          > > > >
          > > > >
          > > >
          > > >[/color]
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Chris Capel

            #6
            Re: VSS with VS.NET

            You have it straight. In general, I'd avoid editing things on a remote
            server, unless you make it clear what *you're* working on and that no one
            else should work with that part of the project at the same time. Otherwise
            development's pretty much impossible. By far, the best solution is to have
            each developer run his/her own copy of IIS, and then use VSS to keep all the
            changes synched. And you're right, VSS can't really be used effectively when
            you're running and developing off of a remote server. If you don't want to
            use a source control at all, having everyone developing off the server would
            probably be more feasible. But I've never done that, so I'm not sure!

            Chris


            "Mark" <field027_nospa m_@umn.edu> wrote in message
            news:#BRe1z9cDH A.2820@tk2msftn gp13.phx.gbl...[color=blue]
            > Cool. So when we each check out the solution, or a read only copy, we'll
            > then be working locally on our own local IIS install? Or are you still
            > leveraging the central web server that has the live files?
            >
            > WAIT - maybe I haven't thought this through. What suddenly makes more[/color]
            sense[color=blue]
            > is that the VSS will be on an entirely separate file server running some
            > flavor of Windows. We'll check it out, and each run it locally on our own
            > IIS 5.0. THEN, when we want to go live with something, we'll just copy[/color]
            the[color=blue]
            > necessary .aspx and .dll files over to the live web server.
            >
            > Correct? Thanks again! Very useful.
            >
            > Mark
            >[/color]


            Comment

            • Mark

              #7
              Re: VSS with VS.NET

              very helpful. Thank you! - Mark


              "Chris Capel" <chris@ibanktec h.comnet> wrote in message
              news:eEOFx79cDH A.2416@TK2MSFTN GP09.phx.gbl...[color=blue]
              > You have it straight. In general, I'd avoid editing things on a remote
              > server, unless you make it clear what *you're* working on and that no one
              > else should work with that part of the project at the same time. Otherwise
              > development's pretty much impossible. By far, the best solution is to have
              > each developer run his/her own copy of IIS, and then use VSS to keep all[/color]
              the[color=blue]
              > changes synched. And you're right, VSS can't really be used effectively[/color]
              when[color=blue]
              > you're running and developing off of a remote server. If you don't want to
              > use a source control at all, having everyone developing off the server[/color]
              would[color=blue]
              > probably be more feasible. But I've never done that, so I'm not sure!
              >
              > Chris
              >
              >
              > "Mark" <field027_nospa m_@umn.edu> wrote in message
              > news:#BRe1z9cDH A.2820@tk2msftn gp13.phx.gbl...[color=green]
              > > Cool. So when we each check out the solution, or a read only copy,[/color][/color]
              we'll[color=blue][color=green]
              > > then be working locally on our own local IIS install? Or are you still
              > > leveraging the central web server that has the live files?
              > >
              > > WAIT - maybe I haven't thought this through. What suddenly makes more[/color]
              > sense[color=green]
              > > is that the VSS will be on an entirely separate file server running some
              > > flavor of Windows. We'll check it out, and each run it locally on our[/color][/color]
              own[color=blue][color=green]
              > > IIS 5.0. THEN, when we want to go live with something, we'll just copy[/color]
              > the[color=green]
              > > necessary .aspx and .dll files over to the live web server.
              > >
              > > Correct? Thanks again! Very useful.
              > >
              > > Mark
              > >[/color]
              >
              >[/color]


              Comment

              Working...