This project now uses modern NuGet packaging instead of the deprecated CoApp toolchain.
-
Download NuGet CLI (if not already installed):
# Download the latest nuget.exe Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "nuget.exe" # Or install via Chocolatey choco install nuget.commandline # Or install via winget winget install Microsoft.NuGet
-
Verify installation:
nuget help
-
Build the solution (ensure tests pass):
.\build.bat -
Create the package:
.\create-package.bat -
Package will be created as
PipedProcess.2.1.3.nupkg
The generated package includes:
- Headers in
include/PipedProcess/:PipedProcess.h- Main process execution classStdPipe.h- Pipe communication utilitiesUniqueHandle.h- RAII handle wrapper
- MSBuild targets for automatic configuration
- Metadata and documentation
After installing in a C++ project:
#include <PipedProcess/PipedProcess.h>
#include <PipedProcess/StdPipe.h>
// Headers are automatically included via MSBuild targets
// No manual include path configuration neededTo publish to NuGet.org:
nuget push PipedProcess.2.1.3.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey YOUR_API_KEYThe new approach uses standard NuGet toolchain that's actively maintained.