Building Metro Apps for beta testing - c#

I have created a Metro application, but I did not yet send it to Windows Store as it's still in beta. One of my friends was interested in testing my application. To install my application on hes computer I used sideloading, following the steps in this article : http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx . The problem is that, when a press "Y" (yes) and PowerShell should install my app, it gives an error "The package or bundle is not signed or it's digital signature is corrupted. ". What should I do ? I sent him all the files that were generated by the Visual Studio.
I have to mention that :
I'm using Windows 8.1
I've developed the app in Visual Studio 2013 Professional
The target platform of my app is Windows 8.1 (and I have no idea how to change this)
My friend does not have Visual Studio installed
My friend uses Windows Server 2012 Datacenter (Could
this be the problem ? What should I do in this case ? I'm very
interested that my app to work also on Windows 8, Windows Server 2012
because this are the OS-es that are used at my office and by a
majority of the people with whom I work and that could test my app
before releasing it to the market. )
EDIT : I tried to follow the steps in this article http://msdn.microsoft.com/en-us/library/windows/desktop/jj835836(v=vs.85).aspx , but my error does not appear to be listed there.
In AppxPackagingOM > Microsoft-Windows-AppxPackaging/Operational I have the next error:
error 0xC00CE014: App manifest validation error:
The app manifest must be valid as per schema: Line 27, Column 8, Reason: Element
'{http://schemas.microsoft.com/appx/2013/manifest}VisualElements' is unexpected according
to content model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Application'.
Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements.
Also in AppXDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational I have no errors.

After reading your question again, I see the obvious solution.
The target platform of my app is Windows 8.1 (and I have no idea how
to change this)
...
My friend uses Windows Server 2012 Datacenter
You need to target Windows 8 to make it run on 8/2012. And if you check out MSDN, you'll see:
If you want to create a Windows 8 version of your app, you must use
Microsoft Visual Studio 2012.

Please make sure you have created beta app package in release mode not in debug mode. This is wrong from here.
Also check out Can Windows Server 2012 run all Metro (/ Windows Store) applications?

Related

Develop applications for Windows Compact

I have an Windows Embedded Compact v8.00 device installed with build 6247. FYI - This device is an Siemens HMI.
Now I'm looking for the right way to develop applications for this version of Windows. I started trying with Visual Studio 2008, so I build a very simple application with just a useless textbox. After copying the executable to the device I start tried to run the test applications but nothing happens.
After searching the web I found out it's better to install Visual Studio 2015 PRO with an application builder from Microsoft's website.
Is this the right way to do? What else does I need to know when developing applications for Windows Compact 2013?
To create applications for Windows Embedded Compact 2013 you need VS2013 or VS2015 professional with the Application Builder plugin and a valid SDK installed on your PC.
If you develop managed apps you also need to check in the .NET runtime is already part of the image or find a way to deploy and install it permanently on your device (the way to do this may change depending on the device configuration, registry type etc.)

Windows phone 7.1 app compatibility issues, VS2015

So here's the story:
Back in 2013 I was developing apps in Windows Phone 7.1/8 platform, using Visual Studio 2012. After some point I had all my apps published and eventually stopped working on them; then I formatted my PC and only kept copies of my VS2012 "Projects" folder.
Last week I received an email from Microsoft that one of my apps will be unpublished from the Marketplace due to non-compliance with specific articles. That's fair enough, so I wanted to edit the app and re-submit, so that I avoid getting my app unpublished.
I installed Visual Studio 2015 on my Windows 7 PC and copied the project folder into VS2015's "Projects". Then I tried to open the .sln file (which had been last edited back in 2014 in VS2012) and got a compatibility error, with the project and its files being listed as "unavailable" in the Solution Explorer.
I tried downloading VS2013 and installing that one instead, but I'm running Windows 7 and VS2013 won't install (requires later Windows version).
Has anyone of you faced a similar situation and if yes, how did you deal with it? I am desperate to create a new updated version of my app ASAP, as I don't want it to go off the Marketplace, but my hands are pretty much tied.
Thanks
You can not create or edit windows phone 7.1 projects in vs 2015. The last version of visual studio you could use was vs 2012. Here is a link to the windows phone 7.1 sdk which should install windows phone express
https://www.microsoft.com/en-us/download/details.aspx?id=27570
and the update for windows phone 7.8
https://www.microsoft.com/en-us/download/details.aspx?id=36474

