none
Getting 'System.TypeLoadException' occured in System.Windows.Forms.dll RRS feed

  • Question

  • I am trying to load a vcxproj in my C# application. But I am getting the exception mentioned below,

    The given link contains my sample program

    SampleProgram

    Kindly open SampleFormMSTVS2015.csproj in VS2015 enterprise IDE and Debug/run the application, you will see the above mentioned exception

    Thanks, Bharathraj


    • Edited by Bharathraj Friday, July 8, 2016 7:42 AM Simplified my example code
    Friday, July 8, 2016 6:47 AM

Answers

  • Hi Bharathraj,

    From your description and share project, I have made a test on my side. I do not get the error you describe when I open the SampleFormMSTVS2015.csproj in VS2015 enterprise IDE and Debug/run the application.

    VS: 2015 UP1
    System: Windows 10

    You could also share us more relevant code to help us reproduce the problem.

    Best Regards,
    Li Wang

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, July 11, 2016 8:35 AM
    Moderator