-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Common binding redirects mechanism for Razor Views and both SDK types - Closes #58 #61
base: main
Are you sure you want to change the base?
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
RazorAppConfigFiles
item type to the main SDK in case you are using MVC Views in the 'head' project.The mechanism used to update the
RazorAppConfigFiles
is now the same as the main$(AppConfig)
file rather than the XmlPeek/XmlPoke tasks used previously.