how to deploy windows phone 10 application to a device?

I am using a Nokia lumia630 device, which uses latest windows 10 insider preview build available.
i created a sample windows UWP application and took a build of the same.The output of the build is an Appx.
How can i install this Appx to my device? Anyone having any idea?
Deploying apps to Win 10 Mobile is a bit difficult when using the command line tool. A great alternative is the Device Portal that is available under the “For Developer” settings.Its available with the latest build.
Now You can connect to the device using a web browser and manage apps via the Apps page with no pairing/pin required. This seems to be an easy way of deploying apps than using command line.
Microsoft developed a command line tool called WinAppDeployCmd so you can deploy an Universal Windows app from a Windows 10 machine to any Windows 10 Mobile device via USB or WiFi (since they're on the same subnet). That's a perfect solution if you doesn't have Visual Studio, the app source code or you're under a Hyper-V Virtual Machine.
Basically you will need:
Windows 10 SDK
Generate the .appx package (PC)
Enable the developer mode (Mobile)
Turn on the discovery mode (Mobile)
Get the code to pair devices (Mobile)
Get mobile IP address using WinAppDeployCmd tool (PC)
Run command (PC)
The command will look like this
WinAppDeployCmd install -file “<path>” -ip <ip> -pin <pin>
The tool can be found at C:\Arquivos de Programas (x86)\Windows Kits\10\bin\x86\WinAppDeployCmd.exe
You can find a detailed step-by-step tutorial here
Visual Studio allows you to directly deploy an app to a windows phone. You need to register your windows phone as a development phone with Microsoft. Once this is done, you could use visual studio to do this for you. Not sure if you can deploy windows 10 apps to your phone at the moment. Try this link and see:
https://msdn.microsoft.com/en-us/library/windows/apps/ff769508%28v=vs.105%29.aspx Remember to Upvote if this helps.
You can register your Windows Phone 10 in developer mode. Follow these steps and you can achieve your goal.
When you use device portal like mentioned in the answers above, some might get the following error
"Failed to start deployment. Failure text: Package failed updates, dependency or conflict validation. (0x80073cf3)"
To fix this:
Add the dependencies found under "Dependencies/ARM" folder.Add it here.
I had to add following dependencies to make it work:
Microsoft.NET.CoreRuntime.1.0.appx
Microsoft.VCLibs.ARM.Debug.14.00.appx

Is it possible to create a Windows 7 phone app in Ubuntu?

I'm able to run c# programs in Ubuntu using the mono project.
But I'd like to know whether it's it possible to create a Windows 7 phone app in Ubuntu.
If so, what packages do I need to install?
At the moment, no.
I tried to run Visual Studio 2010 Express for Windows Phone ( http://www.microsoft.com/visualstudio/en-us/products/2010-editions/windows-phone-developer-tools ) via Wine before but it failed to work properly without giving me problems. On top of that, you will still need Zune to allow deployment of app.

problem to run my project in windows phone 7.1 update

I was trying some code for push notification(which has sender windows phone client and wcf service) in windows phone 7.0.
I then install windows phone 7.1 beta update
and run the same code
but i m getting
"Connection failed because of invalid command-line arguments."
error.
I want to know how to solve this issue......
It seems like you have either have a misconfigured project or a failed installation of the updated SDK.
Your first choice would be creating a new WP7 application that targets 7.0 systems (if still needed). See if you can launch it through the emulator (which I am assuming is the issue). Try reloading the same project again.
In the most extreme case, remove everything WP7 dev-related and re-install the dev tools.

Categories

Resources