-2
I created an app for android using Ionic, wanted to take this same app and build for pc, what the requirements and how to do?
-2
I created an app for android using Ionic, wanted to take this same app and build for pc, what the requirements and how to do?
0
I think Ionic needs VS2010 on the page https://visualstudio.microsoft.com/pt-br/vs/older-downloads/? rr=https%3A%2F%2Fduckduckgo.com%2F scroll and choose option 2010, download it and install.
In Windows 10 you need to enable developer mode.
Then in your project run:
ionic cordova build windows
He’s gonna install the cordova-windows
(https://github.com/apache/cordova-windows) alone.
To install (if you haven’t used build) and run as well:
ionic cordova run windows
Browser other questions tagged ionic windows apache-cordova build
You are not signed in. Login or sign up in order to post.
but I need to download all aqls files, or just one file?
– Ronkzinho
Dear @Ronkzinho "you" do not download anything, whoever downloads is the very command of Ionic, it will not only download what is strictly necessary, but how will generate the required files directly on your machine and then just navigate to the folder
platforms/windows/
and there will be the project file if you want to open in visualstudio (I’m not talking about Vscode);– Guilherme Nascimento
Then I give the build using the visual studio, or command prompt
– Ronkzinho
@Ronkzinho is at the same prompt, you navigate to the folder of your project and execute the command. Nor could it be in Visualstudio, because the project for VS only exists after executing the commands and NPM downloading the dependencies :) ... I cited access by VS just by chance need to adjust something of VS even in the project. The way is the same to do for android, but Platform is windows.
– Guilherme Nascimento
Bro, you are returning this error: localdodomeuprojeto Platforms windows Cordovaapp.Windows10.jsproj(61.5): error MSB4019: The Imported project "C: Program Files (x86) Msbuild Microsoft Visualstudio v14.0 Microsoft.VisualStudio. .default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. No Valid Msbuild was Detected for the Selected target: Error: C: Program Files (x86) Msbuild 14.0 bin msbuild: Command failed with Exit code 1
– Ronkzinho
@Ronkzinho you have to install with "Universal Apps", on installed VS you have the option, select, install and then build will work.
– Guilherme Nascimento