System.Reflection is mising from bin folder once upgrade the project from .NetFramework 4.6.2 to 4.8

Ranjan Sahoo 1 Reputation point
2022-02-02T08:51:20.767+00:00

When I am upgrading my project from .NetFramework 4.6.2 to 4.8 and after doing reinstallation of package as per suggestion and rebuild the project and went to bin folder then the system.reflection was missing. Before upgrading framwork it is there with no issue. Need some help on this to find out the root cause why the dll is missing after upgrade.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,136 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 27,746 Reputation points Microsoft Vendor
    2022-02-07T08:43:38.747+00:00

    Hi, @Ranjan Sahoo ,

    after doing reinstallation of package as per suggestion and rebuild the project and went to bin folder then the system.reflection was missing.

    Could you please provide more information about the suggestion you get and what have you done?
    You can try to install System.Reflection package from Nuget package manager.
    171834-image.png
    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.