15 references to TestTargetFramework
Aspire.EndToEnd.Tests (15)
tests\Shared\WorkloadTesting\AspireProject.cs (6)
21public static string GetNuGetConfigPathFor(TestTargetFramework targetFramework) => 29public TestTargetFramework TargetFramework { get; init; } 41public AspireProject(string id, string baseDir, ITestOutputHelper testOutput, BuildEnvironment buildEnv, TestTargetFramework? tfm = default) 56protected static void InitProjectDir(string dir, TestTargetFramework tfm) 77TestTargetFramework? targetFramework = default, 85var tfmToUse = targetFramework ?? BuildEnvironment.DefaultTargetFramework;
tests\Shared\WorkloadTesting\BuildEnvironment.cs (9)
30public static readonly TestTargetFramework DefaultTargetFramework = ComputeDefaultTargetFramework(); 59TestTargetFramework.Previous => ForPreviousSdkOnly, 63TestTargetFramework.Current => ForCurrentSdkAndPreviousRuntime, 265private static TestTargetFramework ComputeDefaultTargetFramework() 268null or "" or "net9.0" => TestTargetFramework.Current, 269"net8.0" => TestTargetFramework.Previous, 284public static string ToTFMString(this TestTargetFramework tfm) => tfm switch 286TestTargetFramework.Previous => "net8.0", 287TestTargetFramework.Current => "net9.0",