Forum Discussion

Vivek-mvk's avatar
Vivek-mvk
Icon for Microsoft rankMicrosoft
Nov 03, 2022

Project referencing .net4.6 in a .net4.8 installed machine

I was targeting my project to .net4.6, which had a framework level deadlock issue. The issue in fixed (ServicePoint.ConnectionLimit) in .net4.8.

I have installed .net4.8 in the target machine (with ARM templates), which basically replaces .net4.6 in C:\Windows\Microsoft.NET\Framework.

So even if I target my project to .net4.6 it will be using the new dll (which has the fix)

If my above understanding is correct should I change my target framework of the project or shall I stay in 4.6 and continue running in .net4.8 installed machine (to make use of the fix)?

2 Replies

  • LanHuang's avatar
    LanHuang
    Former Employee

    Hi Vivek-mvk,

    Thanks for posting your issue here.

    However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
    Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
    Best Regards,
    Lan Huang

    • Vivek-mvk's avatar
      Vivek-mvk
      Icon for Microsoft rankMicrosoft

      LanHuang I have already got an answer from there (Microsoft learn)

      I had trouble finding right forum.

       

      Thanks.