dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.44k stars 10.02k forks source link

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

Open kzhui125 opened 2 years ago

kzhui125 commented 2 years ago

Is there an existing issue for this?

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

kzhui125 commented 2 years ago

At least the shared library should be all .net core dlls.

Other .netstandard dlls I can download source and rebuild(target to .net core).

kzhui125 commented 2 years ago

Also, I see some netstandard dlls in .net 6 runtime shared dlls.

Please fix!!!

This cause the C++ clr with .net core unusable!!!

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.