Moved @addtaghelper to ViewStart.

- Updated project.json to have a valid webroot. Webroot isn't pointing to the specific folder because the TagHelperSample has no valid content for the webroot yet.
This commit is contained in:
N. Taylor Mullen 2014-10-16 12:00:26 -07:00 committed by Doug Bunting
parent c8813fe81d
commit 70e695b665
5 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@

@using TagHelperSample.Web.Models
@model User
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
<h2>Create</h2>

View File

@ -1,7 +1,6 @@

@using TagHelperSample.Web.Models
@model User
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
<h2>Edit</h2>

View File

@ -1,7 +1,6 @@

@using TagHelperSample.Web.Models
@model IEnumerable<User>
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"
<h2>Index</h2>
<p>

View File

@ -0,0 +1 @@
@addtaghelper "Microsoft.AspNet.Mvc.TagHelpers"

View File

@ -1,4 +1,5 @@
{
"webroot": ".",
"compilationOptions": {
"warningsAsErrors": true
},