Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Scaffold in runtime

$
0
0

Tried to implement runtime scaffolding as described in

https://medium.com/@zaikinsr/roslyn-ef-core-runtime-dbcontext-constructing-285a9d67bc87

In project .config file


<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.2"><PrivateAssets>all</PrivateAssets><IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets></PackageReference> is changed to <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.2"/> After that yellow warning icons appear in Visual Studio Solution Explore Dependecies tree.
Build and package manager windows do not contain any warnings. How to find warning message related to this icon ? How to fix this ? Which is proper way to use scaffold in runtime ?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>