visual studio 2010 - VS2010 with Perforce error: Path '...' is not under client's root '...' -


i getting following error after opening project in visual studio 2010 after build:

path '<directory correct workspace mapped>...' not under client's root '<directory different workspace mapped>' 

the different perforce workspace not have current project.

i can rid of error closing vs, deleting .suo file , opening solution again, annoying each time , fix properly.

the closest question on found one: perforce troubles "file not under client's root" error message, don't think of answers cover case.

edit:

in fact wrong thinking deleting .suo file fixes problem temporarly. checked building project wich not affected anyway. looking @ project configuration looks affected projects external, shared directory. in file -> source control -> change source control... shared projects have different server binding. how visual studio's source control integration work perforce? has advice on how set vs-p4 binding properly. however, solution quite large multiple projects i'm reluctant clean dependencies start set scratch. great had simler implement suggestion.

i recommend removing vs scc bindings, , using p4vs instead. doesn't require changes projects or solution, , it's better integration perforce, in experience.


Comments