Open sandboxFocus

Property TargetFrameworks

TargetFrameworks

Gets or sets the semicolon-separated list of all target frameworks for the project, for instance net8.0;net472. Used to test behavior that depends on target runtime capabilities. To set this option in a test, add this comment to your test file: // @TargetFrameworks(net8.0;net472).

Declaration
public string? TargetFrameworks { get; set; }
Property Value
Type Description
string