MainPage.xaml from Windows phone 8.0 app - xaml

I can't find MainPage.xaml from Windows phone 8.0 app.
I have only App.xaml. I'm using Visual Studio 2013 Ultimate.
Is it code generated from Visual Studio?

Since this project wasn't original yours. I will assume that the owner set the default page to another .XAML file. Check the app manifest setting to make sure. See screenshot.
WMAppManifest.xml
As you can see my default page is set to a PanormaPage1.xaml

Related

Can't run UWP release executable outside of Visual Studio 2017

I am using Visual Studio 2017 on Windows 10 with the official UWP sample code.
There is a UWP sample called basicinput that runs as a release build within the Visual Studio IDE without a problem.
My problem is:
when I attempt to run the release basicinput.exe executable by a mouse click (outside of the Visual Studio environment) I get an error saying that some DLLs names of the form vs*.dll can't be found.
I did a search for those .dlls and tried moving them to same folder as basicinput.exe, but then the application just hung.
What don't I understand?
What am I doing wrong?
As #Chuck-walbourn says, your application will appear in the Start Menu. If you want to deploy it to another computer (that doesn't have VS installed) you will need to create AppX packages using the menu item Project -> Store -> Create App Packages.... If you need more help with that. see the MSDN docs.
If you want to run your app from the command-line or from the Win+R dialog (with a simple name like foo.exe) you can create an appExecutionAlias for your application.

Not able to run hybrid application in windows phone 8 in IBM Worklight

I made a project in IBM Worklight Version 6.2.I am have added android,iOS and WindowPhone8 Enviournment for the project.I am able to build and run the application in android and iOS.But when i imported the project in VS2012 for windowPhone8 It is not Working.It is not showing the Css and the click events are not working.Seems like it did not loaded Js and css but these files are present in folder structure.
Do i need to do any changes or am i doing anything wrong.Kindly help me running my project in Windows phone 8.
Thanks in Advance
From tests performed, the Windows environment is built and displayed correctly. You've been asked to provide the project where this is happening to you. Do that.
Try cleaning Visual Studio's cache, try to preview your app in MobileFirst Studio and make sure there are no errors.

Visual Studio 2015 + Xamarin + Native Portable PCL + WCF

So our enterprise is going the Xamarin route using Visual Studio. Going through all the documentation online showed that it should be Trivial to create WCF proxy client out of a web service and place it in the PCL. After Struggling and trying to figure out why I couldn't compile the PCL using the SLSVcUtil.exe generated classes or why the "Add Service Reference" menu item was missing i gave up and downloaded the sample projects.
Turns out what I was missing all along was the target profile for the PCL. With Visual Studio 2015 + Xamarin, the default profile was set to 111. Profile 111 as it turns out does not Include support WCF as it targets Windows Phone. The target profile you want to use if you want to use WCF is 78.
So how do you change the profile of the PCL in VS 2015? See the answer below. I truly hope this helps some one in the future.
To change the profile:
Right Click Properties on the PCL project.
Click the "Change..." button on Targets Section
Uncheck Windows Phone 8.1
Check Windows Phone Silverlight 8.
Clcik ok!
More information of Profiles:
http://danrigby.com/2014/04/16/xamarin-pcl-profile-notes/

Universal App XAML designer not showing

All I am doing is creating a new blank app: New Project - Windows - Universal - Blank App. Then open MainPage.xaml, and all I see is raw XAML, no Design tab. View Designer (shft-F7) does not help.
This is on Win 10, developer mode on.
It does not seem likely that something is wrong with the VS installation, because I when I open MSDN UWP samples, XAML files in those samples open just fine. I tried reinstalling VC++ 2015 redistributable, as suggested in one of the posts here, did not help.
XAML designer is enabled (Tools - Options - XAML Designer).
The problem turned out to be the fact that my project target version (right click on Project - Properties - Application) was Windows 10 Insider Preview (Build 10563). Changing it to Windows 10 (Build 10240) fixes the issue.

Blend For Visual Studio 11 get an error

Installed Windows 8 Consumer Preview
Installed Visual Studio 2010 Premium
Installed Visual Studio 11 Ultimate
Everything installed without any errors.
I created a new Windows 8 Metro app using Visual Studio 11 and have no issues viewing xaml in VS 11 designer. If I view it in Blend For Visual Studio 11 a propup with error:
The project 'TestApp.csproj' could not be opened. The imported project 'C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v11\Microsoft.Windows.UI.Xaml.CSharp.Targets' was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. c:\Users\testuser\Documents\Visual Studio 11\Projects\TestApp\testApp.csproj
Also if I create a Windows Metro style project(any of the templates) in Blend For Visual Studio 11 it shows an empty solution after it's done. When I look at the directory of where it suppose to create it I only see the project files but no solution.
Has anyone else had these issues?
Now the only question is how
--Comment 1--
No, path C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml**v11**\Microsoft.Windows.UI.Xaml.CSharp.Targets doesn't exist. The path on the file system is C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml**v11.0**\Microsoft.Windows.UI.Xaml.CSharp.Targets
When I look at the project file this is what I see:
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' ">
<VisualStudioVersion>11.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
The project file seems to be telling it the correct location so I'm not sure why it's trying to look in the wrong path?
--End Of Comment 1--
Try this workaround from the known issues list:
1.3.3.35 Blend cannot create projects for Metro style apps built using HTML when Visual Studio 2010 is installed after Visual Studio 11 Beta
When Visual Studio 2010 is installed after Visual Studio 11 Beta, the
installation changes an environment variable to a variable that is
incompatible with Blend.
(emphasis added)
To resolve this issue:
To work around this issue, do the following:
Right-click Computer, and then click Properties.
Click Advanced Properties.
In the System Properties dialog box, on the Advanced tab, click Environment Variables.
Under System Variables, click New.
Under Variable name, type: VisualStudioVersion.
Under Value, type: 11.0.
Click OK.
For Windows 8, to get to the environmental variables:
Do a search for Advanced System Settings
Make sure you have Settings selected on the right hand side
Select the View advanced system settings option