ModernFormsNext v1.7.0
Full Changelog: v1.6.0...v1.7.0
[1.7.0] - 2026-07-02
Compared with [1.6.0], this release adds the first ModernFormsNext designer stack, Visual Studio
extension packaging, designer document serialization, code generation, reverse parsing, and
design-time metadata infrastructure while preserving the code-first runtime model.
Published packages and artifacts:
ModernFormsNextModernFormsNext.TemplatesModernFormsNext.WindowKitModernFormsNext.WindowKit.BackendModernFormsNext.WindowKit.Backend.WindowsModernFormsNext.DesigningModernFormsNext.CodeGenerationModernFormsNext.DesignerModernFormsNextDesigner.vsix
Added
- Added
ModernFormsNext.Designingwith neutral.mfdesigndocument models, geometry types,
design properties, JSON serialization, validation, selection services, metadata attributes,
metadata reading, and document hosting primitives. - Added
ModernFormsNext.CodeGenerationwith deterministic C#.Designer.csgeneration,
member visibility handling, nestedControls.Add(...)generation, designer hash metadata,
and a conservative Roslyn-based reverse parser for supported generated-code patterns. - Added
ModernFormsNext.Designer, a reusable ModernFormsNext designer shell containing the
toolbox, document outline, designer surface, property grid, output panel, status bar,
settings, docking layout, runtime/placeholder rendering modes, auto-save, localization, and
file services. - Added
samples/ModernFormsNext.DesignerPlaygroundas a standalone designer host/test app. - Added
ModernFormsNext.VisualStudioExtensionandModernFormsNext.VisualStudioExtension.Vsix
for Visual Studio designer command registration,.mfdesigneditor hosting, VSIX packaging,
and Experimental Instance installation. - Added
ModernFormsNext.VisualStudioDesignerHost, the out-of-process designer host used by the
Visual Studio extension. - Added a
BrushEditDialogfor editing solid and gradient brushes with preview support. - Added English and Polish designer/extension UI strings.
Changed
- Bumped the shared package version from
1.6.0to1.7.0. - Updated the application template to reference
ModernFormsNext1.7.0. - Updated the application template to include
MainForm.cs, generatedMainForm.Designer.cs,
and companionMainForm.mfdesign. - Marked template designable files with
ModernFormsNextDesigner=trueand avoided
<SubType>Form</SubType>so Visual Studio does not load the built-in WinForms designer. - Updated installation, template, and architecture documentation for the new designer workflow.
Fixed
- Fixed Visual Studio extension packaging so the VSIX contains the package asset, generated
package definition, extension assembly, and designer host files. - Fixed designable-file detection so ordinary Windows Forms files are not treated as
ModernFormsNext designer files. - Fixed designer document path canonicalization so opening
MainForm.cs,MainForm.Designer.cs,
orMainForm.mfdesignresolves to one active designer session. - Fixed generated layout ordering for docked controls so
Dockassignments are emitted before
layout-affecting bounds where needed.
Removed
- Removed the temporary Visual Studio extension test command from the command table.
Compatibility Notes
- The designer is an MVP but uses the shared
ModernFormsNext.Designershell in both the
playground and Visual Studio extension. It is intentionally not a separate WPF/WinForms UI. .mfdesignremains the designer source of truth. Reverse sync from.Designer.csis available
as a conservative parser API, not as automatic destructive merge behavior.- The Visual Studio extension currently targets Visual Studio 2022/2026-compatible VSSDK ranges
and uses an out-of-process ModernFormsNext host while the framework gets a more formal
embeddable designer surface API.