Skip to content

Error installing MSTest.TestFramework on .net core #11

Closed

Description

@codito

Description

MSTest.TestFramework should support netcoreapp1.0 target.

Steps to reproduce

  • VS from WPT, 25715.03
  • Create a new console application
  • Install MSTest.TestFramework

Expected behavior

Test framework installs correctly.

Actual behavior

Test framework install fails with following error:

Package MSTest.TestFramework 1.0.1-preview is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package MSTest.TestFramework 1.0.1-preview supports:
  - dotnet (.NETPlatform,Version=v5.0)
  - net451 (.NETFramework,Version=v4.5.1)
One or more packages are incompatible with .NETCoreApp,Version=v1.0.

Environment

MSTest.TestFramework 1.0.1-preview.

Activity

  1. AbhitejJohn commented on Sep 18, 2016

    @AbhitejJohn
    Contributor

    This is interesting. This test framework works fine with .Net Core projects based on a project.json as detailed in this blog. codito : I'm assuming this is happening with the new toolset based on csproj. Can you share/upload a repro please?

  2. codito commented on Sep 19, 2016

    @codito
    ContributorAuthor

    Abhitej John (@AbhitejJohn) WPT build number is available in bug. I've shared steps to create console app in latest WPT bits offline.

  3. AbhitejJohn commented on Sep 28, 2016

    @AbhitejJohn
    Contributor

    This is fixed with MSTest.TestFramework 1.0.4-preview.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions