コード例 #1
0
 public Msvc15Installation() : base(new Version(15, 0))
 {
     this._sdkBinDirectories = new List <NPath>();
     base.SDKDirectory       = WindowsSDKs.GetWindows10SDKDirectory(out this._sdkVersion);
     this._netfxsdkDir       = WindowsSDKs.GetDotNetFrameworkSDKDirectory();
     if (base.SDKDirectory != null)
     {
         string[] append     = new string[] { "bin" };
         NPath    item       = base.SDKDirectory.Combine(append);
         string[] textArray2 = new string[] { this._sdkVersion };
         NPath    path2      = item.Combine(textArray2);
         if (path2.DirectoryExists(""))
         {
             this._sdkBinDirectories.Add(path2);
         }
         this._sdkBinDirectories.Add(item);
         string[] textArray3 = new string[] { "UnionMetadata" };
         NPath    path3      = base.SDKDirectory.Combine(textArray3);
         string[] textArray4 = new string[] { this._sdkVersion };
         NPath    path4      = path3.Combine(textArray4);
         this._sdkUnionMetadataDirectory = !path4.DirectoryExists("") ? path3 : path4;
     }
 }
コード例 #2
0
 public Msvc10Installation(NPath visualStudioDir) : base(new Version(10, 0), visualStudioDir)
 {
     base.SDKDirectory = WindowsSDKs.GetWindows7SDKDirectory();
 }