473,395 Members | 1,539 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,395 software developers and data experts.

Checking in code into VSS

Hi ,

I'm having problems using Visual Source Safe with my Visual Studio
2005. I have correctly connected to the VSS database with userid and
set up a project in VSS comprising mySite. I set the working folder
same as the place I copied the files from.

I am able to check in / check out / edit / view correctly when I click
the respective file from VSS. But is there no way that I can just
start my Visual Studio, do any changes and then just check it in into
VSS ?

I opened my VIsual Studio, clicked File->Source Control -Change
Source Control. Here I chose my File and gave Bind. After that I tried
editing, saving and then again File->Source Control -Check In
someFile.cs. But I get the error message that

A project C:\Inetpub\wwwroot\mySite that you are attempting to add to
source control cannot be added because the item Default.aspx is
already under source control at the selected location.

How can I solve this ?

Thanks !!

Mar 30 '07 #1
9 2019
We're in the process of moving from VSS to Subversion + TortoiseSVN +
VisualSVN. One of the reasons that drove us to this was the way that VSS
dealt with Visual Studio 2005 projects.

We always found that VSS worked better if you never connected to it
directly, but rather always used the facilities in Visual Studio. This
meant creating a solution in VS and then right-clicking on the solution and
choosing Add Solution to Source Control. The only problem with this is that
you get very little control over the folder structures that get created in
the VSS repository. With the new Web Sites template in VS2005, folders seem
to get created all over the place in VSS.

So we decided we didn't like it and are going (all being well) for a new
source control solution (which also happens to be a very cheap one, too -
$49.00 per developer).

If you do stick with VSS, I hope the above helps.
Peter
"Zeba" <co******@gmail.comwrote in message
news:11**********************@n76g2000hsh.googlegr oups.com...
Hi ,

I'm having problems using Visual Source Safe with my Visual Studio
2005. I have correctly connected to the VSS database with userid and
set up a project in VSS comprising mySite. I set the working folder
same as the place I copied the files from.

I am able to check in / check out / edit / view correctly when I click
the respective file from VSS. But is there no way that I can just
start my Visual Studio, do any changes and then just check it in into
VSS ?

I opened my VIsual Studio, clicked File->Source Control -Change
Source Control. Here I chose my File and gave Bind. After that I tried
editing, saving and then again File->Source Control -Check In
someFile.cs. But I get the error message that

A project C:\Inetpub\wwwroot\mySite that you are attempting to add to
source control cannot be added because the item Default.aspx is
already under source control at the selected location.

How can I solve this ?

Thanks !!

Mar 30 '07 #2
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:OG**************@TK2MSFTNGP04.phx.gbl...
With the new Web Sites template in VS2005, folders seem to get created all
over the place in VSS.
That's yet another reason IMO not to go anywhere near the website structure
in VS.NET 2005... :-)
Mar 30 '07 #3
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:uf**************@TK2MSFTNGP03.phx.gbl...
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:OG**************@TK2MSFTNGP04.phx.gbl...
>With the new Web Sites template in VS2005, folders seem to get created
all over the place in VSS.

That's yet another reason IMO not to go anywhere near the website
structure in VS.NET 2005... :-)
Yes. That's right.

One side effect of moving to Subversion is that we've found how to get
VS2005 to create a more sensible structure.

The first method is to download the patches from MSDN that allow you to use
VS2003 structures when creating VS2005 Web sites. You have to use the Web
site or Web service template rather than "Add new Web site"/"Add new Web
Service", but it does work. The big drawback is that you cannot do that and
have one dll per page as you can with the Create New Web Site method.

The second method is to create, first of all, a new blank solution. Then in
the blank solution you can Add a new web site and tell VS2005 to put the new
Web Site in the Solution folder. This retains all the New Web Site VS2005
facilities, but locates it in the solution folder so that you at least have
the .sln file in the same file structure as the Web site - instead of being
at some distant point in the file system decided by some obscure default
value decided by VS2005 (or in a folder with the same name as the site, but
with "(2)" appended to it!!).

A bit OT, but HTH
Peter
Mar 30 '07 #4
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
>That's yet another reason IMO not to go anywhere near the website
structure in VS.NET 2005... :-)

Yes. That's right.

One side effect of moving to Subversion is that we've found how to get
VS2005 to create a more sensible structure.

The first method is to download the patches from MSDN that allow you to
use VS2003 structures when creating VS2005 Web sites.
Web Application Projects was released as an add-on to VS.NET 2005 very soon
after its initial release due to the massive outcry from the development
community about the website model - WAP has now been incorporated into
VS.NET 2005 SP1.
The big drawback is that you cannot do that and have one dll per page as
you can with the Create New Web Site method.
That's a drawback...? I'm curious as to why anyone would want one dll per
page...
The first method <snip>
The second method <snip>
I have to say I've never had to go through any of that, and all my web apps
use VSS as their source control mechanism...

Presumably we are talking about Visual SourceSafe 2005, aren't we, and not
6.0d or (shudders!) earlier...?
Mar 30 '07 #5
Heh! See below:

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:eC**************@TK2MSFTNGP03.phx.gbl...
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:%2***************@TK2MSFTNGP06.phx.gbl...
<snip />
>The big drawback is that you cannot do that and have one dll per page as
you can with the Create New Web Site method.

