Where's my road?

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Tips compiled primarily from Microsoft's Team Development Guide for SourceSafe.

For Administrators

  • Run Analyze & Repair on database once per week.
  • Synchronize time between fc-devapp01 and workstations.
  • Perform daily FULL backups of the SourceSafe database.

For Users

  • Only use the IDE for managing files.
  • Do not check out and check in files from both VSS and the IDE. Doing this only once causes the files to get out of sync.
  • Save all web projects to http://localhost/projectname.
  • Within Visual Studio, create blank Solutions, followed by Projects within the Solution.
  • When opening a project for the first time, choose Open from Source Control.
  • The next time you open the project, use Open Project.

For web applications, it is recommended that you check out the entire solution if possible.

A project can be part of more than one solution, but a solution must be unique.

When you check out a web form (aspx) or code-behind file (aspx.cs), VS .NET automatically checks out both files.

Rename or deletions that are performed with the Visual Studio .NET IDE are not automatically propagated to VSS and vice-versa. As a result you must use VSS Explorer in conjunction with Visual Studio .NET.


Recommendation

  • Always check in files after careful code review.
  • Create class library projects, other than web projects, since it's much difficult to move a web project from one machine to another.
posted on 2005-04-26 11:28  Lin  阅读(858)  评论(1编辑  收藏  举报