2. 软件安装报错

2.12. TwinCAT 3点击项目属性无窗口出现,点击属性栏内的属性窗口按钮,提示报错“Operation is not valid due to the current state of the object”(此措施可以解决部分鼠标右击项目/库文件没有移除选项的情况)

问题描述:TwinCAT 3 4024.35嵌入Visual Studio使用时,发现TwinCAT 3点击项目属性无窗口出现,点击属性栏内的属性窗口按钮,提示报错“Operation is not valid due to the current state of the object”。

右击项目,点击Properties后,没有属性窗口出现

1

在项目属性栏点击属性窗口按钮后,提示报错。

2

3

问题原因:这是由于Visual Studio安装时缺少ASP.NET组件导致的。

解决措施:使用Visual Studio安装工具,安装ASP.NET相关组件。

4

安装后就能正常显示项目属性窗口。

5


2023.2.7 汪继彬 编辑