{"id":5442,"date":"2016-03-09T10:15:37","date_gmt":"2016-03-09T18:15:37","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=5442"},"modified":"2019-02-14T15:30:08","modified_gmt":"2019-02-14T23:30:08","slug":"announcing-tools-for-apache-cordova-update-7","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/announcing-tools-for-apache-cordova-update-7\/","title":{"rendered":"Announcing Tools for Apache Cordova Update 7"},"content":{"rendered":"<p>Fresh on the heels of Update 6, we are happy to announce the release of Visual Studio Tools for <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkId=733584\">Apache Cordova Update 7<\/a> (version 60219.1).<\/p>\n<h2>What\u2019s New?<\/h2>\n<p>In this update we have some new features as well as bug fixes. In this post I\u2019ll share a little about some feature and bug fixes.<\/p>\n<p><b>Consume structured error data from Cordova<\/b>\nYou have told us that you need better error reporting. In update 7 we have attempted to addressed this and have taken an important first step towards improving this experience.<\/p>\n<p>Starting with version 6.0.0, Cordova now emits error messages through a well-defined API which our tools consume. This vastly improves the error reporting experience. However, please note, you will get this new behavior only if you install VS TACO Update 7 and target Cordova 6.0.0 or higher. Any projects that continue to target older versions of the CLI, you will still get the old behavior.<\/p>\n<p>This is a first step towards improving this experience. We do not expect the error messages to be perfect, but we hope that they are more useful than they\u2019ve been in the past. If you see a non-actionable error message, please email us\u00a0the build log and the list of errors in the output pane, at vscordovatools at microsoft dot com. Improving this experience is one of our highest priorities.<\/p>\n<p><b>Cordova 6.0.0 as default version for new projects<\/b>\nBy default, new projects are now created using the latest version: <a href=\"https:\/\/cordova.apache.org\/news\/2016\/01\/28\/tools-release.html\">Cordova 6.0.0 <\/a>. However, all your existing projects will not be upgraded, and are still supported by our tools.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/03\/2016-03-09-Cordova-Update-7-01-Default-Version-for-New-Projects.png\" alt=\"\" width=\"1000\" height=\"340\" \/><\/p>\n<p><b>Ionic Templates<\/b><\/p>\n<p>New ionic projects for Blank, Tabs and SideMenu templates, are now available on the <a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/4e44ba8b-a4c8-4106-b70e-00d63241a54a\">Visual Studio online gallery<\/a>. Additionally, get the <a href=\"https:\/\/visualstudiogallery.msdn.microsoft.com\/d6279fba-bcff-4857-906d-29faa8a99448\/\">Visual Studio extension for Ionic intellisense<\/a> and supercharge your ionic development.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/03\/2016-03-09-Cordova-Update-7-02-Ionic-Templates.png\" alt=\"\" \/><\/p>\n<p><b>Updated Project\u00a0Templates<\/b><\/p>\n<p>All project templates have been updated to give them a modern look. A couple small issues in the templates have also been fixed, for example, some image assets have been changed and missing icons have been added.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/03\/2016-03-09-Cordova-Update-7-03-UpdatedBeginnerTemplates.png\" alt=\"\" \/><\/p>\n<h2>Bug Fixes<\/h2>\n<p>Here are some top bug fixes in this update:<\/p>\n<p><strong>vs-tac install fails if AppData path has a space in it<\/strong>\nWe heard <a href=\"http:\/\/stackoverflow.com\/questions\/35393247\/cannot-compile-ionic-cordova-update-6-app-on-visual-studio-2015\">reports<\/a> of failures instaling our node package with Update 6. We found the problem occurred when user names had a space in them. This is now fixed with this update. Thank you to those of you who reported the issue.<\/p>\n<p><strong>Reported Crashes<\/strong>\nWe\u2019re starting to do a better job keeping up with our crash reporting system. We\u2019ve fixed a number of bugs in this release. Check out the <a href=\"http:\/\/taco.visualstudio.com\/\">docs and guides for TACO<\/a> to learn more.<\/p>\n<p><strong>Project name with spaces invalidates package.json file, breaks NPM<\/strong>\nAdding NPM packages to a project with a name that doesn\u2019t match NPM\u2019s naming requirements was causing package restore to fail. We fixed this by adding \u201cprivate\u201d: \u201ctrue\u201d to the package.json.<\/p>\n<p><strong>Store packaging for multiple architectures only copies one package file to AppPackages directory<\/strong>\nCreate packages for the Windows store with multiple architectures at the same time is now possible.<\/p>\n<p>&nbsp;<\/p>\n<p>To get a view into the entire list of features and bug fixes released in this update check out the resources on <a href=\"https:\/\/www.visualstudio.com\/en-us\/features\/cordova-vs.aspx\">Visualstudio.com<\/a> and <a href=\"http:\/\/taco.visualstudio.com\/\">docs and guides for TACO<\/a>. Try out this update and share your feedback by emailing us at vscordovatools at microsoft dot com or find us on twitter <a href=\"https:\/\/twitter.com\/VSCordovaTools\">@vscordovatools<\/a>. We are particularly interested in your feedback on error reporting.<\/p>\n<p>&nbsp;<\/p>\n<table style=\"width: 700px\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"180\"><img decoding=\"async\" class=\"\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2016\/03\/Michael-Braude.jpg\" alt=\"\" width=\"204\" height=\"204\" \/><\/td>\n<td valign=\"top\" width=\"520\"><strong>Michael Braude<\/strong>, Development Manager, Tools for Apache Cordova<\/p>\n<p>Mike is the development manager of the Visual Studio Tools for Apache Cordova team. When he isn\u2019t thinking about making VS TACO rock, he is appreciating the awesome puns that come out of building such a delicious product. Find him on twitter at <a href=\"https:\/\/twitter.com\/littlewebfoot\">@LittleWebFoot<\/a> or reach him directly through <a href=\"mailto:mbraude@microsoft.com\">email<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Fresh on the heels of Update 6, we are happy to announce the release of Visual Studio Tools for Apache Cordova Update 7 (version 60219.1). What\u2019s New? In this update we have some new features as well as bug fixes. In this post I\u2019ll share a little about some feature and bug fixes. Consume structured [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[137,185],"class_list":["post-5442","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-html","tag-node-js"],"acf":[],"blog_post_summary":"<p>Fresh on the heels of Update 6, we are happy to announce the release of Visual Studio Tools for Apache Cordova Update 7 (version 60219.1). What\u2019s New? In this update we have some new features as well as bug fixes. In this post I\u2019ll share a little about some feature and bug fixes. Consume structured [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/5442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=5442"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/5442\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=5442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=5442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=5442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}