OSDN Git Service

AppliStation-All, アセンブリバージョンを1.4.5に
[applistation/AppliStation.git] / archive-inst / MSBuild.cs
1 using System;\r
2 using Microsoft.Build.BuildEngine;\r
3 \r
4 namespace ArchiveInstall\r
5 {\r
6         public static class MSBuild\r
7         {\r
8                 public static Engine Engine {\r
9                         get {\r
10                                 string binPath = System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory();\r
11                                 return new Engine(binPath);\r
12                         }\r
13                 }\r
14         }\r
15         \r
16         /// <summary>\r
17         /// WriteHandler\82ð\8eæ\82è\8fo\82·\82½\82ß\82Ì\83N\83\89\83X\r
18         /// </summary>\r
19         public class MSBuildLogger : ConsoleLogger\r
20         {\r
21                 public void AddHandler(WriteHandler writehandler)\r
22                 {\r
23                         this.WriteHandler += writehandler;\r
24                 }\r
25         }\r
26 }\r