Jump to content


P4VS and Perforce Environment Settings

p4vs Visual Studio

  • Please log in to reply
2 replies to this topic

#1 Hokushin

Hokushin

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 13 March 2014 - 09:00 AM

Hi all,

I work in multiple streams and to make things easier, I've added a P4Config to each workspace, and set the P4VS connection behaviour "When opening a project under source control" to "Connect to the server using my Perforce environment settings".  What I've found is that if I use any kind of shortcut to open the solution (e.g. the recently opened solutions, or the Visual Studio start page) the environment settings are incorrect.  However, if I navigate to the folder containing the solution and open it from there, the P4Config works as expected.  It looks to me that when you use a shortcut the working directory isn't being set correctly so P4VS doesn't load a P4Config.  Is this a known issue?

Cheers,

Gav.

#2 P4Matt

P4Matt

    Advanced Member

  • Members
  • PipPipPip
  • 1383 posts

Posted 13 March 2014 - 06:00 PM

Definitely not a known issue.  I'll raise it up with the dev team.

#3 Hokushin

Hokushin

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 14 March 2014 - 11:10 AM

Thank you, Matt.





Also tagged with one or more of these keywords: p4vs, Visual Studio

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users