2
votes

Hi I am using Worklight to develop application for Windows Phone 8. The application was working fine, however when I applied the Fix Patch for Worklight the Windows Phone Console started to give me below error :

An exception of type 'System.NotSupportedException' occurred in Microsoft.Phone.ni.dll and wasn't handled before a managed/native boundary

The other error is

Error:"Unable to get property 'content' of undefined or null reference file:x-wmapp0:/www/skinLoader.html Line:1"

Any one has any idea why these two errors started coming all of sudden?

Moreover, where can I change Worklight specific properties in Visual studio?

1
Please always mention the Worklight version you are using. - Idan Adar

1 Answers

1
votes

Moreover, where can I change Worklight specific properties in Visual studio?

There are no "Worklight specific properties" in Visual Studio.

Once you build the Worklight project in Eclipse and open the result (in your case, the generated Windows Phone 8 project) in Visual Studio, that's it - it is a Windows Phone 8 project.

Error:"Unable to get property 'content' of undefined or null reference file:x-wmapp0:/www/skinLoader.html Line:1"

Try to:

  1. Delete the native folder in Eclipse from the your-project\apps\your-app\windowsphone8 folder
  2. Re-build and deploy the application
  3. Re-open it in Visual Studio

As for the SystemNotSupportedException message, this can be safely ignored.