Skip to content
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

fix: scan non publishable projects #220

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

37IulianPopovici
Copy link
Contributor

@37IulianPopovici 37IulianPopovici commented Sep 2, 2024

.NET projects can be configured to not be publishable (test project as for example)
Improved .NET needs those projects to be publishable in order to generate the self-contained binary that has all the required runtime dependencies
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-publish#msbuild

This PR enhances the dotnet publish command to overwrite <IsPublishable> property to be true in order to successfully scan those projects.

@37IulianPopovici 37IulianPopovici self-assigned this Sep 2, 2024
@37IulianPopovici 37IulianPopovici requested a review from a team as a code owner September 2, 2024 11:56
@37IulianPopovici 37IulianPopovici merged commit 8829268 into main Sep 2, 2024
4 checks passed
@37IulianPopovici 37IulianPopovici deleted the fix-scan-non-publishable-project branch September 2, 2024 13:47
@snyksec
Copy link

snyksec commented Sep 2, 2024

🎉 This issue has been resolved in version 2.7.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants