![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Mapping issue on Visual SourceSafe Hi, I have the same .NET program developed on two machines, therefore, two different versions, call them A and B. There are following differences between A and B: 1) They have differences in source code; 2) Since A is developed in Visual Studio 2005 with .NET 2.0, but B is developed in Visual Studio 2003 with .NET 1.1, the project files are different. I've been checking in the code from A to Visual SourceSafe from the machine where A is developed. Now I want to check in the code from B to the project location in VSS. But it has failed. Here's what happened: When I tried to map B to Visual SourceSafe, it seemed to require me to map both the hard-drive folder and the project file (.sln) to VSS. While the folder location seemed to be mapped successfully, the .sln file failed to match. It's "invalid". Any advice on how to map B to an existing project location in VSS? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Mapping issue on Visual SourceSafe "Curious" <fir5tsight@xxxxxx> wrote in message news:f1c698b0-081b-46b8-9a94-9315fe0c1836@xxxxxx Quote: > Hi, > > I have the same .NET program developed on two machines, therefore, two > different versions, call them A and B. > > There are following differences between A and B: > > 1) They have differences in source code; > 2) Since A is developed in Visual Studio 2005 with .NET 2.0, but B is > developed in Visual Studio 2003 with .NET 1.1, the project files are > different. > > I've been checking in the code from A to Visual SourceSafe from the > machine where A is developed. Now I want to check in the code from B > to the project location in VSS. But it has failed. > > Here's what happened: When I tried to map B to Visual SourceSafe, it > seemed to require me to map both the hard-drive folder and the project > file (.sln) to VSS. While the folder location seemed to be mapped > successfully, the .sln file failed to match. It's "invalid". > > Any advice on how to map B to an existing project location in VSS? > worse in VS 2003. VS 2003 uses a project file to track content in a web, whereas VS 2005 simply uses the folder contents. My advice would be a) Use 2005 and ditch 2003 (unless you still need to support 1.1 for some reason) and b) when initialising a new source safe with existing source use Visual SourceSafe directly not Visual Studio. This approach allows you configure the layout of project and solutions in a way you find acceptable rather than putting up with studio's choices. -- Anthony Jones - MVP ASP/ASP.NET |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Mapping issue on Visual SourceSafe Anthony Jones <Ant@xxxxxx> wrote: <snip> Quote: > My advice would be a) Use 2005 and ditch 2003 (unless you still need to > support 1.1 for some reason) and b) when initialising a new source safe with > existing source use Visual SourceSafe directly not Visual Studio. a) Use 2008 and ditch both 2003 and 2005 if you can (you can still write code targeting 2.0 in 2008) b) Ditch VSS entirely and use a better SCM such as Subversion -- Jon Skeet - <skeet@xxxxxx> Web site: http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon_skeet C# in Depth: http://csharpindepth.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Mapping issue on Visual SourceSafe "Jon Skeet [C# MVP]" <skeet@xxxxxx> wrote in message news:MPG.22c811c0bff39b3eda6@xxxxxx Quote: > Anthony Jones <Ant@xxxxxx> wrote: > > <snip> > Quote: > > My advice would be a) Use 2005 and ditch 2003 (unless you still need to > > support 1.1 for some reason) and b) when initialising a new source safe Quote: Quote: > > existing source use Visual SourceSafe directly not Visual Studio. > I'd go a couple of steps further: > > a) Use 2008 and ditch both 2003 and 2005 if you can (you can still > write code targeting 2.0 in 2008) > unless they're happy with the Express version. Quote: > b) Ditch VSS entirely and use a better SCM such as Subversion > network. Apart from a better infrastructure for more geographically distribute developers what else does Subversion do better than VSS? -- Anthony Jones - MVP ASP/ASP.NET |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Mapping issue on Visual SourceSafe On Jun 24, 3:30*am, "Anthony Jones" <A...@xxxxxx> wrote: Quote: > VSS isn't great but I find it does the job well enough on a well connected > network. *Apart from a better infrastructure for more geographically > distribute developers what else doesSubversiondo better than VSS? that subversion doesn't do better. The big ones for me are branching/ merging and transactional commits. I justed installed AnkhSVN (a 2.0 version built against subversion 1.5). It is a pretty good VS plugin now. |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Mapping issue on Visual SourceSafe Anthony Jones <Ant@xxxxxx> wrote: Quote: Quote: > > I'd go a couple of steps further: > > > > a) Use 2008 and ditch both 2003 and 2005 if you can (you can still > > write code targeting 2.0 in 2008) > Of course most people will need to actually need to go out and buy 2008 > unless they're happy with the Express version. every place I've worked, actually). Even if they have to buy new licences, I'd expect that the improvements in VS 2008 (mainly the ability to use the new features of C# 3) will increase productivity enough to pay for the licences pretty quickly. Quote: Quote: > > b) Ditch VSS entirely and use a better SCM such as Subversion > VSS isn't great but I find it does the job well enough on a well connected > network. Apart from a better infrastructure for more geographically > distribute developers what else does Subversion do better than VSS? corrupting it. No need to run repairs every so often which may or may not fix issues. Simple incremental backup... but mostly: o Very cheap branching o Truly transactional commit support o Good support for renaming (important for refactoring) o Much better merging o Portable (run the server on a Linux box, even if all clients are Windows boxes) for example.. o Free o Under visibly active development I could go on, but it really is the first few which are important - as well as the fact that it delivers on not losing your source code. I can't emphasise strongly enough how much I prefer SVN to VSS. It's like night and day... -- Jon Skeet - <skeet@xxxxxx> Web site: http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon_skeet C# in Depth: http://csharpindepth.com |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Mapping issue on Visual SourceSafe It sounds like SubVersion is great. I found a website, http://www.wandisco.com/subversion/, that contains free downloads. But I see there are four options for me to choose: MultiSite High Availability Clustering, and Access Control Which option shall I pick? Also since my project (in VS 2005, .NET 2.0) is already in VSS. Will using SubVersion mess up my project? Will SubVersion cause all of my files "read-only" like VSS? |
My System Specs![]() |
| | #8 (permalink) |
| | Re: Mapping issue on Visual SourceSafe On Jun 28, 6:47*am, Curious <fir5tsi...@xxxxxx> wrote: Quote: > It sounds like SubVersion is great. I found a website,http://www.wandisco..com/subversion/, that contains free downloads. > > But I see there are four options for me to choose: > > MultiSite > High Availability > Clustering, and > Access Control > > Which option shall I pick? > TortoiseSVN. http://tortoisesvn.tigris.org/ AnkhSVN is a good VS plugin (at least a 2.0 build which isn't even in beta yet). http://ankhsvn.open.collab.net/ I actually use both of those clients right now. Quote: > Also since my project (in VS 2005, .NET 2.0) is already in VSS. Will > using SubVersion mess up my project? > files at all (unlike VSS). So you never have any of those annoying binding problems to worry about. It all just works perfectly with SVN. AnkhSVN does have some binding information that it adds to the project files, but I find even it works better than VSS. Quote: > Will SubVersion cause all of my files "read-only" like VSS? subversion clients do not do this. I haven't noticed that AnkhSVN was doing it to me either. You also need to understand that subversion uses a completely different methodology for source control that makes flagging a file read-only pretty much useless anyway. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do I checkout files from Visual SourceSafe? | PowerShell | |||
| Visual Studio 2003. NET Installation Issue | .NET General | |||
| Re: Visual SourceSafe (Internet) not working! | .NET General | |||
| Err.Number 486, Vista Ultimate, Visual Studio, & Visual Basic | Vista General | |||
| Running Visual C++ and/or Visual Basic under Vista Home Premium OS | Vista General | |||