12th Beijing Time 23 o'clock in the evening the start of the Connect () event, Microsoft released a series of exciting news!
- . NET open Source! later. NET will be able to run on Linux and Mac OS platforms!
- VS FREE!! If you are a student, individual developer, startup, then you will be able to use Visual Studio Community 2013! Free!
- Visual Studio 2015 integrates Clang and LLVM, which means that you can build iOS programs in VS!
- Visual Studio 2015 also comes with an android emulator! You can say goodbye to the slag-blown native Android simulator!
- Visual Studio Apache Cordova plugin CTP3.0 released! You can now deploy the debug to the iOS emulator or the real machine app directly in VS!
Link:
- Visual Studio Update 4 (Latest version): http://go.microsoft.com/fwlink/?linkid=390465
- Visual Studio preview:http://go.microsoft.com/fwlink/?linkid=517106
- Visual Studio Community 2013:http://go.microsoft.com/fwlink/?linkid=518340
- Free benefits for various developers: http://go.microsoft.com/fwlink/?LinkId=518339
- Download Apache Cordova CTP 3.0:http://www.microsoft.com/en-us/download/details.aspx?id=42675
Let's have a look at this. Cordova CTP 3.0 Exactly what is updated:
This is the new feature of CTP3.0:
- Updated Ripple simulator-real-time update ripple! No need to recompile to see the effect!
- You can debug iOS programs deployed to the iOS simulator and the real machine in Visual Studio! See the effects of changes in real time! (This present)
- Improve the security of your remote IOS build agent and make it easier to configure
- Improved plugin management experience, easier to import custom plugin from git or your own file system
- A redesigned interface, more user-friendly
- Supports Apache Cordova CLI 4.0.0, supports Windows Universal app! You can build apps for Windows 8.1 and Windows Phone 8.1 directly!
To use CTP 3.0, it must be update 4 or version 2015:)
If the CTP 2.0 of children's shoes, in the CTP 3.0 may encounter the following problems:
Need to uninstall CTP 2.0 before installing CTP 3.0 ha. Reference
First go to Control Panel à program à uninstall program, find CTP2, uninstall.
Then it will tell you that the successful uninstall, in fact, it is deceiving you, completely no good ...
Run cmd in administrator mode and enter:
"%programdata%\package Cache\{dea88246-f74a-4171-ad6c-d9c978bf2973}\vs2013mda_0.1.exe"/uninstall/passive/force/ burn.ignoredependencies={53d408db-eb91-43fb-9d8f-167681c19763};vsupdate_kb2829760
Then the CTP installer will jump out, in fact it is uninstalled, do not think it in the installation, time a little longer, patiently wait until the progress bar End Yo:)
Then you can start installing CTP 3.0!
Inside node, ant, Android and so on if already installed, do not choose.
In fact, you can also directly download the version of preview, directly contains the CTP 3.0. Don't be so troublesome.
Updated Ripple Simulator
After adding a project, select Ripple, run:
In Visual Studio, you can see that the Debug window is open:
Navigate to the title location and prepare to modify:
The change is complete and the focus moves to another location:
You can see that the title bar in Ripple has changed! Real-Time Debugging! No recompilation!
debugging iOS programs in Visual Studio:
Debug iOS programs can be in the Ripple emulator, or in the Mac's simulator, or run directly on the real machine.
I am now configured to run parallels Desktop 10 on Mac, recommended, not card, very handy. And then PD10 up, and I ran. Visual Studio is installed on Windows,windows 10.
You may not have to, but you need a Mac and your PC is inside an intranet.
Now install Vs-mda-remote on your Mac:
Then start Vs-mda-remote:
You can see a PIN code, write it down.
Go back to Visual Studio inside windows, inside Toolsàoptions, find the tools for Apache Cordova, then configure the Mac IP, port, and PIN code. CTP now more than 3 pin, to ensure security.
Then you can start debugging, choose Simulator,iphone 5 or iphone 6 or something:
Also in Visual Studio you can see the Debug interface (currently only vs 2015 support)
Remote IOS build agent:
As you just said, add a PIN code to ensure security:
To import a custom plugin:
Easily import various plugin:
Support for Cordova CLI 4.0:
You can now run the project for Windows Universal apps directly, and more Cordova CLI 4.0 features see.
At last
Let's get started.
Visual Studio Apache Cordova plugin CTP3.0 released!