473,811 Members | 3,008 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\wwwr oot\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 2036
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.goo glegroups.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\wwwr oot\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******** ******@TK2MSFTN GP04.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**@markNOSPA Mrae.comwrote in message
news:uf******** ******@TK2MSFTN GP03.phx.gbl...
"Peter Bradley" <pb******@uwic. ac.ukwrote in message
news:OG******** ******@TK2MSFTN GP04.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******** *******@TK2MSFT NGP06.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**@markNOSPA Mrae.comwrote in message
news:eC******** ******@TK2MSFTN GP03.phx.gbl...
"Peter Bradley" <pb******@uwic. ac.ukwrote in message
news:%2******** *******@TK2MSFT NGP06.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******** ******@TK2MSFTN GP04.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**@markNOSPA Mrae.comwrote in message
news:OZ******** ******@TK2MSFTN GP02.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******** **********@TK2M SFTNGP04.phx.gb l...
"Mark Rae" <ma**@markNOSPA Mrae.comwrote in message
news:OZ******** ******@TK2MSFTN GP02.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\wwwr oot\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
3012
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 - A Proposal As we all know, one of the best things about python and other scripting languages is dynamic typing (yes I know it has advantages and disadvantages but I will not discuss them now). Dynamic typing allows us to change types of...
0
333
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: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbtchaspnetcookies101.asp under section: 'Checking Whether a Browser Accepts Cookies' This code works great, when its in my development enviroment.
22
4924
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 when working with large projects. It is *much* better to catch errors at "compile-time" rather than at run-time. One thing I've "found" is the PyChecker module (conveniently embedded in SPE), but it doesn't seem to do that great of a job. ...
7
4141
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 project, so the client will automatically check if there is a newer version or not? haim
66
3652
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 (function(socket, args) == -1) { perror("function"); exit(EXIT_FAILURE); } I feel that the ifs destroy the readability of my code. Would it be
4
2394
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 exceptions?
16
2640
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 where someone suggested to me I was spending too much time writing error messages, and that I was therefore missing the benefit of using a scripting language. The idea, apparently, is that the PHP interpreter writes all the error messages that are...
1
1921
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 files transferred. Can only move a certain amount of files per time period. -Folders have a priority. The files have to be moved based on the folder priority.
125
6629
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 problem. http://www.jilp.org/vol9/v9paper10.pdf Specifically, they measured the overhead of a bounds
7
2627
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 during compilation or dynamically during runtime.) However, I was wondering if whether there is anything defined in the standard about this. The reason for this is I have some code conforming to ANSI C99 and wish to write to both arrays and a block...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10136
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.