en-USfr-FR

Update 4.4.0.7 (June 5, 2017)


Full Release notes

New features

  • Visual Studio 2017 Enterprise & Professional support
  • Visual Studio theme support (Blue, Dark)
  • Allow to generate XML Serialization Event (UnknownNode, UnknownElement, UnknownAttribute)
  • MsgPack 0.8 support
  • NewLineOnAttributes option. When true, each attribute is pre-pended with a new line and one extra level of indentation
  • OmitXmlDeclaration allow to remove xml declaration on xml header file
  • Improve CleanupCode
  • xsd2code gui not appear if xml header removed (in *.designer.cs file)
  • Add Region to private fields
  • Let define the indent character when EnableXMLIndent is enabled

 

Fixes and Improvements

  • Fix : Critical error - No C# Code Generated
  • Fix : Add restrictions on Enumerable properties
  • Fix : Issue with field named System
  • Fix : In case of ValidatePropertyInSetter= true, Validation of an object of type enum is failing
  • Fix : #endregion not generated properly when option AutomaticProperties is on
  • Fix : SaveToFile with bad encoding parameter
  • Fix : Support Array of Array in case of unbounded element of unbounded element
  • Fix : Error: #endregion without #region tags with AutomaticProperty + Serialization enabled
  • Fix : Error 403 with https import schema

Update 4.2.0.31 (May 08, 2016)

New features

  • Best partice about PropertyNameSpecified
  • Code cleanup improvment
  • Allow set up a default options template
  • Add new setting IgnoreEmptyEnumType for ShoudSerialize Method

Fixes and Improvements

  • Fix : Bad code in PropertyChanged in the property setter with enum name equals
  • Fix : Renamed property with PascalCaseName are not exlude if ExcludeImportedTypes=true /ssp- flag
  • Fix : Critical error - No C# Code Generated
  • Fix : Command Line Issues and cmd line option for Code Cleanup
  • Fix : CDATA not supported if the schema contains specific namespace
  • Fix : In some case and if PascalCaseProperty enabled, the generated code contains duplicate class
  • Fix : Summary comment improvment
  • Fix : [VB] VB Compilation faild with RangeAttribute and DiteTime type
  • Fix : [VB] Support of Disable/Enable compilation Warning for VB project
  • Fix : [VB] Symplify and compact code in setter
  • Fix : [VB] Illegal <> characters in ShouldSerialize method in generated code
  • Fix : [VB] Compilation error with ShouldSerializeProperty Method with type XmlElement
  • Fix : [VB] Generate in separate files create a bad Namespace and compilation faild
  • Fix : [VB] 'Is' operator on type 'UShort' cause compilation failed

Update 4.2.0.12 (February 01, 2016)

New features

  • Xamarin iOs, Android, Forms support
  • Allow to generate code in separate files (one cs/vb file per class)
  • Allow to generate separate files into subdirectory
  • Support of MsgPack serializer (MessagePack is like JSON but fast and small)
  • Support of JSon.Net serializer (Popular high-performance JSON)
  • New setting to generate public or internal classes (ClassParams / ClassAccessibilityLevel)
  • New setting to generate partial or non partial class (ClassParams / PartialClass)
  • Generate xsd2code.exe command line from xsd2code++ GUI

Fixes and Improvements

  • Fix : Xsd2Code crashes when referencing xml.xsd
  • Fix : Vs. crash during code generation from an xsd containing a circular reference (with EnableSummaryComment enabled)
  • Fix  : Load default settings do not set TargetFramework / GenerateXmlAttributes
  • Fix : Missing commands for xsd2code.exe (like serializer xml, json, msgpack, classNamePrefix etc.)
  • Fix : VB - PascalCaseName generates two properties with the same name
  • Fix : VB - two properties with the same name cause compilation error
  • Fix : VB - Some reserved keywords are not supported in ShouldSerilizeMethods

Update 4.0.0.433 (May 17, 2015)

