C#: Update the extractor to target .NET 9.

This commit is contained in:
Michael Nebel
2024-11-19 10:25:52 +01:00
parent 99494dd540
commit 201a5e9faa
11 changed files with 106 additions and 101 deletions

View File

@@ -131,7 +131,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
}
// The version number should be kept in sync with the version .NET version used for building the application.
public const string LatestDotNetSdkVersion = "8.0.101";
public const string LatestDotNetSdkVersion = "9.0.100";
/// <summary>
/// Returns a script for downloading relevant versions of the

View File

@@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<AssemblyName>Semmle.Extraction.CSharp.DependencyStubGenerator</AssemblyName>
<RootNamespace>Semmle.Extraction.CSharp.DependencyStubGenerator</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>

View File

@@ -71,7 +71,7 @@ public class Testrunner
testrunner.OnTestSkipped = OnTestSkipped;
Console.WriteLine("Discovering tests...");
testrunner.Start(parallelAlgorithm: null);
testrunner.Start();
Finished.WaitOne();
Finished.Dispose();