We are pleased to inform you that the Beta 12.5 of C#/XAML for HTML5 - the extension for Visual Studio that lets you build cross-platform HTML5 apps in standard C# and XAML - is available for download!
Learn More about C#/XAML for HTML5.
Here is what's new (since Beta 12.4):
- Ability to generate HTML/JS files during the build process instead of the Simulator.
- Removed the requirement to have Visual Studio installed. This makes it possible to compile projects using the command line "Msbuild.exe MyProjectName.csproj" after installing the Msbuild tools. The stand-alone Msbuild tools can be downloaded from https://www.visualstudio.com/downloads/ (scroll down to "Other Tools and Frameworks" and choose "Build Tools for Visual Studio 2017").
- XContainer.Descendants() and XContainer.Descendants(XName name)
- Added support for XAttribute explicit operators
- Added public setter for XElement.Name
- Added the constructor public XElement(XName name, params object content)
- Added the equality and inequality operators in XName and XContainer
- Added explicit operators in XElement for nullable types
- Improved DataContractSerializer (added support for more value types and for value type arrays + fixed issue with "double" serialization + fixed deserialization of empty strings and empty arrays + more...)
- Fixed the WCF/DataContractSerializer error when running in the browser that said that "DebuggerBrowsableAttribute" was missing
- Fixed exception when calling XName.Equals(null)
- Fixed issue where a coerced value did not raise the "property changed" event. The issue could be reproduced by using C# to add a NumericUpDown with a given non-zero Value to the visual tree after the tree was loaded: the value was not rendered.
- MessageBox.Show now correctly releases the pointer capture
- Fixed a RepeatButton issue that caused an infinite loop in the NumericUpDown control
Note: with the new WCF stack recently introduced, you can now remove the [XmlSerializerFormat] attribute that is located in the service class (on the server-side) (and don't forget to "update the service reference" in the CSHTML5 app) and benefit from faster application loading, faster WCF, smaller WCF-related output code, and improved compatibility.
Here is a small sample WCF project to test the new WCF stack:
We are also working on many other features and we will release them as soon as they are ready.
You may also be interested to read:
- What's new in Beta 12.4
- What's new in Beta 12.3 (much faster compilation!)
- What's new in Beta 12.2 (15 new features and new WCF Stack)
- What's new in Beta 12.1 (DataContractSerializer)
- What's new in Beta 12.0
Notes about installation:
- Before installing this update, it is recommended that you close all the open instances of Visual Studio.
- If for some reason you need to revert to the previous Beta, simply uninstall this one (from the Control Panel) and reinstall the previous Beta.
We hope you will enjoy this build! If you find any issues, please post them on the forums or send an email to firstname.lastname@example.org