[TIMOB-19789] Windows: Docs - Clarify requirements & installation
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-12-05T22:59:32.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | Release 5.2.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Gary Mathews |
Created | 2015-10-26T12:45:18.000+0000 |
Updated | 2017-03-16T22:39:28.000+0000 |
Description
Per [~fokkezb] on TIMOB-19750:
{quote}
We might want to clarify http://docs.appcelerator.com/platform/latest/#!/guide/Installing_the_Windows_Phone_SDK-section-43306274_InstallingtheWindowsPhoneSDK-VisualStudio which could be read as Visual Studio 2015 being "higher" then VS2013 Community as well.
{quote}
Also, we might want to revisit installation docs about use with VS 2015 and Windows 10.
Attachments
File | Date | Size |
---|---|---|
fig1.PNG | 2015-11-03T14:18:48.000+0000 | 22433 |
fig2.PNG | 2015-11-03T14:18:47.000+0000 | 26326 |
fig3.PNG | 2015-11-03T14:18:47.000+0000 | 25473 |
I recently went through the setup of a Windows 10 + Visual Studio 2015 machine and here's what is needed in order to get the current 5.1.0 pre-relase stack working. Please note, I'm not mentioning the current things needed such as a Windows Publisher ID
Visual Studio 2015 install requirements
You will need to select _Custom_ install rather than _Typical_, see fig1 Then you will need to select _Windows 8.1 and Windows Phone 8.0/8.1 Tools_ in order to get the correct SDKs and emulators for Windows Phone, see fig2Windows 10 requirements
The only thing I have noticed so far in that is *specific* to Windows 10 is that the in order to build a ws-local app you will need to enable Developer mode for your PC. This can be done by going to _Settings->Update & Security->For developers_ To improve UX we should be able to detect this by running the commandGet-WindowsDeveloperLicense
in Powershell, if the setting is set to either _Don't user developer features_ or _Sideload apps_ then it will throw the errorHowever if _Developer mode_ is enabled then it will just return
Here is a possible link we could use to explain developer mode and how to activate it https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn706236.aspx ccing [~fokkezb] on this comment as this ticket was filed due to your comment
[~eharris] some questions to clarify: * By Windows Phone 8.0/8.1 do you mean you need both or one of? * Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps? * Where is fig2?
FYI, I remember I used to install Windows Phone 8.0 SDK at the time when I install VS 2013, and then I installed Windows Phone 8.1 sdk from [here](https://dev.windows.com/en-us/develop/download-phone-sdk). Latest document from Microsoft says https://dev.windows.com/en-us/develop/download-phone-sdk {quote} The Windows Phone 8.1 development tools are installed with Visual Studio Express 2013 for Windows with Update 2 or later. {quote} So I was expecting Windows Phone 8.1 SDK will be installed without installing WP "8.0" sdk when you install VS 2013. Or, you might just say "you need to install latest Windows Phone 8.1 sdk, you can grab it from [here](https://dev.windows.com/en-us/develop/download-phone-sdk)"
bq. Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps? That's a good point. I believe WP 8.0 SDK is not required. You only need to install WP 8.1 SDK. I haven't tested that situation, but I am expecting our
windowslib
doesn't work without Windows Phone 8.1 SDK, so Windows Phone 8.1 SDK is required even when you plan to build Windows 10 Universal app only.[~fokkezb] apologies I had forgotten to upload the images. For your questions
By Windows Phone 8.0/8.1 do you mean you need both or one of?
I am simply referring to them by what Microsoft refers to them by in the Visual Studio installer, as you can see in fig2. They do not allow you to select just 8.1, you have to have 8.0 and 8.1.Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps?
I have not tested what happens here, I will run another install and check what happens without these two. Based off my current understanding though and echoing what [~kota] says, I believe that in order to build for a Windows Phone currently you will need the 8.1 SDK as we do not support 10. I am unsure about Windows Store (ws-local) builds however.Changes: https://wiki.appcelerator.org/pages/viewpreviousversions.action?pageId=43306274
[~gmathews] Nice work! Could you confirm, does our
titanium_prep.win32.exe
andtitanium_prep.win64.exe
require Java environment andJAVA_HOME
variable set? Otherwise I saw following error. {quote} [ERROR] Failed to encrypt JavaScript files [ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable. 2015-12-02T09:30:25.993Z | ERROR | ti run exited with error code 1 {quote} If so, I think we need to update the requirements. Other than that, I think our docs looks good (y)