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

WILL NOT RUN - ASP.NET Core + Angular 2 template for Visual Studio #15

Open
pgorbas opened this issue Nov 19, 2016 · 2 comments
Open

WILL NOT RUN - ASP.NET Core + Angular 2 template for Visual Studio #15

pgorbas opened this issue Nov 19, 2016 · 2 comments

Comments

@pgorbas
Copy link

pgorbas commented Nov 19, 2016

I have followed the posting at http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/ to start a new MVC Angular 2 application.

  • I already had VS2015 (pro) Update 3
  • I updated my .net core to version 1.0.1
  • I insured my Node.js was above version 4 ( I had 10 )
  • I tried to install the ASP.NET Core Template Pack extension from https://marketplace.visualstudio.com/items?itemName=MadsKristensen.ASPNETCoreTemplatePack but the Download button on that page is broken so I got it from http://vsixgallery.com/extension/ae9d6285-3f2a-4cbe-9021-82eb4d8b8c74/
  • I started VS and went to Visual Studio’s File New Project menu, expand the Web category, and picked ASP.NET Core Angular 2 Starter Application (.NET Core)
  • I let the prjoect build and waited until the depencies finsihed restoring
  • I then tried to run the project - NO LUCK
  • Ctrl+F5 - nothing
  • F5 - nothing
  • The Start button on the tool bar just says "Start", not IIS or Chorme, or anthing like that. Pressing the "Start" button get the error "Unable to start debugging. The startup project cannot be launched"
  • Under VS's Debug Menu, both the "Start Debugging" and "Start without Debugging" options are disabled.

I also noticed that in the solution explorer there is an entry "References (Errors - see Error List ) --- there is no Error List...

Don't know what to do.

@MaciejKolodziej
Copy link

Hi
You're lacking of global.json file, however when I add it from other project and adjust it to this one, there are still dependencies errors. I'll research it a bit when I'll have time.

@bdelaney
Copy link

I had similar problem and had to upgrade Typescript to > 2.0
After that I could build and run

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

3 participants