You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this to work correctly, please ensure you are using MSBuild.SDK.SystemWeb.RazorLibrary versions >4.0.106
44
+
35
45
## Documentation
36
46
37
47
For more information see
@@ -58,6 +68,7 @@ For more information see
58
68
|`MvcBuildViews`| true if Configuration is Release<br/>false otherwise | Whether to invoke the AspNetCompiler automatically after build |
59
69
|`EnableWebFormsDefaultItems`| Same as `EnableDefaultItems`| Whether to automatically include WebForms files as content<br><ul><li> *.asax</li><li> *.ascx</li><li> *.ashx</li><li> *.asmx</li><li> *.aspx</li><li> *.master</li><li> *.svc</li></ul> |
60
70
|`OverwriteAppConfigWithBindingRedirects`| false | If set, then any [automatically generated binding redirects](Binding_Redirects/Autogenerating-Binding-Redirects.md) will be copied into your web.config and `RazorAppConfigFiles` files. |
71
+
|`EnableRazorGeneratorMVC`| true | If set, then the `RazorGenerator.MVC` package will automatically be added to your project. This will automatically register the contained views when consumed by an application. |
<WarningText="Replacing web.config due to changes during compile - This should clear warning MSB3276 on next compile"File="web.config"Condition="'$(_DllConfigHash)'!='$(_AppConfigHash)'" />
0 commit comments