I'm using P4.Net to connect to my non-unicode server however some commands i run fail with:
"Unicode clients require a unicode enabled server."
how do i change the P4CHARSET to none in P4.Net? I've tried
P4Connection p4…
I am using P4.NET to control perforce programmatically but there doesn't seem to be a way to specify global options like this:
http://www.perforce.com/perforce/doc.current/manuals/cmdref/o.gopts.html
Maybe someone else has an experience on how to do…
I'm not an expert in P4.NET and I would like to show perforce's depot in a treeview
(windowsform application c#)...
* "p4 dirs" to get all depots => p4 dirs "//*" for exemple this may give
depot1
depot2 ..etc
P4Connection p4 = new…
Is there a way of spawning the progress GUI:
(the one you would see if you do update from p4v), when running Client.SyncFiles?
I have also tried spawning p4 sync a P4Command, but I cannot see how I can pass global flags (to run p4 -I sync…
I am using p4.net API to generate some reports from the metadata.
In one of the reports, I need to generate then number of the changes lines for each changeset report.
As a reporting tool, I am using MS SQL Reporting services 2008, and I have…
i want to implement below p4 commands in a batch file.
Now i want to implement everything in a job service of .net using p4.net api.
To do in .net using p4.net api:
1)First sync files or latest files at workspace path.
2)Create a new Change…
I did have some other issue with the API. so I installed Microsoft Visual C++ 2010 Redistributable Package (x86) from
http://www.microsoft.com/download/en/details.aspx?id=5555
for solving those issues. the issues were solved installing this…
I am new at using the P4api in C#.I have found a library p4api.dll.It shows that there is a class named P4Revision.But when I try to create an instance of that class,it says that no constructor there.Is there any other way to get the revision number…
I was wondering if it is possible to pass global options to perforce commands.
As it stands now, it looks like I'm only able to pass global options to the connection itself
Ex: connection.UserName = "user"
Is there a way to pass in global options…
I have 2 branches in my depot.
//depot/project/mainline/...
//depot/project/staging/...
I am using an in-house tool that manages the build of the project, and would like to create a build step that automatically promotes all the files from…
I have some batch commands to run in the Perforce. Generally, I open the command prompt from "Perforce->Right click a file->Open Command Window Here".
I am trying to automate some task that involves running a command from Command Window that is…
What is the exact difference between p4.net and p4api.net?
I was trying to create a custom gui based tool for perforce and I started developing it using p4api.net. Much later I came to know about the existence of p4.net. Now I am confused with their…
I too need a way to find out, how to get and parse the protection table using the P4.net DLL. I am trying to run "p4 protects" command using P4.Net DLL. I just need a way to find out which AD Group has access to which branch of perforce tree.
Since its difficult for me to understand P4 API documentation, I need help. I have a folder in a depot, say //root/a/... first I am running a preview to know the number of files going to be synced on a changelist, say 123.
Client.ViewMap = new…