更新时间:2023-11-01 15:15:52
自您发布以来已经很长时间了,但是我只是遇到了这个错误并找出了原因(即使它使
It's been a long time since you posted it, but I've just had this error and found out the reason (even though it makes no sense)
问题出在
console.Write($"CONNECTION STRING: {connectionString}" + Environment.NewLine);
如果在连接字符串后移动冒号,它将起作用。
我不知道为什么插值中的冒号会导致此错误
If you romove the colon after CONNECTION STRING it works. I have no idea why the colon in the interpolation is causing this error