Throws error looking for 1.0.0-preview3-004056
Installed product versions
- Visual Studio: [2015 Community Update 3]
- This extension: [example 1.1.21]
Description
Can't get Angular2 template going (see included pic of Dialog Box)
. I have VS2017 RC installed also. Might that be the issue?
Steps to recreate
Install extension and open a new Angular2 template
Current behavior
After closing the dialog, can't seem to get anything to work. Won't even start
Expected behavior
I am getting the same error message attempting to create a new Angular 2 project. I also have VS2017 RC installed.
Visual Studio 2015 Enterprise (14.0.25431.01 Update 3) Extension Version: 1.1.37
Same here. Just read Steve Sanderson's post on this and wanted to try it. After installing and creating a new project from the Angular template, nothing works. Upgrading typescript to 2.03 first. Hmm. That worked. Just did a build and debug run.
If you've installed VS2017RC (or the .NET Core tools preview 3 or later), then you must also add a global.json file in the root of your project specifying the SDK version, e.g.:
{
"sdk": { "version": "1.0.0-preview2-1-003177" }
}
Alternatively, use the generator-aspnetcore-spa Yeoman generator instead, as it produces a newer version of the project that already includes the global.json file (or can even make VS2017-style csproj projects for you if you prefer that).