That's a drawback...? I'm curious as to why anyone would want one dll per
page...
Haven't done it myself - because I tend not to do the UI/Presentation layer
coding: but my colleague who does that sort of arty-farty stuff says he
likes the ability to have one dll per page because he can modify a page and
just drop it in without having to restart the application. That's what he
said, anyway...
>The first method <snip>
The second method <snip>

I have to say I've never had to go through any of that, and all my web
apps use VSS as their source control mechanism...

Presumably we are talking about Visual SourceSafe 2005, aren't we, and not
6.0d or (shudders!) earlier...?
Yup. VSS 6.0d. We used to have VS2003 Enterprise Edition + VSS 6.0d, but
when VS2005 came out we were told that MS's new prices (UK CHEST prices) for
the Enterprise Edition were too expensive and we'd have to make do with the
Professional Edition of VS2005 and the VSS version we were currently using.

We've just had it up to here with VSS, and since we can't have the new
version, we're moving (all being well - i.e. assuming we can convince the
local PHBs, which I think we will)

I know. You feel our pain.

:)
Peter
Mar 30 '07 #6
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:uk**************@TK2MSFTNGP04.phx.gbl...
Haven't done it myself - because I tend not to do the UI/Presentation
layer coding: but my colleague who does that sort of arty-farty stuff says
he likes the ability to have one dll per page because he can modify a page
and just drop it in without having to restart the application. That's
what he said, anyway...
We've had a similar thread about this recently... Personally, I'd fire the
guy, but opinions differ...
Yup. VSS 6.0d.
Ah... that explains it, then...
I know. You feel our pain.
I do... It's sometimes easy to forget that not everyone has an MSDN
subscription... ;-)
Mar 30 '07 #7

"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OZ**************@TK2MSFTNGP02.phx.gbl...
<snip />
>It's sometimes easy to forget that not everyone has an MSDN subscription...
;-)
Cruel. So very cruel;

:^(
Peter
Mar 30 '07 #8
"Peter Bradley" <pb******@uwic.ac.ukwrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:OZ**************@TK2MSFTNGP02.phx.gbl...
<snip />
>>It's sometimes easy to forget that not everyone has an MSDN
subscription... ;-)

Cruel. So very cruel;
Harsh, but fair... :-)
Mar 30 '07 #9
On Mar 30, 12:58 pm, "Zeba" <coolz...@gmail.comwrote:
Hi ,

I'm having problems using Visual Source Safe with my Visual Studio
2005. I have correctly connected to the VSS database with userid and
set up a project in VSS comprising mySite. I set the working folder
same as the place I copied the files from.

I am able to check in / check out / edit / view correctly when I click
the respective file from VSS. But is there no way that I can just
start my Visual Studio, do any changes and then just check it in into
VSS ?

I opened my VIsual Studio, clicked File->Source Control -Change
Source Control. Here I chose my File and gave Bind. After that I tried
editing, saving and then again File->Source Control -Check In
someFile.cs. But I get the error message that

A project C:\Inetpub\wwwroot\mySite that you are attempting to add to
source control cannot be added because the item Default.aspx is
already under source control at the selected location.

How can I solve this ?

Thanks !!
install/Configure Visual Source Safe (VSS) on Client and Sever
[modified] Ahuja.bangalore 5:53 29 Mar '07

Hi
I am working on ASP.NET 1.1 with C# Domain..
I want to use my project using Visual Source Safe (VSS)...
i have Visual Studio (4 Cd's Pack)..I have 5 PC's , Which i want to
connect in such a manner like.. i will keep my project on server and
configure through VSS, so that other programmers can able to use it...

so plzzz can you tell me how to install it on server and client
pc...??

Thanks & Regards

Ahuja

Apr 2 '07 #10

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

Similar topics

5
by: Tongu? Yumruk | last post by:
I have a little proposal about type checking in python. I'll be glad if you read and comment on it. Sorry for my bad english (I'm not a native English speaker) A Little Stricter Typing in Python...
0
by: Lucifer | last post by:
Hi I have some code for checking for cookies, that sets a cookie on page1 and checks for it on page2. and its based on the code by MS: ...
22
by: Qopit | last post by:
Hi there, I'm pretty new to Python and am trying to figure out how to get "will this code compile?"-like code checking. To me this is a pretty basic language/environment requirement, especially...
7
by: HIK | last post by:
Click once can be set up to pole the setup url if there is a newer version or not. I have a project which can only be deployed using a setup project. How can I create the same feature in my setup...
66
by: Johan Tibell | last post by:
I've written a piece of code that uses sockets a lot (I know that sockets aren't portable C, this is not a question about sockets per se). Much of my code ended up looking like this: if...
4
by: Patient Guy | last post by:
Does anyone have any coding rules they follow when doing argument checking? When arguments fail during check, do you return from the call with an ambiguous return value, or do you throw...
16
by: lawrence k | last post by:
I've made it habit to check all returns in my code, and usually, on most projects, I'll have an error function that reports error messages to some central location. I recently worked on a project...
1
by: halcyon943 | last post by:
have 4 folders that I watch and need to move files from to another location. Three constraints: -Finish time. Make sure the program stops transferring files at a specific time -Number of...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
7
by: polas | last post by:
Afternoon everyone. I have a quick question about standard C. Generally speaking, in my experience, whenever one accesses an array there is never any bounds checking done (either statically...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.