Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws error looking for 1.0.0-preview3-004056 #19

Open
mtranchi opened this issue Dec 10, 2016 · 3 comments
Open

Throws error looking for 1.0.0-preview3-004056 #19

mtranchi opened this issue Dec 10, 2016 · 3 comments

Comments

@mtranchi
Copy link

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)
ng2templateerror
. 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

@JoshuaCode
Copy link

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

@bdelaney
Copy link

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.

@SteveSandersonMS
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants