Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top