serilog-mssql / serilog-sinks-mssqlserver

A Serilog sink that writes events to Microsoft SQL Server and Azure SQL
Apache License 2.0
276 stars 147 forks source link

Package add/restore fails for versions 6.0.0+ on latest VisualStudio #508

Open jochance opened 8 months ago

jochance commented 8 months ago

This package breaks all package management for at least some solutions and packages can't be added/restored.

To reproduce:

Pre-Req: The latest Visual Studio/.NET 8 installation?

Try to add or restore this package. Use a version >= 6.0.0.

Please clearly describe the expected behavior:

The expected behavior would be to add/restore the package.

Instead you will receive this error:

Unterminated string. Expected delimiter: ". Path 'contentHash', line 3, position 110.

List the names and versions of all Serilog packages used in the project:

Target framework and operating system:

[x] .NET 6 [ ] .NET Framework 4.8 [ ] .NET Framework 4.7 [ ] .NET Framework 4.6 OS: win 10

Provide a simple reproduction of your Serilog configuration code: inapplicable

Provide a simple reproduction of your Serilog configuration file, if any: inapplicable

Provide a simple reproduction of your application code: inapplicable

ckadluba commented 3 months ago

Hi @jochance!

Sorry for the late answer.

I could not reproduce this error using .NET 6 using Visual Studio 17.11.0 Preview 1.0. Can you please give us more details and confirm if the problem still exists for you? Could you maybe even submit a full sample project where you get the error?

Thank you very much!