Visual Studio.NET, Project inside Solution OR Solution inside Project?
-
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
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 :)
-
Please explain how the idea of Project inside Solution is right. And how my focus is on completely irrelevant matter?
- 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.
-
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?
A
is an object that compiles to an assembly (an.exe
or a.dll
). A collection of objects of typeA
is calledB
. Instances of typeA
expose a specific family of functionality. Collectively, these instances (grouped into an instance of typeB
) 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" andB
is called a "solution". These are names that are accepted and understood by the Microsoft developer community in general. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
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
Especially heart problems :)
-
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 :)
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
-
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?
"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:
-
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
: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
-
Please explain how the idea of Project inside Solution is right. And how my focus is on completely irrelevant matter?
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
-
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
mark merrens 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!
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:!
-
- 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.
:thumbsup: Hmmm, you have quite good points :)
-
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.
Another reply like "Orange." (see the first reply to this thread), bounced off of my head :(
-
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
Yet another reply like "Orange." and "42" (see the first reply to this thread, and another somewhere), bounced off of my head :(
-
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.
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.
-
A
is an object that compiles to an assembly (an.exe
or a.dll
). A collection of objects of typeA
is calledB
. Instances of typeA
expose a specific family of functionality. Collectively, these instances (grouped into an instance of typeB
) 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" andB
is called a "solution". These are names that are accepted and understood by the Microsoft developer community in general. /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
:thumbsup: You too have good points. thanks.
-
Yet another reply like "Orange." and "42" (see the first reply to this thread, and another somewhere), bounced off of my head :(
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
-
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
Ok. I am pure vegetarian, so I know almost nothing about non-veg products. ;P
-
Ok. I am pure vegetarian, so I know almost nothing about non-veg products. ;P
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
-
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
Yes, the cure is all non-vegetarian eat all other non-vegetarians, and killing the last remaining non-vegetarian by a vegetarian. ;P
-
Yes, the cure is all non-vegetarian eat all other non-vegetarians, and killing the last remaining non-vegetarian by a vegetarian. ;P
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
-
mark merrens 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!
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:!
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