dotnet / dotnet/aspnetcore

Please use net50 target dll instead of .NETStandard dll in .net runtime shared dlls

Open
#41,221 3 comments 0 reactions 0 assignees View on GitHub
area-infrastructure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

I use Visual Studio 2022 and C++ cli and .net 5. (I will use .net 6).

Because C++ cli doesn't support mixed dll type, and it can't use .NET Standard dlls.

I find that there are many .NET Standard dlls in runtime shared dlls, such as `Microsoft.Extensions.Hosting.Abstractions.dll` and `Microsoft.Extensions.Hosting.dll`.

So my application doesn't work!!!!!!!! (my C++ clr application reference .NET 5 dll which use Grpc.AspNetCore and Grpc.AspNetCore.Web)

111

### Expected Behavior

C++ clr reference .Net 5 dll will work.

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.