Common binding redirects mechanism for Razor Views and both SDK types - Closes #58#61
Common binding redirects mechanism for Razor Views and both SDK types - Closes #58#61CZEMacLeod wants to merge 3 commits intomainfrom
Conversation
…ig files in both Razor Libraries and Head Applications
|
@CZEMacLeod Hopefully quick questions, and you can help me better understand. I have used RazorGenerator outside of this repo to "share" views without sharing them as content, but haven't spent much time around the RazorLibrary side of this repo, so I'm probably missing something. The intended output type of a "Razor View Library" will be a dll like a ClassLibrary project, right? And regular class libraries are not really "directly runnable" at least not runnable from the bin directory like an executable or web application. With that in mind
|
|
@leusbj The way the razor generator works is to load the MVC dlls and generate the code using the build in compilation mechanism (as I understand it). This uses the codedom provider for part of the operation. I think without using the |
This moved the existing mechanism for doing Binding Redirects into the common folder, and adds the
RazorAppConfigFilesitem type to the main SDK in case you are using MVC Views in the 'head' project.The mechanism used to update the
RazorAppConfigFilesis now the same as the main$(AppConfig)file rather than the XmlPeek/XmlPoke tasks used previously.