Could not resolve mscorlib for target framework RRS feed

  • Question

  • Hello,

    I have the following issue at the time to open a windows form:

    Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0,Profile=Client'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

    please would you help me out?

    Thank you,

    Friday, October 26, 2018 12:32 AM

All replies

  • Hi JuanCVG,

    Thank you for posting here.

    For your question, normally, we could fix by removing and re-adding the reference.

    If this could solve your question, please try the way provided in the links below.

    Best Regards,


    Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, October 26, 2018 2:40 AM
  • You're trying to run an app that relies on the .NET v4 Client Profile which is not available. Hence you're getting an error. Install the library on the target machine.

    The client profile stuff has been deprecated in newer versions. If the target machine already has .NET 4.5+ then you should be good to go so install any of the versions from then on. 

    Michael Taylor

    Friday, October 26, 2018 10:01 PM