Skip to content

Remove requirement of setting RuntimeIdentifier in project file for .NET Framework Exe projects #396

@dsplaisted

Description

@dsplaisted

Right now we require that .NET Framework Exe projects set a RuntimeIdentifier property. This is because ASP.NET Core projects depend on the native library in the libuv package. In .NET Core we have a way of deploying both x86 and x64 versions and loading the correct one at runtime, but we don't have this for .NET Framework. That means we effectively don't support AnyCPU for projects that depend on Libuv (or other packages authored in the same way).

At a minimum, we should change it so that the RuntimeIdentifier is only required when there is a package in the dependency graph that has architecture-specific assets.

We should also try to get rid of the requirement of settingRuntimeIdentifier in web projects. This could include setting it to a default in the Web SDK targets when targeting .NET Framework, or updating the Libuv and Kestrel packages to deploy both architectures and load the right native DLL at runtime.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions