Angular 6 is out! That's great, except that the Visual Studio 2017 Angular templates haven't been updated yet. BUT, all is not lost, because it's actually (relatively) easy to upgrade. Let's take a look! Getting Started Angular 6 includes a lot of tooling improvements, so it's worth the upgrade. And thanks to the new ng upgrade command, upgrading your Angular projects has never been easier! We're going to start with the "enhanced" project we made in a previous post. You can check that project out here. The steps would be mostly the same if you were to take a stock Visual Studio Angular project. If you have a more complex Angular project and want to see how difficult it will be to upgrade, you can use the new Angular Update Guide. But be warned! There are still issues with ng update, so the update guide might not work for you. Installing Angular 6 The first thing we need to do is install the Angular 6 CLI. You can do this globally from the command prompt of your choice: npm i -g @angular/cli This gives us the latest-and-greatest Angular CLI.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

asp.net core,angular,visual studio 2017