Note that there are some explanatory texts on larger screens.

plurals
  1. POPerforce troubles "file not under client's root" error message
    primarykey
    data
    text
    <p>I am adding a project to perforce via VS2010 but I keep getting this error <code>'file' not under client's root</code> for all the files in the project. I can't seem to figure this out. </p> <p>Here is what I am doing:</p> <p>1) Open VS2010 project which is not in perforce yet.</p> <p>2) I select add the solotion to perforce (from File > Source Control > Add Solution menu).</p> <p>3) I select a new workspace. It brings up the properties of the workspace. The root folder is default to c:\Users\My.Name. I change this to the folder where my project is. I also change the view so it points to say depot\main\new_project.</p> <p>It seems to have added the project but when I checkin file it just doesn't work! It give this error for all files that <code>'file not under client's root'</code>.</p> <p>I also go to perforce directly and check the settings of the corresponding workspace. In dashboard it display an error:</p> <pre><code>P4V is having trouble translating the location "c:\Users\user.Name\Documents\Code\My_Project" to a valid workspace location. To filter using this location, drag the folder from the workspace tree to the workspace folder field or include the depot location in your workspace view. </code></pre> <p>Can somebody give me any pointer why this just doesn't work? </p> <p><strong>Update</strong> My workspace mapping is this</p> <pre><code>Client: omega Owner: User.Name Root: C:\Users\User.Name\Documents\Visual Studio 2010\Projects\Omega LineEnd: local View: //depot/main/omega/... //omega/... </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload