Skip to content

[NEW-FEATURE] Compiler should delete previous generated .cs file, if corresponding plc instance is removed #62

@Specter-13

Description

@Specter-13

When I create plc enum structure (or any structure) and its instance for example:

TYPE myEnum :
    (
        Unknown,
        Available,
        UnAvailable	
    );
    END_TYPE
myEnum_instance : myEnum;

Compiler will generate myEnum.cs file. That is perfectly okay.

But when I completely remove my myEnum.st structure from PLC program, C# compiled file myEnum.cs is still present and is causing errors.

It would be nice, if compiler removes unnecessary structures automatically.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions