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?
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:
Delete the native folder in Eclipse from the your-project\apps\your-app\windowsphone8 folder
Re-build and deploy the application
Re-open it in Visual Studio
As for the SystemNotSupportedException message, this can be safely ignored.
Related
I am creating a project in VS2015. template i have choose is blank Universal app.
An error occurred trying to load the page.
Property accessor 'TargetDescriptions' on object
'Microsoft.VisualStudio.ProjectFlavoring.Automation.Project.CommonProjectExtender'
threw the following exception:'Value cannot be null. Parameter name:
targets'.
I get issues accessing some projects properties due to addins I've added to my VS (GhostDoc): can you try to disable all your addins to check of that work ?
I reinsatlled the nuget package manger: https://visualstudiogallery.msdn.microsoft.com/5d345edc-2e2d-4a9c-b73b-d53956dc458d
I restart the visual studio
and it works fine for me.
I am trying to create a Visual C++ Windows Phone Runtime Project in Visual Studio 2012. When I do, I get this error:
"Unable to read the project file "RT1.vcxproj(150,3): The imported project C:\Program Files(x86)\MSBuild\Microsoft\WindowsPhone\v7.0\Microsoft.Cpp.Windows Phone.7.0.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
First a little clarification - does it create the project, then look in that path for the proper tool to read and open it? If not why is it trying to import anything?
The path it is complaining about doesn't exist, but replace the 7's with 8's and everything is there. Is there a way to change this import declaration to reflect the correct path? Is it trying to create a windows phone runtime component for Windows phone 7 and I just need to specify somewhere it should be creating it for windows phone 8?
EDIT: To add, any visual c++ windows phone project I try to create comes back with basically the same error message.
I'm trying to create a site using Orchard CMS. To get started, I downloaded / installed Orchard from WebMatrix. I successfully setup a site using the "Default" recipe. I then click the "Files" tab within the accordian along the left side. From here, I can see all of the files in my project. To begin editing within Visual Studio 2012, I click the "Visual Studio" button in the ribbon.
Once inside Visual Studio, I right-click on the solution and select "Rebuild Solution". The solution begins building, but then I receive an error. The error says:
Error 1 Object reference not set to an instance of an object. C:\Users\username\Documents\My Web Sites\Orchard CMS2\Modules\Contrib.Cache\Contrib.Cache.csproj 1
Please note that at this point, I have not even edited a single file. Rather, I created a basic site and attempted to open it in Visual Studio. What am I doing wrong?
Only the full source code will build in Visual Studio. You can edit the compiled web site version that you downloaded in Visual Studio, but you won't be able to build it. It actually doesn't need building as it has dynamic compilation built-in.
If you want to build the framework and core, get the full source code version.
I'm trying to consume Custom Control in Windows 8 Metro Apps. It's working fine if I'm refering my custom control in other project within same solution but unable to successfully add reference of control to a different project in different solution.
Everytime I add reference to the control extension in my project, I always get this error "Insufficient memory to continue the program"
I've taken the help from this link but its not working on Windows 8 Release preview:
http://timheuer.com/blog/archive/2012/03/07/creating-custom-controls-for-metro-style-apps.aspx
Windows 8 Release Preview
Visual studio 2012 beta
Steps to reproduce:
Create a new xamarin forms app
Build iOS => Ensure it builds successfully
Add the iOS component for Firebase Cloud Messaging for iOS from the component store
Clean, Rebuild => Notice you get object reference error while compiling the iOS project
Here is the error from output window:
"src\RepeatReturns\packages\Xamarin.Build.Download.0.2.2\build\Xamarin.Build.Download.targets(25,3): error : Object reference not set to an instance of an object."
Any idea how can we fix this?
Thanks
UPDATE:
If it helps, I have the linker option for iOS set to "link SDK assemblies only".
If you are using Visual Studio 2017 RC, then I suggest that you stuck with Visual Studio 2015 for the moment, I had the same issue, and I didn't find any solution. So I reinstalled VS 2015, and everything is working now.