.NET
Microsoft Technologies based on the .NET software framework.
1,158 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a .NET 6
assembly which is uploaded to nuget
as a package, and another .NET Framework 4.8
assembly.
Can the .NET 6
assembly package be referenced in the .NET Framework 4.8
assembly, and can it run without generating any exceptions?
Hi @Wonderful World ,
Welcome to Microsoft Q&A forum.
It will not work, but directly reference the .NET 6 assembly may work(instead of installing and referencing the NuGet package). Note, even if directly referencing the assembly works, it may also cause errors during developing and building.
Best Regards,
Tianyu