Skip to content

Commit

Permalink
change EFCore.Design dependency to include assets (#3137)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepchoudhery authored Dec 29, 2024
1 parent 8cb5ba6 commit f59e803
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Scaffolding/VS.Web.CG.EFCore/VS.Web.CG.EFCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
without adding EntityFrameworkCore dependency.
https://github.com/dotnet/scaffolding/issues/434
-->
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" PrivateAssets="All" />
<!-- Would ideally have this private but this dependency is failing to load on runtime
starting with VS 17.3 Preview 3. This is a placeholder fix.
Extra deps are pulled into the project but only for 2 scenarios, area and view.
The rest of them pull in EF dependencies regardless. -->
<PackageReference Include="Microsoft.EntityFrameworkCore.Design"/>
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit f59e803

Please # to comment.