mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Restore Windows dependencies when Windows Forms or WPF usage is detected
This commit is contained in:
@@ -69,6 +69,11 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
|
||||
args += " --force";
|
||||
}
|
||||
|
||||
if (restoreSettings.TargetWindows)
|
||||
{
|
||||
args += " /p:EnableWindowsTargeting=true";
|
||||
}
|
||||
|
||||
return args;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user