Table of Contents

Class MigrationVerifier

Namespace
S1Interop.Core.Migration
Assembly
S1Interop.Core.dll

Runs migration in a temporary sandbox and optionally builds the migrated result.

MigrationVerifier

MigrationVerifier is the safer path for automation and regression tests.

It copies the target project to a temporary sandbox, applies planned automatic operations there, re-analyzes the result, and can build the migrated configurations when local game paths are available.

public sealed class MigrationVerifier
Inheritance
object
MigrationVerifier

Remarks

Verification copies project files into a temporary sandbox, applies migration operations there, and attempts to delete the sandbox before returning. The original project is not mutated by this verifier.

Methods

Verify(string)

Verifies a single project using default verification options.

public MigrationVerificationResult Verify(string path)

Parameters

path string

A project path or directory that resolves to exactly one project.

Returns

MigrationVerificationResult

The sandbox verification result for the project.

Verify(string, MigrationVerifierOptions)

Verifies a single project using explicit verification options.

public MigrationVerificationResult Verify(string path, MigrationVerifierOptions options)

Parameters

path string

A project path or directory that resolves to exactly one project.

options MigrationVerifierOptions

Options that control planning mode, source migrations, sandbox builds, timeouts, and local game paths.

Returns

MigrationVerificationResult

The sandbox verification result for the project.

Exceptions

InvalidOperationException

Thrown when path does not resolve to exactly one project.

VerifyWorkspace(string)

Verifies every discovered project in a workspace using default verification options.

public WorkspaceMigrationVerificationResult VerifyWorkspace(string path)

Parameters

path string

A workspace directory or project path to verify.

Returns

WorkspaceMigrationVerificationResult

The aggregate verification result for all discovered projects.

VerifyWorkspace(string, MigrationVerifierOptions)

Verifies every discovered project in a workspace using explicit verification options.

public WorkspaceMigrationVerificationResult VerifyWorkspace(string path, MigrationVerifierOptions options)

Parameters

path string

A workspace directory or project path to verify.

options MigrationVerifierOptions

Options that control planning mode, source migrations, sandbox builds, timeouts, and local game paths.

Returns

WorkspaceMigrationVerificationResult

The aggregate verification result for all discovered projects.