mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
31 lines
759 B
C#
31 lines
759 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Specialized;
|
|
using System.Text;
|
|
using System.Configuration;
|
|
using System.Web;
|
|
using System.Web.Configuration;
|
|
using _Configuration = System.Configuration.Configuration;
|
|
|
|
class T31
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
try
|
|
{
|
|
_Configuration cfg = ConfigurationManager.OpenExeConfiguration (ConfigurationUserLevel.None);
|
|
|
|
CompilationSection section = (CompilationSection)cfg.GetSection ("system.web/compilation");
|
|
|
|
section = (CompilationSection)cfg.GetSection ("system.web/compilation");
|
|
|
|
Console.WriteLine ("there are {0} assemblies listed in the section", section.Assemblies.Count);
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
// Error.
|
|
Console.WriteLine(e.ToString());
|
|
}
|
|
}
|
|
}
|