Class MigrationVerifier
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
-
objectMigrationVerifier
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
pathstringA 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
pathstringA project path or directory that resolves to exactly one project.
optionsMigrationVerifierOptionsOptions 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
pathdoes 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
pathstringA 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
pathstringA workspace directory or project path to verify.
optionsMigrationVerifierOptionsOptions that control planning mode, source migrations, sandbox builds, timeouts, and local game paths.
Returns
- WorkspaceMigrationVerificationResult
The aggregate verification result for all discovered projects.