-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[C Sharp] Error: No source code was seen and extracted to path #865
Comments
Hi, |
Hi, The platform I am building on is Linux Platform(ubuntu-latest).Would like to know any code changes needed to be included in order to accomplish manual build in (C# .NET 3.1) runtime. So, any suggestions on this? |
Could you please share your complete Azure DevOps workflow file, and the logs from the failing build? |
The following is the yaml file for azure devops pipeline.trigger: none
The following are the logs that says the following :No source code was seen and extracted to /home/vsts/work/1/s/codeql-runner/codeql_databases/csharp.
|
Thanks for sharing the workflow. The problem here is that Please follow the example at https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/#example-of-creating-a-codeql-database-using-indirect-build-tracing on using the CodeQL CLI within an Azure DevOps workflow, and let us know if you need further help with it. |
Hi @criemen,
I have tried adding /p:UseSharedCompilation=false to the command line of the dotnet build step.
Actually I have CSharp .NET 3.1 tried following documentation in order to publish codeql scan reports in azure devops platform but ended with
Error: No code found during the build. Please see:
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning#no-code-found-during-the-build
Any suggestions on this!
Originally posted by @tangirala-aditya in #851 (comment)
The text was updated successfully, but these errors were encountered: