c# - Show missing PartialView as a build error -
I am reconfiguring our ideas at work and taking them to more suitable places.
We are currently arranging our ideas in our own folders within the view folder, we have to refer to our ideas using the full path in RenderView.
Is there a way to throw a build build error, if I do not have the presence of a visual studio if the Anx file is present in the Rendereparty method?
There is an error shown in run time, although I should be part of this process process.
Thanks for any advice
View locations are resolved only on runtime I can not really see how this can be done, as long as you write a few custom steps in MSBuild that will analyze the source code and check the existence of related footage files but it will be a daunting task.
Comments
Post a Comment