File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public void ItCanBuildAndRun(string targetPlatformVersion)
29
29
project . Root . Element ( ns + "PropertyGroup" )
30
30
. Add ( new XElement ( ns + "TargetPlatformVersion" , targetPlatformVersion ) ) ;
31
31
project . Root . Element ( ns + "PropertyGroup" )
32
- . Element ( ns + "TargetFramework" ) . Value = TargetFrameworkHelper . CurrentTfm ;
32
+ . Element ( ns + "TargetFramework" ) . Value = ToolsetInfo . CurrentTargetFramework ;
33
33
project . Save ( projectPath ) ;
34
34
35
35
new BuildCommand ( testInstance )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public void ItCanNewRestoreBuildRunCleanMSBuildProject()
24
24
var ns = project . Root . Name . Namespace ;
25
25
26
26
project . Root . Element ( ns + "PropertyGroup" )
27
- . Element ( ns + "TargetFramework" ) . Value = TargetFrameworkHelper . CurrentTfm ;
27
+ . Element ( ns + "TargetFramework" ) . Value = ToolsetInfo . CurrentTargetFramework ;
28
28
project . Save ( projectPath ) ;
29
29
30
30
new RestoreCommand ( Log , projectPath )
@@ -67,7 +67,7 @@ public void ItCanRunAnAppUsingTheWebSdk()
67
67
68
68
project . Root . Attribute ( "Sdk" ) . Value = "Microsoft.NET.Sdk.Web" ;
69
69
project . Root . Element ( ns + "PropertyGroup" )
70
- . Element ( ns + "TargetFramework" ) . Value = TargetFrameworkHelper . CurrentTfm ;
70
+ . Element ( ns + "TargetFramework" ) . Value = ToolsetInfo . CurrentTargetFramework ;
71
71
project . Save ( projectPath ) ;
72
72
73
73
new BuildCommand ( Log , projectPath )
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ namespace EndToEnd.Tests.Utilities
7
7
{
8
8
public static class TargetFrameworkHelper
9
9
{
10
- public const string CurrentTfm = "net9.0" ;
11
-
12
10
private static Version _firstNetAppVersion = new Version ( 5 , 0 ) ;
13
11
14
12
public static IEnumerable < string > GetNetAppTargetFrameworks ( IEnumerable < string > versions ) =>
You can’t perform that action at this time.
0 commit comments