简体   繁体   中英

TFS 2012 Workspace across VS 2012 and VS 2010

I'm currently moving a solution which contains VS 2010 and VS 2008 projects to TFS 2012, and I have checked in the code through VS 2012 Source Control Explorer.

But when I open the project in VS 2010 or VS 2008 it seems like the files are not mapped in source control.

I know that we cannot map the same workspace for VS 2012 in VS 2010, please could anyone suggest any solutions?

I have already tried the following

  1. I converted the workspace type from local workspace to Server Workspace and I was able to map the same location in both VS 2010 and VS 2012, but when I open the project in VS 2010 it seems like it is not mapped to source control. ( TFS Workspaces across VS 2010 and 2012? )

  2. Having separate workspaces ie, C:\\TFS (for VS 2012) and C:\\TFS2010 (for VS 2010). This has not worked as VS 2010 is failing to load the projects.

Many thanks in advance :)

Thanks all for your reply.

I managed to resolve this issue by removing the old source control (Serena Dimensions) references from the project files (the workspace type is Server Workspace .)

Many thanks all of you.

Are you checking in the upgraded solution at same location or different location in TFS?

You should be able to use the same workspace irrespective of different Visual Studio versions provided both solution paths are mapped in same workspace.

Please read this blog .

Because local workspaces use a local data store that only VS 2012 and later know how to read and write, local workspaces are invisible to VS 2005, 2008, and 2010 clients which might be installed on the same machine as your VS 2012 instance. If you want to share your workspace between VS 2012 and VS 2010 on the same machine, then local workspaces aren't for you and you should convert your workspace back to a server workspace so that VS 2010 can see it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM