tfs2010 - Visual Studio / TFS 2010 / Get Latest / Compile Fails for some not for others with Reference Error -


setup:

  • all development being done on virtual servers (win server 2003)
  • all compiles being done in vs 2010
  • all code checked tfs 2010

we migrating our solutions vs 2008 vs 2010. created main branch folder containing our converted vs 2010 projects. branched on , worked through getting projects migrated 2008. compiles (eventually) successful. developer working through other projects on same branch.

we got of these projects compiling through tfs build 2010.

this our main branch. developer created dev branch folder , branched of solutions main branch dev branch ongoing development.

much our surprise, found though compile code if did latest on main branch, when did latest on dev branch (supposedly same code), some of (we'll call them unlucky developers) got slew of errors having reference project contained in solution. 2 developers (lucky) had compile fine. when 2 unlucky ones compile individual project (the 1 causing reference error) builds fine, when build solution or referencing project, fails reference project.

we tried wiping out our workspace , doing on code fresh - no joy.

the lucky person created branch did same (deleted workspace, did latest , ran compile) , still compiles. had developer hadn't been involved in migration latest , run compile. compile ran fine too! led believe must computer.

so had 1 of unlucky developers log 1 of lucky developer's virtuals , perform latest , build using own workspace. failed. virtual has 1 workspace under 1 user succeeds, , 1 under user fails compile same latest on same code.

then... detached working workspace lucky developer's virtual , 1 of unlucky devs attached (no get, compile what's there). compiled fine.

so feels may have sort of characteristic attached unlucky devs causing our gets different. 1 difference realized 2 unlucky ones have shelvesets saved in tfs in 2008 versions (but under tfs 2010).

ok, then... same unlucky developer wiped out lucky one's workspace deleting files , performed specific / latest / both force overwrite switches turned on. compiled successfully!!

then went original virtual machine. deleted files in workspace, , did specific / latest / both force overwrite switches turned on. this compile again failed!

we're running out of ideas...

sounds (unlucky) developers may have custom workspace mappings (determines folders in tfs checkedout on hard disk).

view -> team explorer -> source control -> click dropdown on workspace , select workspaces...

delete workspaces there (or @ least verify them).

create single new workspace , checkout @ root level (to keep project references intact)


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -