Skip to content

Don't report warning for missing AddServices() in test projects#48

Merged
kzu merged 1 commit intomainfrom
dev/istest
Dec 6, 2022
Merged

Don't report warning for missing AddServices() in test projects#48
kzu merged 1 commit intomainfrom
dev/istest

Conversation

@kzu
Copy link
Copy Markdown
Member

@kzu kzu commented Dec 6, 2022

Test projects have the IsTestProject=true via the required dependency on Microsoft.NET.Test.Sdk.

We leverage that property in the analyzer to never report this warning which is intended for the actual hosting projects.

Closes #47

Test projects have the IsTestProject=true via the required dependency on Microsoft.NET.Test.Sdk.

We leverage that property in the analyzer to never report this warning which is intended for
the actual hosting projects.

Closes #47
@kzu kzu enabled auto-merge (rebase) December 6, 2022 18:15
@kzu kzu merged commit fbccbaa into main Dec 6, 2022
@kzu kzu deleted the dev/istest branch December 6, 2022 18:17
@kzu kzu added the enhancement New feature or request label Dec 13, 2022
@devlooped devlooped locked and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Never report warning for missing AddServices() in test projects

1 participant