C# WPF utility for merging and synchronizing enum definitions across source files.
Enum Merge is a small desktop tool built to simplify enum synchronization between C# files.
It is useful when large enum definitions need to be merged or updated without doing the work manually.
To run the tool, compile the project with .NET Framework 4.8.
Most of the application logic is implemented in MainWindow.xaml.cs.
This tool is designed to merge and synchronize enum definitions from one file into another.
It can be useful when maintaining large enum lists that need to stay up to date across multiple files.
The current implementation only supports simple enum entries in the following format:
enum Fruits
{
Apple = 1,
Banana = 2,
Cherry = 3
}enum Fruits
{
Apple = 1,
Banana = 2,
Cherry = 3,
Apricot = 6
}enum Fruits
{
Watermelon = 4,
Cherry = 30,
Peach = 5
}enum Fruits
{
Apple = 1,
Banana = 2,
Cherry = 30,
Watermelon = 4,
Peach = 5,
Apricot = 6
}If the same enum key exists in both files, the value from the file being integrated is used.