Page 1 of 1

v1.2 Beta 9 release 2 (bug fixes, WCF, XmlnsDefinition)

Posted: Fri Nov 30, 2018 10:16 am
by JS-Support @Userware
Dear CSHTML5 users,

We are pleased to inform you that the version 1.2 Beta 9 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!


UPDATED: RELEASE 2 fixes the reported regression

DOWNLOAD:
CSharpXamlForHtml5_v1_2_beta9_R2.zip
(61.27 MiB) Downloaded 606 times

Learn More about C#/XAML for HTML5.


Here is what's new since v1.2 Beta 8:

  • Support for the "XmlnsDefinition" attribute (in "AssemblyInfo.cs") to associate an URL to a namespace. Example:

    Code: Select all

    [assembly:XmlnsDefinition("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Windows.UI.Xaml.Controls")]

    Note: like in WPF, it does not apply to the assembly itself but only to the assemblies that reference your assembly.
  • Fixed an issue that caused the "Post Build" event to be executed twice, and in the wrong order (ie. it was executed before the compilation was complete)
  • Fixed an issue with WCF that occurred with web methods that have an abstract class, an interface, or a base type in their signature
  • Fixed an issue with WCF that occurred when one of the arguments of a web method was a generic type with 2 type generic type arguments (such as Dictionary<T1, T2>)
  • Fixed an issue with WCF that resulted in the wrong member being serialized, in case that both the [Serializable] and the [DataContract] attributes were present
  • Fixed an issue with the DataContractSerializer (and also with WCF) that resulted in the inherited properties of an object not being serialized in the correct order. The serializer now takes into account the classes hierarchy to determine the order of the properties in the XML.
  • Fixed support for running the generated HTML/JS application on a Linux-based server. There was an issue related to the fact that the resources are copied in lower case. Now they are still copied in lower case but the application code is now able to locate them.
  • Fixed an issue where ObservableCollection.OnPropertyChanged was not found
  • Fine-tuned the warning when the CredentialsMode is not appropriate (CORS).
  • Improved the compilation error message when an element in the XAML does not have a key.
  • Slightly improved the default DataGrid appearance

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:

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 a previous version, simply uninstall this one (from the Control Panel) and reinstall the previous version.

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: v1.2 Beta 9 released! [Download] (bug fixes, WCF, XmlnsDefinition). Errors on compile

Posted: Fri Nov 30, 2018 3:44 pm
by Nick

Re: v1.2 Beta 9 released! [Download] (bug fixes, WCF, XmlnsDefinition)

Posted: Sat Dec 01, 2018 9:24 am
by MichaelHughes
I also couldn't get mine to compile either - going back to beta 8
Parsing file: ej-spreadsheet.d.ts
Exporting file: c:\Dyalog\cmd\Firebrand\Working\CSHTML5.Extensions.Syncfusion.EssentialJS1.Spreadsheet\obj\Debug\ej-spreadsheet.xml
Parsing file: c:\Dyalog\cmd\Firebrand\Working\CSHTML5.Extensions.Syncfusion.EssentialJS1.Spreadsheet\obj\Debug\ej-spreadsheet.xml
AddContent: 'ej'
Namespace Export: 'ej_spreadsheet'
Namespace Export: 'ej_spreadsheet.ej'
Class: 'ej_spreadsheet.ej.Spreadsheet'
Output directory: c:\Dyalog\cmd\Firebrand\Working\CSHTML5.Extensions.Syncfusion.EssentialJS1.Spreadsheet\obj\Debug\
TypeScriptDefToCSharp output:
PrepareForBuild:
Creating directory "bin\Debug\".
Done Building Project "c:\Dyalog\cmd\Firebrand\Working\CSHTML5.Extensions.Syncfusion.EssentialJS1.Spreadsheet\CSHTML5.Extensions.Syncfusion.EssentialJS1
Done Building Project "c:\Dyalog\cmd\Firebrand\Working\APLControls\APLControls.csproj" (default targets) -- FAILED.
Project "c:\Dyalog\cmd\Firebrand\Working\Firebrand\Firebrand.csproj" (1) is building "c:\Dyalog\cmd\Firebrand\Working\DataBinding\DataBinding.csproj" (3
CSharpXamlForHtml5BeforeBuild:
Starting Pass 1
Starting AssemblyAttributesGenerator
C#/XAML for HTML5: AssemblyAttributesGenerator started.
C#/XAML for HTML5: AssemblyAttributesGenerator completed.
Starting AssemblyReferenceValidator
Starting AssemblyMissingReferenceChecker
Starting ServiceReferenceFixer
Starting ResourcesProcessor
Starting processing TypeScript Definition files:
TypeScriptDefToCSharp output:
PrepareForBuild:
Creating directory "bin\Debug\".
Done Building Project "c:\Dyalog\cmd\Firebrand\Working\DataBinding\DataBinding.csproj" (default targets) -- FAILED.
Done Building Project "c:\Dyalog\cmd\Firebrand\Working\Firebrand\Firebrand.csproj" (default targets) -- FAILED.
Build FAILED.
"c:\Dyalog\cmd\Firebrand\Working\Firebrand\Firebrand.csproj" (default target) (1) ->
"c:\Dyalog\cmd\Firebrand\Working\APLControls\APLControls.csproj" (default target) (2:2) ->
"c:\Dyalog\cmd\Firebrand\Working\APLExtension\APLExtension.csproj" (default target) (4:3) ->
(BeforeCompile_NotDesignTime target) ->
C:\Program Files (x86)\MSBuild\CSharpXamlForHtml5\InternalStuff\Targets\CSharpXamlForHtml5.Build.targets(108,7): error MSB4064: The "ReferencesPaths"
C:\Program Files (x86)\MSBuild\CSharpXamlForHtml5\InternalStuff\Targets\CSharpXamlForHtml5.Build.targets(106,5): error MSB4063: The "BeforeXamlPreproc
0 Warning(s)
2 Error(s)
Time Elapsed 00:00:24.56

Re: v1.2 Beta 9 release 2 [UPDATED] (bug fixes, WCF, XmlnsDefinition)

Posted: Sun Dec 02, 2018 6:07 am
by JS-Support @Userware
Sorry for those regressions.

The download link has just been updated to "RELEASE 2", which should fix those issues.

Are they now fixed for you?

Re: v1.2 Beta 9 release 2 [UPDATED] (bug fixes, WCF, XmlnsDefinition)

Posted: Sun Dec 02, 2018 4:37 pm
by Nick
OK, for the moment on my solutions, ;)

Re: v1.2 Beta 9 release 2 [UPDATED] (bug fixes, WCF, XmlnsDefinition)

Posted: Wed Dec 05, 2018 10:03 pm
by berend
Beta 9 R2 works for me again. Also, the WCF issues I reported for beta 8 are fully fixed in the simulator. However, I got a new WCF-related problem in the js output, I'll report that by e-mail. Thanks for the fast action on the regression!