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

Scaffolding Requirements missing #1166

Closed
VaclavElias opened this issue Apr 26, 2016 · 3 comments
Closed

Scaffolding Requirements missing #1166

VaclavElias opened this issue Apr 26, 2016 · 3 comments
Milestone

Comments

@VaclavElias
Copy link

VaclavElias commented Apr 26, 2016

Hi,

I think in the article Your First ASP.NET 5 Web App Using Visual Studio https://github.com/aspnet/Docs/blob/master/aspnet/tutorials/your-first-aspnet-application.rst#add-scaffolding, could be mentioned that project.json needs to have Microsoft.Extensions.CodeGenerators.Mvc to see the option New Scaffoled Item... not sure if the additional packages are also not required according this aspnet/Tooling#290 (comment).

Also here in this article Adding a model https://github.com/aspnet/Docs/blob/master/aspnet/tutorials/first-mvc-app/adding-model.rst#scaffolding-a-controller

Thanks :)

@Tratcher
Copy link
Member

The first tutorial was removed: 9b6065a

@Tratcher
Copy link
Member

Add dependencies:

                "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
                  "version": "1.0.0-preview2-21343",
                  "type": "build"
                },
                "Microsoft.VisualStudio.Web.CodeGenerators.Mvc":  {
                  "version": "1.0.0-preview2-21343",
                  "type": "build"
                }
                "Microsoft.EntityFrameworkCore.Design": {
                  "version": "1.0.0-preview2-21343",
                  "type": "build"
                },

Add tools entries:

                "Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
                  "version": "1.0.0-preview2-21343",
                  "imports": [
                    "portable-net45+win8+dnxcore50",
                    "portable-net45+win8"
                  ]
                }
                "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-21343",

Add UseDatabaseErrorPage
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0-rc3-21343",

Add /Views/Shared/_ValidationScriptsPartial.cshtml

@Rick-Anderson
Copy link
Contributor

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