From 57e89e6a23618b37506266b96b114894154e223a Mon Sep 17 00:00:00 2001 From: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Date: Fri, 30 Jun 2023 08:17:12 +0100 Subject: [PATCH] Removes UseSharedCompilation=false note (#38624) --- .../no-source-code-seen-during-build.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/content/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build.md b/content/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build.md index bdf2ef287a..ca148426d7 100644 --- a/content/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build.md +++ b/content/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build.md @@ -44,15 +44,6 @@ If your workflow fails with `Error: "No source code was seen during the build"` - Building using a distributed build system external to GitHub Actions, using a daemon process. - {% data variables.product.prodname_codeql %} isn't aware of the specific compiler you are using. - For .NET Framework projects, and for C# projects using either `dotnet build` or `msbuild`, you should specify `/p:UseSharedCompilation=false` in your workflow's `run` step, when you build your code. - - For example, the following configuration for C# will pass the flag during the first build step. - - ``` yaml - - run: | - dotnet build /p:UseSharedCompilation=false - ``` - If you encounter another problem with your specific compiler or configuration, contact {% data variables.contact.contact_support %}. -For more information about specifying build steps, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." +For more information about specifying build steps, see "[AUTOTITLE](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#adding-build-steps-for-a-compiled-language)." \ No newline at end of file