Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Visual Studio.NET, Project inside Solution OR Solution inside Project?

Visual Studio.NET, Project inside Solution OR Solution inside Project?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiodiscussiondatabase
44 Posts 16 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Big Daddy Farang

    nikunjbhatt84 wrote:

    In the previous versions, VS 6 and earlier, there was nothing like Solution; programmer had to create multiple projects to address a system.

    Actually there was a counterpart to the .sln file. It was the .dsw or workspace file. It contained the .dsp or project files. Same concept, new names. Case of rum, case of rum. ;)

    BDF I often make very large prints from unexposed film, and every one of them turns out to be a picture of myself as I once dreamed I would be. -- BillWoodruff

    N Offline
    N Offline
    Nikunj_Bhatt
    wrote on last edited by
    #21

    Big Daddy Farang wrote:

    It was the .dsw or workspace file.

    I looked at a project's folder of VB 6 but I didn't find any .dsw file. I googled about the extension and found these two helpful: http://www.fileinfo.com/extension/dsw[^] and http://extension.nirsoft.net/dsw[^]. It seems .dsw is only applicable to VC++ projects, and as I have VB projects, no file is there with .dsw extension. However VB 6 project has .vbw workspace file and it just holds dimensions and/or positions of opened windows/form's of the project, therefore it is not solution file. So, if you are talking about the workspace file of VC++ similar to that of VB then you are missing something :)

    B 1 Reply Last reply
    0
    • N Nikunj_Bhatt

      Please explain how the idea of Project inside Solution is right. And how my focus is on completely irrelevant matter?

      F Offline
      F Offline
      fjdiewornncalwe
      wrote on last edited by
      #22
      1. Solutions contain projects so it only makes sense to have the file structure mirror that relationship. 2) It's set up that way by default because that is how most people using the software view this relationship. 3) It's irrelevant because if you don't like it you can change it and do it any which way you like. You could put your solution anywhere you like and your projects anywhere you like. It would make maintenance a nightmare but you can do it.

      I wasn't, now I am, then I won't be anymore.

      N 1 Reply Last reply
      0
      • N Nikunj_Bhatt

        What do you think about Visual Studio.NET's project and solution structure? Presently, if programmer start a project, e.g. a Windows Application in VB.NET, VS.NET creates Solution and a Project inside it; and later on multiple Projects can be added in the solution. Do you think this is what it should be or VS.NET should create a Project and then add Solution inside it? I think the present structure is not appropriate. VS.NET should create Project and then Solution inside it. The reason behind this opinion is that, programmer has a project/system (problem(s)) and there could be multiple solutions to address one or more of the problems. What I mean is, to build a system which manages data, e.g. a Library, there could be multiple solutions; one for database access, another for user interface, next regarding creating a setup, etc. (What Microsoft could have thought about it when designing VS.NET? In the previous versions, VS 6 and earlier, there was nothing like Solution; programmer had to create multiple projects to address a system. And when Microsoft designed VS.NET, to make the new studio compatible with older structure, they created wrapper, known as Solution, to group projects related to each other. You would be aware that project can be opened directly in VS.NET regardless of existence of its Solution file, the Solution file is automatically created and the opened project is included in it.) So, please, share your thoughts, Solution inside Project or Project inside Solution?

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #23

        A is an object that compiles to an assembly (an .exe or a .dll).  A collection of objects of type A is called B.  Instances of type A expose a specific family of functionality.  Collectively, these instances (grouped into an instance of type B) solve a larger problem.  It's important to understand that a complex problem is solved by addressing several smaller problems. In Visual Studio, A is called a "project" and B is called a "solution".  These are names that are accepted and understood by the Microsoft developer community in general. /ravi

        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

        N 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          Bacon. Lots and lots of bacon. Pretty much the answer to anything.

          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

          M Offline
          M Offline
          Mladen Jankovic
          wrote on last edited by
          #24

          Especially heart problems :)

          GALex

          1 Reply Last reply
          0
          • N Nikunj_Bhatt

            Big Daddy Farang wrote:

            It was the .dsw or workspace file.

            I looked at a project's folder of VB 6 but I didn't find any .dsw file. I googled about the extension and found these two helpful: http://www.fileinfo.com/extension/dsw[^] and http://extension.nirsoft.net/dsw[^]. It seems .dsw is only applicable to VC++ projects, and as I have VB projects, no file is there with .dsw extension. However VB 6 project has .vbw workspace file and it just holds dimensions and/or positions of opened windows/form's of the project, therefore it is not solution file. So, if you are talking about the workspace file of VC++ similar to that of VB then you are missing something :)

            B Offline
            B Offline
            Big Daddy Farang
            wrote on last edited by
            #25

            nikunjbhatt84 wrote:

            you are missing something

            Lot's of things, actually! :laugh: I never used VB 6, so I didn't know that. VS 6 would also allow you to open the .dsp project file directly, as you described earlier, and create a .dsw file for you if it didn't already exist. Assuming VC ++, of course. Hopefully this provided a bit of historical perspective for both of us. :)

            BDF I often make very large prints from unexposed film, and every one of them turns out to be a picture of myself as I once dreamed I would be. -- BillWoodruff

            1 Reply Last reply
            0
            • N Nikunj_Bhatt

              What do you think about Visual Studio.NET's project and solution structure? Presently, if programmer start a project, e.g. a Windows Application in VB.NET, VS.NET creates Solution and a Project inside it; and later on multiple Projects can be added in the solution. Do you think this is what it should be or VS.NET should create a Project and then add Solution inside it? I think the present structure is not appropriate. VS.NET should create Project and then Solution inside it. The reason behind this opinion is that, programmer has a project/system (problem(s)) and there could be multiple solutions to address one or more of the problems. What I mean is, to build a system which manages data, e.g. a Library, there could be multiple solutions; one for database access, another for user interface, next regarding creating a setup, etc. (What Microsoft could have thought about it when designing VS.NET? In the previous versions, VS 6 and earlier, there was nothing like Solution; programmer had to create multiple projects to address a system. And when Microsoft designed VS.NET, to make the new studio compatible with older structure, they created wrapper, known as Solution, to group projects related to each other. You would be aware that project can be opened directly in VS.NET regardless of existence of its Solution file, the Solution file is automatically created and the opened project is included in it.) So, please, share your thoughts, Solution inside Project or Project inside Solution?

              S Offline
              S Offline
              Shelby Robertson
              wrote on last edited by
              #26

              "Gold Jacket, Green Jacket, who gives a sh*t." - Happy Gilmore

              CPallini wrote:

              You cannot argue with agile people so just take the extreme approach and shoot him. :Smile:

              1 Reply Last reply
              0
              • R R Giskard Reventlov

                I have a solution which is made up of 1 to n projects; not a project with 1 to n solutions. I like it: sounds right. You sound wrong and you're focusing on a completely irrelevant matter.

                "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                E Offline
                E Offline
                Espen Harlinn
                wrote on last edited by
                #27

                :thumbsup: I am looking forward to your reply to his follow-up question ... as a good laugh never hurts ;)

                Espen Harlinn Principal Architect, Software - Goodtech Projects & Services AS Projects promoting programming in "natural language" are intrinsically doomed to fail. Edsger W.Dijkstra

                1 Reply Last reply
                0
                • N Nikunj_Bhatt

                  Please explain how the idea of Project inside Solution is right. And how my focus is on completely irrelevant matter?

                  R Offline
                  R Offline
                  R Giskard Reventlov
                  wrote on last edited by
                  #28

                  Think of it as Turducken[^] with the solution as a turkey, and so on.

                  nikunjbhatt84 wrote:

                  And how my focus is on completely irrelevant matter?

                  Have you got nothing better to do? This is semantic soup and pretty rancid at that. Go and do some real work.

                  "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                  N 1 Reply Last reply
                  0
                  • R R Giskard Reventlov

                    Think of it as Turducken[^] with the solution as a turkey, and so on.

                    nikunjbhatt84 wrote:

                    And how my focus is on completely irrelevant matter?

                    Have you got nothing better to do? This is semantic soup and pretty rancid at that. Go and do some real work.

                    "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                    N Offline
                    N Offline
                    Nikunj_Bhatt
                    wrote on last edited by
                    #29

                    mark merrens wrote:

                    Think of it as Turducken[^] with the solution as a turkey

                    I can't understand anything from this, I am an Indian and pure vegetarian. I can't understand how my thread is related with Turducken!

                    mark merrens wrote:

                    Have you got nothing better to do?

                    I think this is Lounge and it is really made for time-pass activities and not-so-important discussions :-D . Oh, but, I think you are coming here for some sincere and/or serious work and going to office just for leisure :cool:!

                    R 1 Reply Last reply
                    0
                    • F fjdiewornncalwe
                      1. Solutions contain projects so it only makes sense to have the file structure mirror that relationship. 2) It's set up that way by default because that is how most people using the software view this relationship. 3) It's irrelevant because if you don't like it you can change it and do it any which way you like. You could put your solution anywhere you like and your projects anywhere you like. It would make maintenance a nightmare but you can do it.

                      I wasn't, now I am, then I won't be anymore.

                      N Offline
                      N Offline
                      Nikunj_Bhatt
                      wrote on last edited by
                      #30

                      :thumbsup: Hmmm, you have quite good points :)

                      1 Reply Last reply
                      0
                      • G gavindon

                        42

                        I'm beginning to hate the news...the world was much nicer when I was illiterate Be careful which toes you step on today, they might be connected to the foot that kicks your butt tomorrow. You can't scare me, I have children.

                        N Offline
                        N Offline
                        Nikunj_Bhatt
                        wrote on last edited by
                        #31

                        Another reply like "Orange." (see the first reply to this thread), bounced off of my head :(

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Bacon. Lots and lots of bacon. Pretty much the answer to anything.

                          Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                          N Offline
                          N Offline
                          Nikunj_Bhatt
                          wrote on last edited by
                          #32

                          Yet another reply like "Orange." and "42" (see the first reply to this thread, and another somewhere), bounced off of my head :(

                          OriginalGriffO 1 Reply Last reply
                          0
                          • L Lost User

                            I really don't care very much about what they call those things as long as the names are used consistently and everybody knows what is meant. I have been working on a game just for fun for a while and its solution folder contains 43 separate projects. All this is needed to build two web applications (the game's application logic and data access), four webservices (one each for administration and users for both web applications), a WPF administration client and an XNA user client to play the game. Many of those projects are modules which have been developed in separate solutions. I just need the 3D engine itself for the game and only import this project into the game's solution. Other stuff related to the 3D engine (like tests or related tools) remain in the 3D engine's solution and need not be included into the game. And, since I'm a fan of making things modular, there are quite a few separate solutions like that. I think I really can live with the way things were named.

                            N Offline
                            N Offline
                            Nikunj_Bhatt
                            wrote on last edited by
                            #33

                            CDP1802 wrote:

                            I think I really can live with the way things were named.

                            Hmmm, just I am the one who doesn't "generally" like to follow traditions.

                            1 Reply Last reply
                            0
                            • R Ravi Bhavnani

                              A is an object that compiles to an assembly (an .exe or a .dll).  A collection of objects of type A is called B.  Instances of type A expose a specific family of functionality.  Collectively, these instances (grouped into an instance of type B) solve a larger problem.  It's important to understand that a complex problem is solved by addressing several smaller problems. In Visual Studio, A is called a "project" and B is called a "solution".  These are names that are accepted and understood by the Microsoft developer community in general. /ravi

                              My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                              N Offline
                              N Offline
                              Nikunj_Bhatt
                              wrote on last edited by
                              #34

                              :thumbsup: You too have good points. thanks.

                              1 Reply Last reply
                              0
                              • N Nikunj_Bhatt

                                Yet another reply like "Orange." and "42" (see the first reply to this thread, and another somewhere), bounced off of my head :(

                                OriginalGriffO Offline
                                OriginalGriffO Offline
                                OriginalGriff
                                wrote on last edited by
                                #35

                                Nonsense! "orange" is a colour or a flavour enhancer for Duck, not a Delicious Pig Product!

                                Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                N 1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  Nonsense! "orange" is a colour or a flavour enhancer for Duck, not a Delicious Pig Product!

                                  Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                  N Offline
                                  N Offline
                                  Nikunj_Bhatt
                                  wrote on last edited by
                                  #36

                                  Ok. I am pure vegetarian, so I know almost nothing about non-veg products. ;P

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • N Nikunj_Bhatt

                                    Ok. I am pure vegetarian, so I know almost nothing about non-veg products. ;P

                                    OriginalGriffO Offline
                                    OriginalGriffO Offline
                                    OriginalGriff
                                    wrote on last edited by
                                    #37

                                    nikunjbhatt84 wrote:

                                    I am pure vegetarian

                                    I'm so sorry to hear that. Is there any cure? ;P

                                    Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                    N 1 Reply Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      nikunjbhatt84 wrote:

                                      I am pure vegetarian

                                      I'm so sorry to hear that. Is there any cure? ;P

                                      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                      N Offline
                                      N Offline
                                      Nikunj_Bhatt
                                      wrote on last edited by
                                      #38

                                      Yes, the cure is all non-vegetarian eat all other non-vegetarians, and killing the last remaining non-vegetarian by a vegetarian. ;P

                                      OriginalGriffO 1 Reply Last reply
                                      0
                                      • N Nikunj_Bhatt

                                        Yes, the cure is all non-vegetarian eat all other non-vegetarians, and killing the last remaining non-vegetarian by a vegetarian. ;P

                                        OriginalGriffO Offline
                                        OriginalGriffO Offline
                                        OriginalGriff
                                        wrote on last edited by
                                        #39

                                        I don't think it works like that! :laugh:

                                        Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                        1 Reply Last reply
                                        0
                                        • N Nikunj_Bhatt

                                          mark merrens wrote:

                                          Think of it as Turducken[^] with the solution as a turkey

                                          I can't understand anything from this, I am an Indian and pure vegetarian. I can't understand how my thread is related with Turducken!

                                          mark merrens wrote:

                                          Have you got nothing better to do?

                                          I think this is Lounge and it is really made for time-pass activities and not-so-important discussions :-D . Oh, but, I think you are coming here for some sincere and/or serious work and going to office just for leisure :cool:!

                                          R Offline
                                          R Offline
                                          R Giskard Reventlov
                                          wrote on last edited by
                                          #40

                                          nikunjbhatt84 wrote:

                                          I can't understand anything from this, I am an Indian and pure vegetarian. I can't understand how my thread is related with Turducken!

                                          Seriously? a) how can I know (or care) that you're a veggie? b) it's not about the food, it's about the process.

                                          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                                          N 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups