Automated-Fact-Checking-Resources icon indicating copy to clipboard operation
Automated-Fact-Checking-Resources copied to clipboard

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

Open jochance opened this issue 1 year ago • 1 comments

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:

  • Serilog 3.0.1
  • Serilog.AspNetCore 7.0.0
  • Serilog.Enrichers.Environment 2.2.0
  • Serilog.Enrichers.Process 2.0.2
  • Serilog.Expressions 3.4.1
  • Serilog.Extensions.Hosting 7.0.0
  • Serilog.Formatting.Compact 1.1.0
  • Serilog.Sinks.Console 4.1.0
  • Serilog.Sinks.Debug 2.0.0
  • Serilog.Sinks.MSSqlServer 5.7.1

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

jochance avatar Dec 28 '23 19:12 jochance

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!

ckadluba avatar May 28 '24 21:05 ckadluba