-
Notifications
You must be signed in to change notification settings - Fork 234
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 MVC w/views assumes the presence of _ValidationScriptsPartial.cshtml #257
Labels
Comments
TFS Bug#233433 |
This appears to be controlled by the "Reference script libraries" checkbox on the Add Controller dialog. It's interesting that it won't generate the file if it's missing. |
prafullbhosale
added a commit
that referenced
this issue
Jul 26, 2016
For anyone that lands here in the mean time... I scaffolded a blank asp.net core project and found that the file should look like: Add a file
|
prafullbhosale
added a commit
that referenced
this issue
Aug 8, 2016
… context. Add required files based on view generator model. Fixes #257
prafullbhosale
added a commit
that referenced
this issue
Aug 8, 2016
… context. Add required files based on view generator model. Fixes #257
prafullbhosale
added a commit
that referenced
this issue
Aug 8, 2016
… context. Add required files based on view generator model. Fixes #257
prafullbhosale
added a commit
that referenced
this issue
Aug 10, 2016
… context. Add required files based on view generator model. Fixes #257
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When scaffolding a new MVC controller with views using Entity Framework, the Create and Edit views reference _ValidationScriptsPartial.cshtml, which is only included in the Individual Auth template, causing this error in other templates:
Everything seems to work after copying the file from another project.
The text was updated successfully, but these errors were encountered: