mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
C#: Set AllowMissingPrunePackageData=true to true when purposely using non-existing framework targets.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
|
||||
args += $" /p:TargetFrameworkRootPath=\"{path}\" /p:NetCoreTargetingPackRoot=\"{path}\"";
|
||||
args += $" /p:TargetFrameworkRootPath=\"{path}\" /p:NetCoreTargetingPackRoot=\"{path}\" /p:AllowMissingPrunePackageData=true";
|
||||
}
|
||||
|
||||
if (restoreSettings.PathToNugetConfig != null)
|
||||
|
||||
Reference in New Issue
Block a user