Cannot load a reference assembly for execution in VS for C#

Arvind TNathan 1 Reputation point
2021-03-04T05:19:58.007+00:00

The error I get when Create a new project using true launch a .NET framework for Windows Form App on VS. But I keep on getting this error:

at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) 74052-capture.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,834 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daniel Zhang-MSFT 9,616 Reputation points
    2021-03-04T07:05:20.737+00:00

    Hi ArvindTNathan-6852,
    In order to find the cause of the error more accurately, please provide more code and information to reproduce the situation.
    And based on your error, I suggest you try the following steps in first.

    1. Perform clean build operation for the solution
    2. Deleting the bin and obj folders
    3. Then re-build the solution.
      Best Regards,
      Daniel Zhang

    If the response 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.

    0 comments No comments