@@ -56,7 +56,7 @@ def remove_files(path, ext):
5656def write_csproj_prefix (ioWrapper ):
5757 ioWrapper .write ('<Project Sdk="Microsoft.NET.Sdk">\n ' )
5858 ioWrapper .write (' <PropertyGroup>\n ' )
59- ioWrapper .write (' <TargetFramework>net8 .0</TargetFramework>\n ' )
59+ ioWrapper .write (' <TargetFramework>net9 .0</TargetFramework>\n ' )
6060 ioWrapper .write (' <AllowUnsafeBlocks>true</AllowUnsafeBlocks>\n ' )
6161 ioWrapper .write (' <OutputPath>bin\</OutputPath>\n ' )
6262 ioWrapper .write (
@@ -73,7 +73,7 @@ def __init__(self, thisScript, relativeWorkDir, template):
7373 self .projectDirIn = os .path .join (self .workDir , self .projectNameIn )
7474 self .template = template
7575 print ("\n * Creating new input project" )
76- self .run_cmd (['dotnet' , 'new' , self .template , "-f" , "net8 .0" , "--language" , "C#" , '--name' ,
76+ self .run_cmd (['dotnet' , 'new' , self .template , "-f" , "net9 .0" , "--language" , "C#" , '--name' ,
7777 self .projectNameIn , '--output' , self .projectDirIn ])
7878 remove_files (self .projectDirIn , '.cs' )
7979
@@ -118,7 +118,7 @@ def make_stubs(self):
118118 bqrsFile = os .path .join (rawOutputDir , outputName + '.bqrs' )
119119 jsonFile = os .path .join (rawOutputDir , outputName + '.json' )
120120
121- sdk_version = '8 .0.101 '
121+ sdk_version = '9 .0.100 '
122122 print ("\n * Creating new global.json file and setting SDK to " + sdk_version )
123123 self .run_cmd (['dotnet' , 'new' , 'globaljson' , '--force' , '--sdk-version' , sdk_version , '--output' , self .workDir ])
124124
0 commit comments