Is there any way to install xap on VirtualBox? - windows-phone-8

I successfully run Windows Phone 8 (Flash.vhd from SDK) on VirtualBox, but I cannot find a way how to install xap on it.

You can use XAP deploy tool [XapDeploy.exe], located at C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment

Related

APPX321 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0' cannot be located

I want to create an upload package for the Windows Store.
The app is essentially "Hello world" for a dev express XAF Win application. I am using the Desktop Bridge.
I am following the docs to create the upload package
This created a file
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage
And an error
APPX3217 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0'
cannot be located. See http://go.microsoft.com/fwlink/?LinkID=798187 for more information
When I double click the error it goes to the following code in the Targets file
<GetSdkPropertyValue Condition="'$(AppxPackagePipelineVersion)' == '$(UapBuildPipeline)'"
TargetPlatformSdkRootOverride="$(TargetPlatformSdkRootOverride)"
SDKIdentifier="$(SDKIdentifier)"
SDKVersion="$(SDKVersion)"
TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
TargetPlatformMinVersion="$(TargetPlatformMinVersion)"
TargetPlatformVersion="$(TargetPlatformVersion)"
PropertyName="WindowsSdkDir"
VsTelemetrySession="$(VsTelemetrySession)">
I am targeting WIndows 10, version 1809(10.0; Build 17763) and also have this as the min version.
The application is using .Net Framework 4.7.2
As per the Microsoft link I had to install the update for Windows 10 SDK, version 1809.
My Logs :
Error APPX3217: SDK folder containing 'UAP.props' for 'UAP
10.0.18362.0' cannot be located.
This works for me.
Go to https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
Install SDK: Windows 10 SDK, version 1903 (10.0.18362.1)
Then, rebuild it succeeded.
I had the same issue with a CI/CD project that relied on the 1703 release. I used choco to fix it as a build-step.
choco install windows-sdk-10.1 --version=10.1.15063.468

ejabberd how to compile on windows

Ejabberd has a windows installer but the source does not compile for windows out of the box.
configure.bat has references to configure.erl but this file doesn't exist.
How do they do it?
From what I know, the windows installer is cross-compiled, or some weird stuff, and also requires specific program to pack the installer. So, building a Windows installer is not possible.
But you can download the ejabberd source code, make any changes you want to the erlang source code, compile it with the same Erlang/OTP version that is included in the Windows installer, and copy the *.beam files you have modified into the ejabberd installed directory.

"App deployment failed. Please try again" when deployed an app with SDK8.0

I'm trying to Deploy an App for Windows Phone 8 using SDK8.0 (Emulator XVGA 512Mb), but I got an error "App deployment failed. Please try again" after screen "Windows phone OS is starting" abou 5 minutes.
I'm using Sony Vaio Eg32fx that supported virtualization,Windows 8 enterprise x64, Visual Studio 2012 Ultimate, SDK8.0, I have turned on V-Hyper and Virtualization in BIOS, turn off any Antivirus programs and Windows Firewall.
When I tried to run the command below:
"C:\Program Files (x86)\Microsoft XDE\8.0\xde.exe" -vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.vhd"
, the Windows Phone 8 Screen show. That means My Computer can run a Virtual Windows Phone OS, but In Visual Studio, I chose Emulator XVGA 512Mb , It failed.
I followed this topic but no way
http://moustafa-arafa.blogspot.com/2013/03/fix-it-application-deployment-failed.html
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681694%28v=vs.105%29.aspx
but no way to fix.
The emulator may not work when its dedicated requirements are not perfectly matched.
Emulator Requirements
You can always try deploying an app by selecting 'Device' in the emulator which will actually deploy the app on your phone and you can test it out.
note: Make sure you're using the right version of app which is to be deployed in its righteous OS version.
Try grant all permission level to all user for your virtual machines in this path:
C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images

Getting NoClassDefFoundError when trying to run Hudson Starteam task [duplicate]

Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.
There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.

How to configure Jenkins StarTeam plugin?

Jenkins (Hudson) has StarTeam plugin. How to configure it properly?
I have installed this plugin but when I build the project I get this error:
java.lang.NoClassDefFoundError: com/starbase/starteam/Folder
Machine is Windows Server 2008.
I have StarTeam SDK installed in C:\Program Files (x86)\Borland\StarTeam SDK 10.4 folder.
There is a hint on plugin documentation page:
The plugin requires the StarTeam SDK, StarTeam extensions and jsafe libraries in Hudson's classpath. These files are included in the freely downloadable StarTeam SDK package from Borland (Micro Focus) , and may be installed by e.g. dropping them in Hudson's WEB-INF/lib directory.
Copy the folder "C:\Program Files (x86)\Borland\StarTeam SDK 10.4\Lib" to "C:\Jenkins\plugins\starteam\WEB-INF" (so there would be a Lib folder under WEB-INF), and restart Jenkins.
If you get "Can't load IA 32-bit .dll on a AMD 64-bit platform" error:
Uninstall JRE (Java Runtime Environment) for Windows x64, install 32-bit version of JRE.