NOTE: This is currently on a branch I have, but I was able to recreate the same thing on the main fsharp branch here as well.
I'm running into the following issue while trying to run dotnet test and tried adding the recommended NuGet package with no change to the situation.
This is after running a dotnet build has completed successfully.
From the folder: /Users/[REDACTED]/FSharpKoans
dotnet test
Build started, please wait...
Build started, please wait...
Build started, please wait...
Build completed.
Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Core/bin/Debug/netstandard2.0/FSharpKoans.Core.dll(.NETStandard,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Core/bin/Debug/netstandard2.0/FSharpKoans.Core.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
Test Run Aborted.
Build completed.
Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans/bin/Debug/netcoreapp2.0/FSharpKoans.dll(.NETCoreApp,Version=v2.0)
Build completed.
Test run for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Test/bin/Debug/netcoreapp2.0/FSharpKoans.Test.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation. All rights reserved.
Microsoft (R) Test Execution Command Line Tool Version 15.7.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Starting test execution, please wait...
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans.Test/bin/Debug/netcoreapp2.0/FSharpKoans.Test.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
System.IO.FileNotFoundException: Unable to find tests for /Users/[REDACTED]/FSharpKoans/FSharpKoans/bin/Debug/netcoreapp2.0/FSharpKoans.dll. Make sure test project has a nuget reference of package "Microsoft.NET.Test.Sdk" and framework version settings are appropriate. Rerun with /diag option to diagnose further.
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.GetTestHostProcessStartInfo(IEnumerable`1 sources, IDictionary`2 environmentVariables, TestRunnerConnectionInfo connectionInfo)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyOperationManager.SetupChannel(IEnumerable`1 sources, CancellationToken cancellationToken)
at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client.ProxyExecutionManager.StartTestRun(TestRunCriteria testRunCriteria, ITestRunEventsHandler eventHandler)
Test Run Aborted.
Test Run Aborted.
Hi Folks,
NOTE: This is currently on a branch I have, but I was able to recreate the same thing on the main
fsharp
branch here as well.I'm running into the following issue while trying to run
dotnet test
and tried adding the recommended NuGet package with no change to the situation.This is after running a
dotnet build
has completed successfully.From the folder:
/Users/[REDACTED]/FSharpKoans
Any thoughts here on what I might be missing?