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

Output type is ignored #292

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Output type is ignored #292

wants to merge 1 commit into from

Conversation

Corniel
Copy link
Contributor

@Corniel Corniel commented Nov 1, 2024

While working on something else I got this issue the other way around. Anyway, when a build project with <OutputType>exe</OutputType> when no entry point is defined, I would expect the analysis to fail:

CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point \buildalyzer\tests\projects\OutputTypeExe\OutputTypeExe.csproj

But that is not the case. This PR is first a reproduction. I'm now looking into why this is happening.

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

Successfully merging this pull request may close these issues.

1 participant