且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Windows 窗体设计器 NullReferenceException- 何去何从?

更新时间:2023-12-05 23:46:46

这听起来很傻.该表单显然是正在进行的工作的副本,并且构建操作设置为无.将其设置为 Compile 会使设计器正常运行.

This will sound silly. The form is apparently a duplicate for a work in progress and the build action was set to None. Setting it to Compile caused the designer to act as normal.

如果设计师至少能指出您正确的方向就好了.问题解决了.

It would be nice if the designer would at least point you in the right direction. Problem solved.