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?

Était-ce utile?

La 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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top