Web Develop Wolf
Web Develop Wolf

Reputation: 6346

Angular 4 Nuget Package

I am looking to try out the new Angular release (4.1.x), however the Angular package on Nuget states that this is version 1.6.x - which was released in April coinciding with when Angular 4 was released. Does anybody know if this is the package I'm looking for if I wanted to work with the latest release of Angular 4?

Upvotes: 7

Views: 7766

Answers (3)

Manoj Maharana
Manoj Maharana

Reputation: 145

If You want to install you can use Install-Package Angular4 -Version 1.1.0 and follow these steps:

Angular 4
*********

Prerequisites
`````````````
1. Download and Install Node js
2. Install Visual studio 2015 update 3 or above
3. Download and Install TypeScript 2.6.1 for Visual Studio 2015 (https://www.typescriptlang.org/#download-links)

Follow the steps to install package.
````````````````````````````````````
1. Create an new project with empty template and include dependencies for MVC and WebApi to the project
2. Install the package using command 'Install-Package Angular4 -Version 1.1.0'

Follow the steps after package installation
```````````````````````````````````````````
1. Open Node.js Command Prompt
2. Navigate to project location(use commands such as pushd,cd etc)
3. Run the command 'npm install'

Upvotes: 1

Sam Rivera
Sam Rivera

Reputation: 89

If you want something prebuilt you will have to use npm install -g @angular/cli instead of Nuget. Angular cli quick start link https://angular.io/guide/quickstart

Upvotes: 4

Supamiu
Supamiu

Reputation: 8731

Angular's package present on Nuget is the AngularJS package, which is a complete different version of angular (the first version).

Angular (named angular, not angularJS, published with a version >2.0.0 on npm as @angular/...) is not present on Nuget as a package, that's why you can't find it.

Upvotes: 7

Related Questions