New features

  • Visual studio 2015 support 
  • CDATA support for string elements
  • Do not initialize Optional elements (minOccurs="0") in ctor or in getter (if lazy loading enabled)
  • Full implementation of ShouldSerialize[PropertyName] method for all king of type (Nullable, Complex type, Simple type, string).

Fixes and Improvements

  • All empty elements are written to file
  • EnableXmlIndent = False is not working
  • Compilation Error if property name contains "Field" and option StartWithUnderscore is enabled
  • Ability to generate DataContrat/DataMember on property with XmlIgnoreAttribute
  • xs:minInclusive and xs:maxInclusive not been generated (date)
  • Compilation error on GenerateShouldSerializeProperty in case of elements whose name is a reserved keyword
  • New item in CustomUsing setting not saved if it is the only change
  • The setting “Custom Usings” are not updated into the file.
  • Compilation error if EnableEncoding enabled : Encoding.UTF8 need System.Text prefix
  • properties that were not specified in the input.xml file are being written either as empty properties in output.xml file
  • Compilation error in vb context with some reserved keyworks

Update 4.0.0.392 (September 22, 2014)

 Fixes and Improvements

  • Remove DataAnnotations attributes in case of collection (With restriction option enabled)

Update 4.0.0.391 (September 07, 2014)

 New features

  • Add restriction support ([StringLengthAttribute=true/false], [RegularExpressionAttribute=true/false], [RangeAttribute=true/false]).
    • <xs:pattern/> generated as RegularExpressionAttribute
    • <xs:minInclusive/>, <xs:maxInclusive/> generated as RangeAttribute
    • <xs:maxLength/> generated as StringLengthAttribute
    • Call Validator.ValidateProperty in setter.
  • Allows to enable/disabled name for DataMember attributes
  • Allows to force DataMember attribute when XmlIgnore attribute exists.

Fixes and Improvements

  • C# grammar fixes.
  • VB Warning fixes.
  • Sometime summary comments are missing when PascalCase Property is enabled

Update 4.0.0.283 (March 02, 2014)

New features

  • compilation warning can be disable on generated code (Option Miscellaneous.EnableWarning [True]/[False])

Fixes and Improvements

  • Minor : Change ItemChoiceType by [ClassName]ItemChoiceType if ExcludeImportedType is enable. (Avoid duplication of types)
  • Minor : Remove XmlIncludeAttribute and XmlChoiceIdentifierAttribute if GenerateXmlAttribute is false

Update 4.0.0.237 (January 25, 2014)

Fixes and Improvements

  • Visual studio crash if xsd file contains circular reference in xsd:import or xsd:include 
  •  /? command line throw exception
  • The encoding options for the serialization does not exist on the command line (xsd2code.exe)
  • The Context menu "xsd2code generation" is not displayed for web projects (website project)
  • Error: Object reference not set to an instance of an object in case of unavaibale import schema and ExcludeImportedTypes=True
  • Bad generated type if GeneratePropertyNameSpecified=Default and if private field is already a nallable type ex. System.Nullable<System.Nullable<>>
  • C# reserved keywords are not managed if AutomaticProperty is enable.
  • Remove unsued field in case of AutomaticProperty = true and if private field type is Object.

Update 4.0.0.220 (January 18, 2014)

New features

Multiple regeneration : Allows you to regenerate all classes generated by xsd2code++

Fixes and Improvements

  • Add explicit message in case of cicircular group reference (not suppoted by xsd2code).
  • Better performace for the return to Visual Studio.
  • Remove unused fields in case of GeneratePropertyNameSpecified=Default and PrivateFieldName=StartWithUnderscore
  • Fix error : For security reasons DTD is prohibited in this XML document.
  • Fix compilation error if ShouldSerializeProperty = true and collectioType is Array.
  • Add namespace and dll reference for JSON serializer

Update 4.0.0.172 (December 29, 2013)

New features  

In solution explorer it  is now possible to generate code from xml file.

In this cas, xsd2code++ create a schema corresponding to XML structure (in the same directory of xml file)

  • Add message when license added
  • Add email contact in about tab
  • Allow to generate classes directly from an xml file