Its' Silverlight to HTML5 Migration related Issue.

gsaibal
Posts: 3
Joined: Mon Aug 14, 2017 4:42 am

Its' Silverlight to HTML5 Migration related Issue.

Postby gsaibal » Thu Aug 24, 2017 11:43 pm

Hi,

I am evaluating your Silverlight Migration Edition before I decide to
purchase / Subscribe your tool / software annually. Right now I am using
a trial / evaluation version with 45 days left in it.

I have a running Silverlight Web Application, Which is hosted on a ASP
Page and the Application gets data through WCF Web Services.

Earlier I posted a question / concern, thanks for your earlier Answer.

But I am facing few more issues.

#1. One surprising issue I am facing. Without adding
"System.Windows.Controls.dll" I am getting legitimate errors. Now, when
I am trying to add "System.Windows.Controls.dll" of "Silverlight 5.0
version". The Visual Studio 2015 is crashing / getting closed
automatically and reloading. If I don't add it no problem is happening.

Can you tell me any probable reason for this?

#2. Error Showing : "The user interface cannot be previewed"
: "Possible cause: 'Failed to create a 'TargetType' from the text
'layoutToolkit:Accordion'.' Type reference cannot find
type named
'{clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit}
Accordion'."

#3. Severity Code Description Project File Line Column
Category Source Suppression State
Error C#/XAML for HTML5: XamlPreprocessor (pass 1) failed: Type
not found: "VisualTransition" in namespace:
"http://schemas.microsoft.com/winfx/2006/xaml/presentation". Note: the
XAML editor sometimes raises errors that are misleading. To see only
real non-misleading errors, make sure to close all the XAML editor
windows/tabs before compiling. "CSHTML5\Assets\Styles\AccordionStyles.xaml"

#4. Severity Code Description Project File Line Column
Category Source Suppression State
Error C#/XAML for HTML5: XamlPreprocessor (pass 1) failed: Type
not found: "CompositTransform" in namespace:
"http://schemas.microsoft.com/winfx/2006/xaml/presentation". Note: the
XAML editor sometimes raises errors that are misleading. To see only
real non-misleading errors, make sure to close all the XAML editor
windows/tabs before compiling. MS_CSHTML5\Assets\Styles\AccordionStyles.xaml

Can you tell me any probable Fix for this?

Please let me know ASAP.

It's very vital before We order for purchasing the paid version of
"SILVERLIGHT MIGRATION EDITION". As I need to inform my company about
how perfectly it's working. Then only we get a go ahead for the purchase.

Thanks in Advance.

Regards,

Saibal

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Its' Silverlight to HTML5 Migration related Issue. Are your ears cemented? Why no response?

Postby JS-Support @Userware » Fri Aug 25, 2017 3:42 am

Hi,

Thank you for your message and sorry for the delay of the reply. This week is the week of August when we are the most short staffed.

Here are the answers to your questions:

#1. You cannot add a reference to "System.Windows.Controls.dll" because you can only add references to either other CSHTML5 projects or assemblies that have been compiled with CSHTML5. The assembly "System.Windows.Controls.dll" was not compiled with CSHTML5. If you need any particulier class that is defined in that assembly, you can see if the code is open-source (for example in referencesource.microsoft.com) and attempt to recompile it in a CSHTML5 project.

#2. The Accordion control is not part of the built-in controls. You can either:
- Find some opensource C#/XAML code for the control and compile it in a CSHTML5 project
- Or find a JavaScript-based equivalent and use it in your CSHTML5 project (look for C#/JS Interop in the CSHTML5 documentation on the website)

#3. VisualTransition is not available. You can use Storyboards instead. Please look for the "Styles and Templates" section of the documentation on the website for details.

#4. This may be due to a typo: can you please double check that "CompositeTransform" is written with a "e" before the "T"

Thank you and sorry again for the delay.

The team will be complete again at the end of August.

Regards
JS-Support

gsaibal
Posts: 3
Joined: Mon Aug 14, 2017 4:42 am

Re: Its' Silverlight to HTML5 Migration related Issue. Are your ears cemented? Why no response?

Postby gsaibal » Mon Aug 28, 2017 7:15 am

Hi JS-Support Team,

Thanks for your reply.

One thing I have understood, Since my project is quite complicated and has the usage of many 3rd party (Non-Opensource) component, It will not run in to to if tried to compile using CSHTML5 assemblies.

My expectation was, I can use your assemblies and build and use my entire project immediately. Anyway, that was either a mis-conception of mine or a wrong expectation.

Regards,

Saibal

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Its' Silverlight to HTML5 Migration related Issue.

Postby JS-Support @Userware » Thu Nov 02, 2017 1:18 am

Hi,

Our goal is to provide support for most of the 3rd party libraries that existed in Silverlight.

For example, the Silverlight Telerik controls may be implemented using the Kendo UI JavaScript controls. You will not need to change your application code because a proxy DLL will redirect the C#/XAML calls to the underlying JavaScript controls.

This, together with performance and optimization, will be one of the main areas of focus in 2018, after we fix the remaining incompatibilities and issues, such as the lack of some standard built-in controls.

Please stay tuned in the coming months for progress in this area.

Thanks.
Regards,
JS-Support

pbarthelmess
Posts: 1
Joined: Tue Sep 25, 2018 12:32 pm

Re: Its' Silverlight to HTML5 Migration related Issue.

Postby pbarthelmess » Thu Sep 27, 2018 4:05 pm

Have been dealing with a project that also depends on System.Windows.Controls (to render some ink).

PresentationFramewrok's source code, which contains the elements I need, is indeed available in referencesource.microsoft.com.

What is the process to compile it with CSHTML5? Migration will not work because there is no Silverlight element on the project, and it is not therefore available in the list of projects to convert (using VS 2017).

Thanks!


Return to “General Discussion and Other”

Who is online

Users browsing this forum: No registered users and 23 guests

 

 

cron