-
Couldn't load subscription status.
- Fork 339
Closed
Description
Steps to reproduce
- Install .NET Core SDK 3.0 preview 1
- Open attached project - nunittest.zip
- Run
dotnet testin test directory
Expected behavior
Tests run
Actual behavior
The presence of <PackageReference Include="Microsoft.AspNetCore.App" Version="3.0.0-preview-18579-0056" /> in the test project causes the following error:
C:\Development\Temp\nunittest\PrimeService.Tests> dotnet test
Build started, please wait...
Build completed.
Test run for C:\Development\Temp\nunittest\PrimeService.Tests\bin\Debug\netcoreapp3.0\PrimeService.Tests.dll(.NETCoreApp,Version=v3.0)
Microsoft (R) Test Execution Command Line Tool Version 15.9.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Testhost process exited with error: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer..ctor()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.get_Instance()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestHandler..ctor(TestHostConnectionInfo connectionInfo)
at Microsoft.VisualStudio.TestPlatform.TestHost.DefaultEngineInvoker.Invoke(IDictionary`2 argsDictionary)
at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Run(String[] args)
at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Main(String[] args)
Test Run Aborted.
Metadata
Metadata
Assignees
Labels
No labels