Verify Scriptlets in ASPX files compile with MSbuild
-
12-09-2019 - |
Question
Sometimes after some refactoring occurs, and we produce a successful build, some legacy code using scriptlets fails to compile on runtime. I would like it if there was a way that I can verify that scriptlets will compile using msbuild.
Is that what aspnet_compiler is for?
Thanks
Solution
I think that even the aspnet_compiler.exe tool will not complain about that. I'm not sure the best approach to avoid that.
Sayed Ibrahim Hashimi
My Book: Inside the Microsoft Build Engine : Using MSBuild and Team Foundation Build
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow