dreamsunsky.blogg.se

Visual studio for mac razor
Visual studio for mac razor








visual studio for mac razor

If you use what the scaffolding automatically generates, you will get a “LocalDB is not supported on this platform.” error when you try to update with your migration (dotnet ef database update).

Visual studio for mac razor movie#

When you are on “Add a Model” and are specifically in the “Scaffold the movie model” and “Initial migration” sections, the scaffolding will build a connection string referencing (localdb)\mssqllocaldb. Hey folks, I started jumping around the different steps of this tutorial while stuck on this issue as well and may have found something that worked that's already documented in the tutorial:a Content Source: aspnetcore/tutorials/razor-pages/model.md.Content: Add a model to a Razor Pages app in ASP.NET Core.It is required for ➟ GitHub issue linking. Is there a step we can take on the macs to use SqlLite in the tutorial to have it work? This go around, I'm noticing it's referring to SqlServer: When I ran the tutorial a few months ago, I noticed the generated code in Startup.cs was referring to Sqlite: NET 3.1.1), we get an "LocalDB is not supported on this platform." error when running the "dotnet ef database update" step on the command line. When my colleagues and I run this tutorial on our Macs (latest VS 2019 for Mac, Community Edition.










Visual studio for mac razor