efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Link https://aka.ms/efcore-docs-trimming is broken

Open optsing opened this issue 1 year ago • 1 comments

If I enable trimming in a project with EFCore 8 I get warning:

Using member 'Microsoft.EntityFrameworkCore.DbContext.DbContext()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. EF Core isn't fully compatible with trimming, and running the application may generate unexpected runtime failures. Some specific coding pattern are usually required to make trimming work properly, see https://aka.ms/efcore-docs-trimming for more details.

https://aka.ms/efcore-docs-trimming doesn't work - it just opens Bing

EF Core version: 8.0.7 Database provider: Microsoft.EntityFrameworkCore.Sqlite Target framework: NET 8.0.7 Operating system: Windows 11 IDE: Visual Stuio 17.11.0 Preview 5

optsing avatar Jul 24 '24 11:07 optsing

@roji @AndriySvyryd Is there a placeholder page we can point this to for now?

ajcvickers avatar Aug 26 '24 11:08 ajcvickers

@ajcvickers I think this can point to the new NativeAOT and precompiled queries page. That page doesn't deal with trimming per se, but I think at this point many people looking for trimming are probably doing NativeAOT? We can always incorporate trimming-specific information into that page later, if people request it.

roji avatar Nov 24 '24 10:11 roji