Question

Using pre and post build tasks in Visual Studio 2010, I can record compilation time through the day. I'd like to do the same with dynamically compiled user controls and pages, to monitor what happens in Temporary ASP.NET.

Should I create a custom C# compiler that calls the "real" compiler, with log output before/after?

Was it helpful?

Solution

Creating a "custom" compiler and referencing it from the web.config seems to be a way.

I'm now stuck with weird behavior: LINQ-related error when using simple CSharpCodeProvider in ASP.NET

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top