dotnet-test-nunit icon indicating copy to clipboard operation
dotnet-test-nunit copied to clipboard

Multiple frameworks doesn't work with VS test explorer

Open h0useRus opened this issue 8 years ago • 20 comments

Hi, latest version working fine with one framework with Test Explorer and dotnet test, but if you select more than one framework in project.json working only dotnet test, but not in Test Explorer, all tests disappear. My project.json:

{
    "version": "1.2.3.4",
    "dependencies": {
        "MyLib": {
            "target": "project"
        },
        "NUnit": "3.2.1",
        "dotnet-test-nunit": "3.4.0-alpha-2"
    },
    "testRunner": "nunit",
    "frameworks": {
        "net451": { },       
        "netcoreapp1.0": {
            "imports": [
                "dnxcore50",
                "netcoreapp1.0",
                "portable-net45+win8"
            ],
            "dependencies": {
                "Microsoft.NETCore.App": {
                    "version": "1.0.0-*",
                    "type": "platform"
                }
            },
            "buildOptions": {
                "define": [ "NETCORE" ]
            }
        }
    }
}

h0useRus avatar Jun 23 '16 05:06 h0useRus