Questions tagged [p4.net]

P4.NET is an API for Perforce and .NET provided by Perforce.

P4.NET is an API for Perforce and .NET provided by Perforce.

Reference: http://www.perforce.com/perforce/doc.current/manuals/p4api.net/p4api.net_reference/Index.html

Public Depot: http://public.perforce.com/wiki/P4.net

19 questions
0
votes
0 answers

P4Connection class is unavailable in P4api.net

I am trying to use P4Connection class and the problem is that I could not find that class in the p4api.net library that I have downloaded recently. Currently I am working with the use of Repository class which is not going well without the use of…
Subhanandh
  • 141
  • 1
  • 11
0
votes
1 answer

Getting exception while connecting to perforce server using p4.net api

I am trying to connect to the perforce server using below code. I am getting Object reference not set to instance of an object exception. String conStr = "perforce2.ges.abc.com:1666"; String user = "John_Smith"; String password = "abc@1234"; String…
0
votes
1 answer

Error with syncing multiple folders in Perforce using p4.net api

I am using the p4.net api to sync multiple folders recursively. The number of folders can go into the hundreds with an average of seven files in each. I use the SyncFiles Method (from the Client class) and my syntax looks like this…
floyd1510
  • 391
  • 1
  • 6
  • 14
0
votes
1 answer

How to add files to default changelist in Perforce .NET API?

We have a system that generates reports and will dump them in a P4 workspace folder. I am building a .NET program to run on a schedule that will submit these reports to P4. How do I find the unversioned files, add them to a changelist then submit…
R Day
  • 962
  • 9
  • 25
1
2