Please clearly describe what the SQL Sink is doing incorrectly:
If the test suite is executed for the .NET 6 target, no tests are executed but an error message is shown.
Please clearly describe the expected behavior:
The tests should be executed using the .NET 6 build of the sink.
List the names and versions of all Serilog packages used in the project:
Serilog.Sinks.MSSqlServer: 6.3.0
Target framework and operating system:
[ x] .NET 6
Provide a simple reproduction of your application code:
Clone the sink GitHub repo locally
Open a powershell session in the source directory and run the following command.
dotnet test --framework net6.0
Result: the tests are not executed but the following error is shown.
Testhost process for source(s) 'C:\Source\GitHub\ckadluba\serilog-sinks-mssqlserver\test\Serilog.Sinks.MSSqlServer.Tests\bin\Debug\net6.0\Serilog.Sinks.MSSqlServer.Tests.dll' exited with error: Error:
An assembly specified in the application dependencies manifest (testhost.deps.json) was not found:
package: 'Newtonsoft.Json', version: '13.0.1'
path: 'lib/netstandard2.0/Newtonsoft.Json.dll'
. Please check the diagnostic logs for more information.
Test Run Aborted.
Bug Report
If the test suite is executed for the .NET 6 target, no tests are executed but an error message is shown.
The tests should be executed using the .NET 6 build of the sink.
[ x] .NET 6
Result: the tests are not executed but the following error is shown.