Skip to content

Project templates shouldn't need Microsoft.NET.Test.Sdk for TUnit #134

Closed

Description

@Youssef1313

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

Content of reqnroll.json (if present)

No response

Issue Description

The package reference at

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />$if$ ('$unittestframework$' == 'xUnit')
isn't needed for TUnit.

Steps to Reproduce

Create a TUnit project.

Link to a project repository that reproduces the issue

No response

Activity

  1. gasparnagy commented on Nov 25, 2025

    @gasparnagy
    Contributor

    Is the "default" TUnit project template also without the test SDK? If yes, then we should follow the same pattern, I agree.

  2. Youssef1313 commented on Nov 25, 2025

    @Youssef1313
    Author

    The TUnit project templates for sure don't have Microsoft.NET.Test.Sdk. This package is for VSTest. TUnit uses Microsoft.Testing.Platform.

  3. clrudolphi commented on Mar 17, 2026

    @clrudolphi
    Contributor

    Does this open the wider question of whether the New Project Wizard should allow the user to select VS or MTP?

  4. clrudolphi commented on Mar 17, 2026

    @clrudolphi
    Contributor

    In the meantime, submitted PR to address this specific issue: #166

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions