unable to deploy UWP app built from website - visual-studio

I'm trying to convert my website into an UWP application to enable me to upload it into microsoft store. I found out an article: 'https://www.c-sharpcorner.com/article/convert-web-application-to-universal-windows-platform-app-in-visual-studio-2017/' which helped me to build the uwp app from my website using visual studio 2019 successfully.
I followed the steps listed below to create my UWP app
Step 1:
I created a new project and selected Blank APP (Universal Windows) in Windows Universal section of JavaScript templates and chose windows 10 as target version
Step 2:
Opened the package.appmanifest > Application Tab and changed entry point to my web url:https://mbracecloud.com
Step 3:
Opened Content URI tab and pasted web url:mbracecloud.com in URI field.
Step 4:
Then i hit the local machine build button, which built the app successfully and launched it within minutes.
But the app showed a blank page instead of opening my website.
I do not know where i'm going wrong ?

which helped me to build the uwp app from my website using visual studio 2019 successfully.
During the testing, make WinJS blank app and edit package.appmanifest changed entry point with website address, then add Content URI. And it works well.
Visual Studio 2019 has removed WinJs Template. Please create and build the with VS 2017. And for this scenario we suggest you use PWA to replace WinJS blank app template.

Related

UWP store build with Xamarin Forms

We are having trouble publishing our x86/x64 UWP Xamarin Forms app to the Microsoft Store.
The app got rejected because the certification team cannot test the .appxupload package because it crashes on startup.
The app only crashes when installed from the store built .appxupload package. The .appxbundle in _Test works fine and we are using it for in-house distribution and sideloading via HockeyApp.
At first we assumed that the crash was due to faulty packaging as our app uses the desktop-bridge feature to bundle a small WPF executable with it. Our first instinct was to remove the desktop bridge part and test the packaging again. After removing it, we had the same issue, the .appxupload crashed on start.
We took it one step forward and just created a new solution with a new Xamarin Forms Template project (VS 15.7.1). Without changing a single line of code we packaged the visual studio xamarin forms uwp template project for store upload. The surprise here is that the generated .appxupload also crashes exactly the same way on startup.
We decided to find out more by experimenting on the Visual Studio XF uwp template:
Update XF to 3.1 -> still crashes
Update .NETCore.UniversalWindows to 6.1.5 -? still crashes
Remove XF from the project completely (including Xamarin.Forms.Init(..)) -> no more crash, but also no more content without Xamarin forms ... :(
We have researched the following posts which seem to be related to this issue:
https://bugzilla.xamarin.com/show_bug.cgi?id=59538
https://developercommunity.visualstudio.com/content/problem/150965/xamarin-forms-project-uwp-app-dies-on-start-when-i.html
Could not load file or assembly 'System.Private.CoreLib...'
Some of the above posts were explaining that even though the .appxupload crashes when installed locally the when downloaded and installed from the Microsoft store the package will run without a problem. Our problem with this part is that our .appxupload package needs to be tested by Microsoft before the store publish because of the desktop bridge permission. Because it crashes when locally testing it cannot be published.
Based on our experiments with the Visual Studio Xamarin forms uwp template project this seems to be an issue of UWP and Xamarin Forms together.
We are not sure how to proceed. We need to get the app running from the .appxupload package so that it can be tested by the store team. Do you have any ideas/solutions for this issue?

Store option disabled in My Visual Studio 2013 Ultimate

I want to submit my app (WP8) on windows phone store, but my store options are disabled. Please provide any solution to publish my app.
Please help me to upload my app.
I had the same problem. It appeared that the basic release build creates the needed files to add your app to the store.
Check \Bin\Release folder and look for .xap file (f.ex MyApp_Release_AnyCPU.xap). This is the package that you can submit. You can add it to the Windows Phone Store.

Xamarin Windows Phone Store Package

I' am in a bit of truble at the moment.
I try to build my Xamarin Windows Store App for publishing, but the Create App Packages Wizard, wont open I tried many solutions from the web, like unloading and reloading the project, or making a new project. But the wizard does not open with my solution i treid a normal Windows Phone app(no Silverlight), that worked but i could not Port my xamarin project to a standard Windows Phone App.
Has someone encountered a similar issue with Xamarin and Windows Phone,
or can anyone help to get my app into the Appstore?
Thanks.
I would have asked in the Xamarin Forum, but I cant reach them siche this morning.
And sorry for the engrish.
To submit package to the windows phone store you'll need to build your project (for ARM in Release mode to avoid warnings). Then on developer site when there is button to upload package you have to attach *.xap file from your project's bin\release folder (or bin folder you have specified). Then you can go through the next windows phone store app submitting steps.

Azure Mobile Services Component not found in Xamarin Component Store

I'm working with Xamarin plugin in Visual Studio 2013.
I have an iOS app and I want to add the Azure Mobile Services client component to that app. But when I click "Get more components" and search for the component in the store, it is not found.
I tried doing the same from the Xamarin Studio on my mac and the component is there.
Is this a bug or am I doing something wrong?
Update
The component is now available in the component store for unified api projects. It became available 1 day after I asked my question :-)
My guess is that you are trying to add it to an iOS Classic project on the Mac with Xamarin Studio but using an iOS Unified project on Windows with Visual Studio.
Looking at the Xamarin Component Store the Azure Mobile Services client is currently only available for iOS Classic projects. You can see that by the tags. It has an ios tag but not an ios-unified tag.
Xamarin Studio will not show the component when you click Get more components if it is incompatible with the current project.

Porting an iPhone PhoneGap project to Windows Phone

I have an app made using jquerymobile+phonegap, and running under iOS. The surpise arrived when I tried to port the app to phoneGap for WP7: I created a new phonegap project using its template for visual studio 2010, and then replaced the content of the WWW folder, and included it into the project.
The project compiled, but when I run the app on the emulator, none of the images is displayed, and the javascript also is not working.
Any idea why is this happening? Thanks!
Right click your image and go to properties and set it as Content instead of a Resource. I bet that is your problem, at least for your images not displaying.

Resources