473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

VSS ans C# code /a beginner question

Hi,
I'm starting a project in C#. What files should I store in VSS beside C#
source code ? ( I see other type files there as well)

Thanks in advance.
Nov 15 '05 #1
7 2728
you can store whole solutuion in the VSS

To do this just click Project popup menu and then click "Add Solution to
Source Control"

"genc ymeri" <ge********@hotmail.com> wrote in message
news:#p*************@tk2msftngp13.phx.gbl...
Hi,
I'm starting a project in C#. What files should I store in VSS beside C#
source code ? ( I see other type files there as well)

Thanks in advance.

Nov 15 '05 #2
I would advice to store only projects, not solutions at all. It is much more better for team development.

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/
Nov 15 '05 #3
I'm sorry I'm a little confused. What is a solution and whata is a project ?
I thought they are the same.

"boudino" <boudino@-NOSPAM-seznam.cz> wrote in message
news:uT**************@TK2MSFTNGP11.phx.gbl...
I would advice to store only projects, not solutions at all. It is much more better for team development.
---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest

Community Website: http://www.dotnetjunkies.com/newsgroups/
Nov 15 '05 #4
If you right-click on a project in the Solution Explorer window, use the Add
Solution to Source Control... option.

The "solution" (*.sln) is the root object in the Solution Explorer window.
A "project" (for C# it is *.csproj) is it's immediate child. Multiple
projects can be in one solution, but Visual Studio only let's you have one
solution open at a time.

Some shops don't put the solution in source control so that different team
members can put their own mix of projects in their private solutions.
Whether or not this is a requirement depends on your situation. In a single
project shop it's fine if *.sln is in source control.

Notice that VS won't put some files in source control automatically, like
*.suo and *.csproj.user, because these need to vary between user -- e.g.,
when you open a project notice that the the same files you had open the last
time you closed the project are opened again.
"genc ymeri" <ge********@hotmail.com> wrote in message
news:#p*************@tk2msftngp13.phx.gbl...
Hi,
I'm starting a project in C#. What files should I store in VSS beside C#
source code ? ( I see other type files there as well)

Thanks in advance.

Nov 15 '05 #5
I got it.

Thanks a lot.

"Brad Williams" <br**************@intel.com> wrote in message
news:c2**********@news01.intel.com...
If you right-click on a project in the Solution Explorer window, use the Add Solution to Source Control... option.

The "solution" (*.sln) is the root object in the Solution Explorer window.
A "project" (for C# it is *.csproj) is it's immediate child. Multiple
projects can be in one solution, but Visual Studio only let's you have one
solution open at a time.

Some shops don't put the solution in source control so that different team
members can put their own mix of projects in their private solutions.
Whether or not this is a requirement depends on your situation. In a single project shop it's fine if *.sln is in source control.

Notice that VS won't put some files in source control automatically, like
*.suo and *.csproj.user, because these need to vary between user -- e.g.,
when you open a project notice that the the same files you had open the last time you closed the project are opened again.
"genc ymeri" <ge********@hotmail.com> wrote in message
news:#p*************@tk2msftngp13.phx.gbl...
Hi,
I'm starting a project in C#. What files should I store in VSS beside C#
source code ? ( I see other type files there as well)

Thanks in advance.


Nov 15 '05 #6
A solution is a container for projects. When you open a project, VS will
open a solution for you (I do not know the algorithm, but it seems to me
that it looks in the current directory and then the parent directory for the
..sln file).

Each project creates its own assembly (DLL or EXE).

So a solution allows you to group together a set of projects needed to build
a single application.

That said, I disagree with boudino... I always store my Solution file in
VSS...

Changing a solution file is rare, and there is nothing preventing a
developer from creating a subset solution file that contains only a few of
the projects... however, from a build standpoint, it is very helpful if
there is a single object that defines the necessary compiled components to
produce an output package.

My $0.02,
--- Nick

"genc ymeri" <ge********@hotmail.com> wrote in message
news:OE**************@tk2msftngp13.phx.gbl...
I'm sorry I'm a little confused. What is a solution and whata is a project ? I thought they are the same.

"boudino" <boudino@-NOSPAM-seznam.cz> wrote in message
news:uT**************@TK2MSFTNGP11.phx.gbl...
I would advice to store only projects, not solutions at all. It is much

more better for team development.

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest

Community Website: http://www.dotnetjunkies.com/newsgroups/

Nov 15 '05 #7
I appreciate your thoughts.
Thank you.
"Nick Malik" <ni*******@hotmail.nospam.com> wrote in message
news:i5Y1c.180075$jk2.664337@attbi_s53...
A solution is a container for projects. When you open a project, VS will
open a solution for you (I do not know the algorithm, but it seems to me
that it looks in the current directory and then the parent directory for the .sln file).

Each project creates its own assembly (DLL or EXE).

So a solution allows you to group together a set of projects needed to build a single application.

That said, I disagree with boudino... I always store my Solution file in
VSS...

Changing a solution file is rare, and there is nothing preventing a
developer from creating a subset solution file that contains only a few of
the projects... however, from a build standpoint, it is very helpful if
there is a single object that defines the necessary compiled components to
produce an output package.

My $0.02,
--- Nick

"genc ymeri" <ge********@hotmail.com> wrote in message
news:OE**************@tk2msftngp13.phx.gbl...
I'm sorry I'm a little confused. What is a solution and whata is a project
?
I thought they are the same.

"boudino" <boudino@-NOSPAM-seznam.cz> wrote in message
news:uT**************@TK2MSFTNGP11.phx.gbl...
I would advice to store only projects, not solutions at all. It is

much more better for team development.

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's
Largest Community Website: http://www.dotnetjunkies.com/newsgroups/


Nov 15 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Svens | last post by:
Hey everyone! I'm a math student working on a short script involving logs. I have a function on my scientific calculator, and was wondering if there was a similar funtion in python. For example:...
3
by: Rolf Hemmerling | last post by:
Hello ! Beginner's question: Howto access .RC/.RES Ressource files with portable C++ code ( BCC,MSVC,GNU-C++, OpenWatcom) ? I just wanna access "local language strings", so that I may...
5
by: Richard B. Kreckel | last post by:
Hi! I was recently asked what book to recommend for a beginner in C++. I am convinced that you needn't study C in depth before learning C++ (though it helps), but cannot find any beginner's...
8
by: Bshealey786 | last post by:
Okay im doing my final project for my first computer science class(its my major, so it will be my first of many), but anyway im a beginner so im not to great with C++ yet. Anyway this is the error...
1
by: Mike Malter | last post by:
I am just starting to work with reflection and I want to create a log that saves relevant information if a method call fails so I can call that method again later using reflection. I am...
14
by: z_learning_tester | last post by:
But I can't seem to find the answer. The question is how do you reverse the words in a string? Or how do you reverse the numbers listed in a string? The example is usually something like: Turn...
5
by: optimistx | last post by:
As a beginner in javascript I had a question. I was reading FAQ and posts here. I became very unhappy: Obviously this group is mainly for wise, pedantic, unkind etc people, who already know...
10
by: Roman Zeilinger | last post by:
Hi I have a beginner question concerning fscanf. First I had a text file which just contained some hex numbers: 0C100012 0C100012 ....
3
by: Ben Keshet | last post by:
I have a probably simple beginner's question - I have a script that I am currently able to print its output. instead, i want to write it into a file - I tried different versions of write() but...
2
by: roanhn | last post by:
Hello. I've to to write a master's thesis. Currently I deal with php, mysql, ajax. Fate decreed that I've to choose one of this subjects: 1.gdi+ library in .net technology 2.ado.net technology...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.