diff --git a/build/Build.cs b/build/Build.cs index c1b8608..99bcecc 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -89,6 +89,8 @@ sealed class Build : NukeBuild .SetProjectKey(SonarProjectKey) .SetServer(SonarHostUrl); SonarScannerTasks.SonarScannerBegin(sonarScannerSettings); + DotNetTasks.DotNetBuild(settings => settings.SetNoRestore(true)); + SonarScannerTasks.SonarScannerEnd(); }); Target Deploy => _ => _.DependsOn(Pack).Executes(() =>