Local DB is not supported on this platform

Nov 19, 2019 18:07


Originally published at www.ikriv.com. Please leave any comments there.

Instability is bad, but letting me specify a combination of template parameters that cannot possilby work is much worse. In VS 2019 with dotnet core 3.0, I created an ASP.NET web application, specified “Linux” as platform, and “store user accounts in-app” for authentication. The wizard obliged, but when I tried to run it, I received this error:

PlatformNotSupportedException: LocalDB is not supported on this platform

On Windows user credentials are stored in a local SQL Server database, but Linux does not have that. It would be much more sensible to detect this and warn me before I created the project, not after I have compiled and run it.

uncategorized

Previous post Next post
Up