# Core

**Kind:** Module

**Source:** `Pams/Core` (line 1)

**Part of:** [Pams](subsystem-pams)

.NET project in solution

Core is a .NET project in the Pams solution. It contains code that can be built and referenced by other projects in the solution.

## Diagram

```mermaid
graph TD
  Solution[Pams solution] --> Core[Pams/Core .NET project]
  Core --> Build[dotnet build]
  Core --> References[Referenced by solution projects]
```

## Usage

```ts
import { execFileSync } from "node:child_process";

// Build the Core project from a JavaScript or TypeScript workflow.
execFileSync("dotnet", ["build", "Pams/Core"], {
  stdio: "inherit",
});
```

## AI Coding Instructions

- Keep Core compatible with the .NET project configuration used by the Pams solution.
- Add shared code to Core only when it is intended for use by other solution projects.
- Update project references when another project depends on code in Core.
- Run `dotnet build Pams/Core` after changing project files or source code.

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Declared in (1)

- `Pams` — `Pams/Pams.sln`:1
