Skip to content

Microsoft.EntityFrameworkCore.Sqlite how to prevent all the runtime binaries from being emitted?  #37147

Open
@catmanjan

Description

@catmanjan

Describe the bug

I've logged this here dotnet/efcore#32382

We have a project which only runs on windows x64 and uses Microsoft.EntityFrameworkCore.Sqlite

I notice in the bin folder there are sqlite dependencies for just about every computer on earth... How can we prevent these from being emitted?

and was asked to follow up with nuget team who then asked me to raise this with the sdk team

We use efcore in our project however we only target win-x64 environments, can nuget do something to allow efcore to only emit the architecture files needed for supported architectures.

To Reproduce

Build any dotnet project with a dependency on Microsoft.EntityFrameworkCore.Sqlite

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions