Minor fixes in standalone extraction

This commit is contained in:
Tamas Vajk
2023-07-04 10:25:02 +02:00
parent 95ddc01ccb
commit ffc09c44c2
2 changed files with 6 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ namespace Semmle.Extraction.CSharp
// Figure out if it's dotnet core
var netCoreProjectFile = root.GetAttribute("Sdk") == "Microsoft.NET.Sdk";
var netCoreProjectFile = root.GetAttribute("Sdk").StartsWith("Microsoft.NET.Sdk");
if (netCoreProjectFile)
{