Missing preprocessor symbols
System.Data.SqlClient is now marked obsolete and is (soon) only supported for dotnetframework https://techcommunity.microsoft.com/blog/sqlserver/announcement-system-data-sqlclient-package-is-now-deprecated/4227205
I #load some .cs files shared with Visual Studio which looks like
#if NETSTANDARD2_0_OR_GREATER || NETCOREAPP
using Microsoft.Data.SqlClient;
#else
using System.Data.SqlClient;
#endif
In LinqPad System.Data.SqlClient is used since "NETCOREAPP" is not defined.
Could this be added in a future release?
Comments
-
LINQPad 6+ currently defines the NETCORE symbol. I'll add NET and NETCOREAPP to the next LINQPad 8 build.
