-
Notifications
You must be signed in to change notification settings - Fork 203
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
Open in Visual Studio 2015 #15
Comments
I guess this project is inspired by https://github.com/kriasoft/react-static-boilerplate. And the .NET Core server was just added as a sub-folder. This is supported in Visual Studio Code, but not in Visual Studio 2015 AFAIK. I've successfully changed the project to be able to run in Visual Studio 2015. Here is a guide. Configure Visual Studio
Change project
To run there is a two options: NPM/Node
IIS Express
This also works... but without hot reload... take a look here. Also you should consider running Webpack in watch mode. |
As an update to this incredibly helpful post by @tjementum , it should be noted that the project.json file will be replaced by csproj in a near future update. So wouldn't get to deep into the project.json issue. Also, you can keep the server code in the server folder, you don't have to move all of it up one dir. You just have to move the project.json and appsettings.json which appears to be hardcoded as a path. And so don't delete the global.json in this case either (to map to your Server folder). The rest is spot on required. I ended up changing some things to improve it..
since in visual studio the .vscode tasks.json doesn't do anything.
And also edit project.json to support the paths..
If you have all of your paths correct in the edited json files, everything should be happy. You can hit build from vstudio and it'll run everything proper. I'll update more if I end up making any significant milestones, but the above guide really sets you up well. Edit: See here: Edit2: |
A fork could be useful. |
Just to add to this - I did create a fork here using the steps supplied by @tjementum above https://github.com/codingupastorm/aspnet-starter-kit-vs-2015 |
Does anyone know a tidy way to import / create this in Visual Studio 2015.
At work we use VS2015 Enterprise and am unable to download VS Code.
I have tried "New Project from Existing files" but you cannot select a ASP.NET core project type and any other type has trouble with dependencies (even after manually running npm install)
I whipped out my personal laptop and installed VS Core and it worked fine, just cannot find a way to open it in Visual Studio 2015, any ideas ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: