Giter VIP home page Giter VIP logo

p4.net's Introduction

P4.NET

P4.NET is a fork of the original P4.NET component created by Shawn Hladky. It provides managed implementation of Perforce API. Main features of this fork (as opposed to Shawn's original):

  • Support for CLR 2 (.NET 2.0, 3.0, 3.5)
  • Support for CLR 4 (.NET 4.0)
  • Single AnyCPU assembly (works in both 32 and 64 bit .NET runtimes)

Overview

Based on: http://public.perforce.com:8080/guest/shawn_hladky/P4.Net/main/

Current version: 2.0.0.3 (Feb 15, 2011; sources; binaries)

Build requirements: Visual C++ 2010 (free edition should have no problems)

How to build

  1. Download sources from GitHub or clone the repository using Git

  2. Run/double-click (project_root)/p4.net_build.cmd. This will produce the following binaries:

  • bin/Debug_v2.0/P4API.dll (pdb, xml) - signed P4.NET assembly in debug mode, compiled for .NET 2.0 (i.e. usable from .NET 2.0, 3.0 and 3.5)
  • bin/Release_v2.0/P4API.dll (pdb, xml) - signed P4.NET assembly in release mode, compiled for .NET 2.0 (i.e. usable from .NET 2.0, 3.0 and 3.5)
  • bin/Debug_v4.0/P4API.dll (pdb, xml) - signed P4.NET assembly in debug mode, compiled for .NET 4.0
  • bin/Release_v4.0/P4API.dll (pdb, xml) - signed P4.NET assembly in release mode, compiled for .NET 4.0

Note: It is not possible to compile the C++ component of P4.NET (mixed-mode assembly p4dn, embedded in assembly p4api) with statically linked runtime libraries. This means that p4dn.dll is dependent on msvcrt100.dll (or msvcrt100d.dll in debug build). Because different versions of runtime DLLs are needed for different process bitness, it is not possible to distribute a single copy of the runtime DLLs with P4.NET (when running on a 64 bit operating system, a .NET process can run in 32 bit mode where a 32 bit p4dn will be loaded that will require 32 bit msvcrt100.dll, while another .NET process can run in 64 bit mode where a 64 bit p4dn will be loaded that will require 64 bit msvcrt100.dll).

Installing Visual C++ 2010 runtime is the easiest way to solve this problem (if another program already installed the runtime, no action is needed) :

p4.net's People

Contributors

milang avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.