Get an error System.ArgumentNullException was unhandled, Value Cannot be null. Parameter name: activationContext

前端 未结 4 354
慢半拍i
慢半拍i 2021-01-13 08:48

I\'m getting the following exception when I try to run up my Winforms app and haven\'t been able to find a solution to it:

System.ArgumentNullException was u         


        
4条回答
  •  走了就别回头了
    2021-01-13 09:13

    I also had this problem in VS2010 VB.NET, Thanks Rene! Unchecking project_properties.security.enable click once removed my problem

    How my symptoms manifested: I had a custom user control on a form, and was forced to remove any reference to it manually inside InitializeComponent() subroutine

    reason: my Winform had corrupted just after I modified the New() subroutine of my custom user control, where I changed the New() to add arg's and I didn't create a 'default' Sub New() with no arg's, as required for winform page rendering)

提交回复
热议问题