-
Notifications
You must be signed in to change notification settings - Fork 518
WILL NOT RUN - ASP.NET Core + Angular 2 template for Visual Studio #449
Comments
Does Visual Studio's "File -> New Project" menu offer you the option to create a "ASP.NET Core Web Application (.NET Core)" project? If not, I suspect the issue is that you also need to install the Visual Studio tools for .NET Core 1.0.1: https://www.microsoft.com/net/core#windowsvs2015 Please let me know whether or not this fixes it! I'll close this since I think that is likely to be the solution, but please reopen the issue if not. |
Thank you for taking time to help me with this. Yes, I believe I do have Visual Studio tools for .NET Core 1.0.1 installed. I sent several screen shots and the project created from the template to you in eMail. To bad I can't paste screen shots here. Please let me know if you did not receive the email reply, Here is some text from command prompt results showing I have dot ent core 1.1:
========================= Thank you again for your help as I believe this template will be of enormous value to me as we have had no luck upgrading our Angular 2 beta 17 application to more recent versions of Angular 2. The run/debug options become enabled if I changed the lin in the project.json file from :
=================== to:
==========================
`
|
All my email replies are getting bounce back – trying again without Paul Gorbas Software Engineer direct: 816.735.0224 <215.839.1070> http://KIND.financial http://kind.financial From: Paul Gorbas [mailto:paul@kind.financial] Thank you for tanking time to help me with this. Yes, I believe I do have Visual Studio tools for .NET Core 1.0.1 And here is the app I created with the template ( I called the project If I change type form “platform” to “default” the run options then appear, I went ahead and zipped up the solution and included it --- I’m am sure it (The file was renamed from “OmniPotA2.zip” to “OmniPotA2.MYzip” ) Thank you again for your help as I believe this template will be of ---- Regards, Paul Gorbas Software Engineer Direct: (816) 735-0224 Agrisoft: (323) 870-8300 ext 412 Mobile: (816) 929-9360 [image: www.Kind.Financial http://www.kind.financial/ [image: www.Agrisoft.Software http://www.agrisoft.software/ From: Steve Sanderson [mailto:notifications@github.com Does Visual Studio's "File -> New Project" menu offer you the option to Please let me know whether or not this fixes it! I'll close this since I — LEGAL NOTICE: The contents of this email and any attachments to it contain |
Steve, the email I got from you said "Reply directly", but all my emails are getting bounced back. I tried twice, then a third time without the zip file of the solution. My direct email is pgorbas@yahoo.com is you want me to email the solution zip to you directly so you can see what the template is creating for me. |
To clarify, installing the .NET Core SDK is not the same as installing Visual Studio Tools for .NET Core. Running Could you ensure you've installed DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe? I don't know for sure that will fix the issue, but it's something you do need if you want VS to be able to launch your projects correctly. |
Yes, I certainly have DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe installed from the very first. If I try to use the link you sent, it just prompts me to download the same file I already have saved. If I try to run it, it just comes up with the repair or uninstall option. |
@pgorbas Have you installed vs 2017 RC ? |
No I am not using VS 2017 RC yet, I didn't want to introduce new unknowns. I have VS2015 Pro. I have tried using the template with several .Net Frame works ( selected when you create the project ). I have through 4.6.1 available, but I have also tried several others including 4.5.2 which you show in your tutorial. No matter which one I use to build the app with the template, I always get this error in the project.json file:
intellisense says that "type" must be either "default" or "build" -- I have tried both of those and I trade a single error about the type to a pile of errors complaining about DNC4.5.1 not being supported. ( this error regardless which .net framework selected at project creation ( 4.6.1, 4.5.2 or even 4.5.1 ) |
Same issue here. |
I've found a solution here. HTH. |
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 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.
The text was updated successfully, but these errors were encountered: