.NET Error when trying to run SQL Prompt Command Line

intGodintGod Posts: 7 New member
When running the SQL Prompt command line, I get this error.

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at System.CommandLine.Parsing.StringExtensions.Tokenize(IReadOnlyList`1 args, CommandLineConfiguration configuration, Boolean inferRootCommand)
   at System.CommandLine.Parsing.Parser.Parse(IReadOnlyList`1 arguments, String rawInput)
   at RedGate.SqlPrompt.Formatting.Bulk.CommandLine.Program.Main(String[] args)

The command I ran was:

C:\"Program Files (x86)\Red Gate\SQL Prompt 10\FormatCommandLine\SqlPrompt.Format.CommandLine.exe" --i-agree-to-the-eula --path c:\Users\XXXXXXXXX --style "C:\Users\XXXXXXXXX\AppData\Local\Red Gate\SQL Prompt 10\Styles\Kristof-f2b8d899-4be0-4ebe-9220-4b63ae5d3fd6.json" --create-backups
Tagged:

Best Answer

Sign In or Register to comment.