Skip to content

[Docs]: Instruct users to do EnableMSTestRunner in Directory.Build.props and not in csproj #4192

Closed
@Youssef1313

Description

@Youssef1313

Adding this property to csproj can easily cause users to fall in hybrid mode. The docs should advise to add it in Directory.Build.props at repo root. The property should be having zero effect for non-test projects so it's fine to be in Directory.Build.props in repo root if users are not separating src and tests directories.
If they are separating, I think it doesn't matter that much to be in <RepoRoot>/Directory.Build.props or <RepoRoot>/tests/Directory.Build.props.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions