Hey everyone,
In the course of ongoing work on
issue 69, I have just pushed a series of ~ 10 commits to GitHub, which include some broader changes on the maintenance and overall API side. Some of these changes will break your code. But don't worry - it looks worse than it is. Here's a quick overview on what has changed:
- CorePluginRegistry.RegisterTypeCategory is gone. Use the EditorHintCategory attribute on your Components and Resources instead.
- CorePluginRegistry.RegisterTypeImage is gone. Use the EditorHintImage attribute on your Components and Resources instead.
- Introduced a kind-of standard for embedded resources across all Duality Assemblies. They are located within the EmbeddedResources subfolder and accessed via .resx ResourceManagers, which are usually located in the projects Properties subfolder.
- DualityEditor namespace is now called Duality.Editor
- DualityLauncher namespace is now called Duality.Launcher
- Plugin namespaces now are Duality.Plugins.XY and Duality.Editor.Plugins.XY für all Duality plugins.
- Duality.ColorFormat and Duality.VertexFormat have been merged to Duality.Drawing, which now also contains classes such as Canvas and DrawDevice.
- Duality.Profiling is gone and has moved to Duality directly.
- Some Tweaks and Bugfixes, as usual.
For upgrading, you'll most likely have to recompile all of your plugins and do some Find / Replace All operations. After that, your Resources should be fine though, I've added a proper SerializeErrorHandler to the Compatibility plugin, which should cover most renamed and relocated Types.
I hope, you'll be able to upgrade without big problems. Sorry for the inconvenience!