MSBuild.SDK.SystemWeb
MSBuild.SDK.SystemWeb copied to clipboard
MSBuild.SDK.SystemWeb.RazorLibrary does not support GeneratedBindingRedirectsAction feature
The MSBuild.SDK.SystemWeb.RazorLibrary
SDK type only obeys OverwriteAppConfigWithBindingRedirects
and does not have the enhanced functionality of MSBuild.SDK.SystemWeb
and GeneratedBindingRedirectsAction
which was added in #36 to address #34.
We should copy the base functions of MSBuild.SDK.SystemWeb.BindingRedirects.targets
to the Razor SDK type.
In the case of an MVC based project, it is often required to have a separate web.config
in the Views
directory and any Area
's Views
directory.
In the Razor SDK this is handled with an item type of RazorAppConfigFiles
and an XmlPeek / XmlPoke for each file in the target that updates the main web.config file.
Now that we have a common files mechanism, and the fact you may have such additional web.config files in the main 'head' application, it would make sense to make this a combined/common feature.