Page 1 of 1

Beta 10.2 of C#/XAML for HTML5 released

Posted: Fri Oct 21, 2016 10:33 am
by JS-Support @Userware
Dear CSHTML5 users,

We are pleased to inform you that the Beta 10.2 of CSHTML5 is available for download!


You will find it in the "Attachments" section after this message.

Here is what's new since Beta 10.1:
  • 40% improved runtime UI performance!
  • New performance profiling methods in the "CSHTML5.Profiler" class. Read the corresponding documentation at: http://cshtml5.com/links/how-to-profile-performance.aspx
  • Added support for DateTime.Today (thank you DDR!)
  • Added support for transparency in ColorAnimation
  • Improved support for negative margins
  • Fixed an issue that caused Opacity to not animate properly on Buttons and other templated controls
  • Fixed an issue that caused the XAML editor to crash when ControlTemplate contained a malformed storyboard.
  • Fixed an issue where Storyboards with "TargetName" caused an exception when called from outside the VisualStateManager.
  • Fixed an issue that caused an exception when the "TargetProperty" of a storyboard contained elements without parenthesis (except the last element), such as "Background.(SolidColorBrush.Color)" instead of "(Control.Background).(SolidColorBrush.Color)"
  • Fixed error "unexpected use of reserved word 'let' in script mode" under Safari
  • Fixed regression introduced in Beta 10.1 where the Margin property was not applied if set after the element was added to the visual tree
Known regressions:
  • Setting DataGrid.ItemsSource may lead to an exception (we are working to fix this in beta 10.3)


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 support@cshtml5.com

Thank you.
Regards,
JS-Support

Re: New Beta 10.2 released! [Download]

Posted: Tue Oct 25, 2016 10:26 am
by Sesztak
Dear JS-Support,
thanks for the new relase.

There is a bug at setting datagrid.ItemsSource = > exception in Simulator:

"System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

at Windows.UI.Xaml.Controls.DataGrid.RemoveChild(Object childData)

at Windows.UI.Xaml.Controls.DataGrid.UpdateChildrenInVisualTree(IEnumerable oldChildrenEnumerable, IEnumerable newChildrenEnumerable, Boolean forceUpdateAllChildren)

at Windows.UI.Xaml.Controls.ItemsControl.OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)

at Windows.UI.Xaml.Controls.ItemsControl.ItemsSource_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)

at DotNetForHtml5.Core.INTERNAL_PropertyStore.OnPropertyChanged(INTERNAL_PropertyStorage storage, Object oldValue, Object newValue, PropertyMetadata typeMetadata)

at DotNetForHtml5.Core.INTERNAL_PropertyStore.RaisePropertyChangedAndCascadeToChildren(INTERNAL_PropertyStorage storage, Object oldValue, Object newValue, PropertyMetadata typeMetadata)

at DotNetForHtml5.Core.INTERNAL_PropertyStore.SetSpecificValue(INTERNAL_PropertyStorage storage, KindOfValue kindOfValueToSet, Object newValue, PropertyMetadata typeMetadata)

at DotNetForHtml5.Core.INTERNAL_PropertyStore.SetLocalValue(INTERNAL_PropertyStorage storage, Object newValue)

at Windows.UI.Xaml.DependencyObject.SetLocalValue(DependencyProperty dependencyProperty, Object value)

at Windows.UI.Xaml.DependencyObject.SetValueInternal(DependencyProperty dependencyProperty, Object value)

at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dependencyProperty, Object value)

at Windows.UI.Xaml.Controls.ItemsControl.set_ItemsSource(IEnumerable value)"

in Browser:
TypeError: Cannot read property 'I242$GetEnumerator$void=214' of null

Would you be so kind to check the problem at your side ?
thanks in advance,
Br,
Péter

Re: New Beta 10.2 released! [Download]

Posted: Wed Oct 26, 2016 12:10 am
by JS-Support @Userware
Thank you Péter. This was added to the "known regressions" list of the release notes. We are working with high priority to fix this issue asap, and we are updating our tests to prevent such a regression from happening again.

Regards
JS-Support

Re: New Beta 10.2 released! [Download]

Posted: Thu Nov 03, 2016 2:28 am
by Sesztak
Dear JS-Support,
Any estimated time to release v10.3 to fix itemSource bug ?

Really waiting for that as with v10.2 bug it is useless :(

Br,
Péter

Re: New Beta 10.2 released! [Download]

Posted: Thu Nov 03, 2016 3:45 am
by JS-Support @Userware
Sesztak wrote:Any estimated time to release v10.3 to fix itemSource bug ?


It will be released this week.

Re: Beta 10.2 of C#/XAML for HTML5 released

Posted: Sun Nov 06, 2016 7:50 am
by JS-Support @Userware
The issue has been fixed in Beta 10.3, available at:

http://forums.cshtml5.com/viewforum.php?f=6