Hi,
As title, I try to add a Custom Desktop item to a C# project:
Right-click an project, select “Add…” and “New Item…“. And then select “Visual C# Items –> Wisej –> Custom Desktop” from the “Add New Item” pop-up screen, Visual Studio will pop up an Exception when you click “Add…” button, which say:
ArgumentNullException: Value cannot be null. Parameter name: key
I then click the OK button on this dialog box to close it and the Custom Desktop can actually added to the project (Refer to the attached screen capture for details).
I don’t know if there is any side effect with such exception.
Thanks and regards,
Felix CHAN
Hi,
I am sorry that I just discover that the Exception is not just caused by “Add New Item”.
As I upgraded the Wisej to the latest version 1.3.40.0 a few hours ago, I find that not only “Add New Item” but all existing Desktop controls will pop-up such ArgmentNullException when they are opened in the Designer.
Compile it and run it does not have problem. So, there must be something wrong with the Designer of the Desktop control.
As such, I change the subject of this thread accordingly.
Thanks and regards,
Felix CHAN