Задайте вопросЗадайте вопрос
 

Отвеченоvss .vspscc file problem

  • 7 марта 2006 г. 21:10LINAAR Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    I converted a vs 2003 project successfully int vs 2005 and have come across a puzzling problem.  When trying to check in a project I receive the following error:

    [project].vspscc cannot be checked in because it has different encoding and checked out multiple times.

    After successfully upgrading all developers were forced to attach to the new solution as if they were new users, that is, no one was allowed to update his/her local copy.  I assume the "different encoding" would refer to different .net versions but this doesn't seem to add up.  The vss analyze says there are no current problems.  Any advice would be greatly appreciated.

    Thanks,

    AJL

Ответы

  • 9 марта 2006 г. 6:57Alin ConstantinMSFT, МодераторМедали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     Отвечено

    Hi Ajl,

    I suspect you installed VSS2005, too.

    VSS2003 didn't recognized the [project].vspscc files as Utf-8, and treated them as Ansi; VS2005 recognized them as Utf-8, and doesn't allow you to checkin new versions when the file is multiple checked out. This is by design.

    What you can do is undo checkout of the file in the VSS database and leave the file checked out only once. Then use VS to checkin the changes to your solution. If there aren't changes to this file, VSS2005 will not change automatically the file type in teh VSS database. You can open the file's Properties dialog and manually change the type "Ansi/Mbcs" into "Unicode (Utf-8)".

    Alin

     

Все ответы