Remove UWP components from repo
authorSimon Nattress <simonn@microsoft.com>
Wed, 14 Feb 2018 23:40:16 +0000 (15:40 -0800)
committerEric Erhardt <eric.erhardt@microsoft.com>
Thu, 15 Feb 2018 15:21:21 +0000 (09:21 -0600)
UWP components for VS integration have been moved to https://github.com/dotnet/uwp-setup.

Commit migrated from https://github.com/dotnet/core-setup/commit/3d9abcca488b38f87ee59e776f98915c0c12f729

73 files changed:
src/installer/buildpipeline/Core-Setup-Windows-Arm-BT.json
src/installer/buildpipeline/Core-Setup-Windows-BT.json
src/installer/dir.props
src/installer/pkg/appx/Microsoft.NET.CoreRuntime/AppxManifest.xml.template [deleted file]
src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.builds [deleted file]
src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.depproj [deleted file]
src/installer/pkg/appx/Microsoft.NET.CoreRuntime/dir.props [deleted file]
src/installer/pkg/appx/Microsoft.NET.CoreRuntime/logo.png [deleted file]
src/installer/pkg/appx/dir.props [deleted file]
src/installer/pkg/packages.builds
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.builds [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.pkgproj [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/dir.props [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/netcore50.props [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.builds [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.depproj [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/packagereferences.msbuild [deleted file]
src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/uapRIDs.props [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.builds [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.pkgproj [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.settings.targets.template [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.targets [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.UWPCoreRuntimeSdk.props [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.props.template [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.targets.template [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/dir.props [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.builds [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.depproj [deleted file]
src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/uwpcoreruntimesdkRIDs.props [deleted file]
src/installer/pkg/projects/descriptions.json
src/installer/publish/dir.props
src/installer/publish/dir.targets
src/installer/publish/publish.proj
src/installer/signing/baseline.props
src/installer/signing/sign.proj
src/installer/src.builds
src/installer/uwp/CMakeLists.txt [deleted file]
src/installer/uwp/CopyWin32Resources/CMakeLists.txt [deleted file]
src/installer/uwp/CopyWin32Resources/CopyWin32Resources.cpp [deleted file]
src/installer/uwp/CopyWin32Resources/native.rc [deleted file]
src/installer/uwp/Host/CMakeLists.txt [deleted file]
src/installer/uwp/Host/UWPHost/CMakeLists.txt [deleted file]
src/installer/uwp/Host/UWPHost/HostEnvironment.cpp [deleted file]
src/installer/uwp/Host/UWPHost/HostEnvironment.h [deleted file]
src/installer/uwp/Host/UWPHost/UWPHost.cpp [deleted file]
src/installer/uwp/Host/UWPHost/UWPHost.def [deleted file]
src/installer/uwp/Host/UWPHost/UWPHost.h [deleted file]
src/installer/uwp/Host/UWPHost/corerror.h [deleted file]
src/installer/uwp/Host/UWPHost/gchost.h [deleted file]
src/installer/uwp/Host/UWPHost/ivalidator.h [deleted file]
src/installer/uwp/Host/UWPHost/ivehandler.h [deleted file]
src/installer/uwp/Host/UWPHost/mscoree.h [deleted file]
src/installer/uwp/Host/UWPHost/native.rc [deleted file]
src/installer/uwp/Host/UWPShim/CMakeLists.txt [deleted file]
src/installer/uwp/Host/UWPShim/Console/CMakeLists.txt [deleted file]
src/installer/uwp/Host/UWPShim/UWPShim.cpp [deleted file]
src/installer/uwp/Host/UWPShim/Windows/CMakeLists.txt [deleted file]
src/installer/uwp/Host/UWPShim/native.rc [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ErrorCodes.cs [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergePriConfigTask.cs [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergeResWFilesTask.cs [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.builds [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.csproj [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ResourceHandlingTask.cs [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.Designer.cs [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.resx [deleted file]
src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/WireUpCoreRuntime.cs [deleted file]
src/installer/uwp/Windows/gen-buildsys-win.bat [deleted file]
src/installer/uwp/Windows/probe-win.ps1 [deleted file]
src/installer/uwp/build.cmd [deleted file]
src/installer/uwp/build.proj [deleted file]
src/installer/uwp/dir.props [deleted file]
tools-local/tasks/FinalizeBuild.cs

index 3daace9..6f46d7d 100644 (file)
       "enabled": true,
       "continueOnError": false,
       "alwaysRun": false,
-      "displayName": "Build Appx",
-      "timeoutInMinutes": 0,
-      "refName": "Task8",
-      "task": {
-        "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
-        "versionSpec": "1.*",
-        "definitionType": "task"
-      },
-      "inputs": {
-        "solution": "$(PB_SourcesDirectory)\\src\\pkg\\appx\\Microsoft.NET.CoreRuntime\\Microsoft.NET.CoreRuntime.builds",
-        "msbuildLocationMethod": "version",
-        "msbuildVersion": "latest",
-        "msbuildArchitecture": "x64",
-        "msbuildLocation": "",
-        "platform": "$(PB_TargetArchitecture)",
-        "configuration": "$(BuildConfiguration)",
-        "msbuildArguments": "$(PB_CommonMSBuildArgs) /flp:v=detailed;LogFile=$(PB_SourcesDirectory)\\buildappx.log",
-        "clean": "false",
-        "maximumCpuCount": "false",
-        "restoreNugetPackages": "false",
-        "logProjectEvents": "false",
-        "createLogFile": "false"
-      }
-    },
-    {
-      "environment": {},
-      "enabled": true,
-      "continueOnError": false,
-      "alwaysRun": false,
-      "displayName": "Sign Appx",
-      "timeoutInMinutes": 0,
-      "refName": "Task9",
-      "task": {
-        "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
-        "versionSpec": "1.*",
-        "definitionType": "task"
-      },
-      "inputs": {
-        "solution": "$(PB_SourcesDirectory)\\signing\\sign.proj",
-        "msbuildLocationMethod": "version",
-        "msbuildVersion": "latest",
-        "msbuildArchitecture": "x64",
-        "msbuildLocation": "",
-        "platform": "$(PB_TargetArchitecture)",
-        "configuration": "$(BuildConfiguration)",
-        "msbuildArguments": "/t:SignAppxFiles $(MsbuildSigningArguments) $(PB_CommonMSBuildArgs)",
-        "clean": "false",
-        "maximumCpuCount": "false",
-        "restoreNugetPackages": "false",
-        "logProjectEvents": "false",
-        "createLogFile": "false"
-      }
-    },
-    {
-      "environment": {},
-      "enabled": true,
-      "continueOnError": false,
-      "alwaysRun": false,
       "displayName": "Build nuget packages",
       "timeoutInMinutes": 0,
       "refName": "Task10",
index a3fcd4a..65cd429 100644 (file)
       "enabled": true,
       "continueOnError": false,
       "alwaysRun": false,
-      "displayName": "Build Appx",
-      "timeoutInMinutes": 0,
-      "refName": "Task8",
-      "task": {
-        "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
-        "versionSpec": "1.*",
-        "definitionType": "task"
-      },
-      "inputs": {
-        "solution": "$(PB_SourcesDirectory)\\src\\pkg\\appx\\Microsoft.NET.CoreRuntime\\Microsoft.NET.CoreRuntime.builds",
-        "msbuildLocationMethod": "version",
-        "msbuildVersion": "latest",
-        "msbuildArchitecture": "x64",
-        "msbuildLocation": "",
-        "platform": "$(PB_TargetArchitecture)",
-        "configuration": "$(BuildConfiguration)",
-        "msbuildArguments": "$(PB_CommonMSBuildArgs) /flp:v=detailed;LogFile=$(PB_SourcesDirectory)\\buildappx.log",
-        "clean": "false",
-        "maximumCpuCount": "false",
-        "restoreNugetPackages": "false",
-        "logProjectEvents": "false",
-        "createLogFile": "false"
-      }
-    },
-    {
-      "environment": {},
-      "enabled": true,
-      "continueOnError": false,
-      "alwaysRun": false,
-      "displayName": "Sign Appx",
-      "timeoutInMinutes": 0,
-      "refName": "Task9",
-      "task": {
-        "id": "c6c4c611-aa2e-4a33-b606-5eaba2196824",
-        "versionSpec": "1.*",
-        "definitionType": "task"
-      },
-      "inputs": {
-        "solution": "$(PB_SourcesDirectory)\\signing\\sign.proj",
-        "msbuildLocationMethod": "version",
-        "msbuildVersion": "latest",
-        "msbuildArchitecture": "x64",
-        "msbuildLocation": "",
-        "platform": "$(PB_TargetArchitecture)",
-        "configuration": "$(BuildConfiguration)",
-        "msbuildArguments": "/t:SignAppxFiles $(MsbuildSigningArguments) $(PB_CommonMSBuildArgs)",
-        "clean": "false",
-        "maximumCpuCount": "false",
-        "restoreNugetPackages": "false",
-        "logProjectEvents": "false",
-        "createLogFile": "false"
-      }
-    },
-    {
-      "environment": {},
-      "enabled": true,
-      "continueOnError": false,
-      "alwaysRun": false,
       "displayName": "Build nuget packages",
       "timeoutInMinutes": 0,
       "refName": "Task10",
index f1b53da..cd3eb81 100644 (file)
@@ -8,8 +8,6 @@
   </PropertyGroup>
 
   <PropertyGroup>
-    <_BuildUwpDependencies Condition="'$(OSGroup)' == 'Windows_NT' and '$(TargetArchitecture)' != 'arm64'">true</_BuildUwpDependencies>
-  
     <LibPrefix Condition="'$(OSGroup)' != 'Windows_NT'">lib</LibPrefix>
     <LibSuffix>.so</LibSuffix> 
     <LibSuffix Condition="'$(OSGroup)' == 'Windows_NT'">.dll</LibSuffix>
diff --git a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/AppxManifest.xml.template b/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/AppxManifest.xml.template
deleted file mode 100644 (file)
index c81f966..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
-   xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
-   xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
-   IgnorableNamespaces="uap"> 
-<Identity Name="[AppxIdentityName]" 
-  ProcessorArchitecture="[AppxBuildArch]" 
-  Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" 
-  Version="[AppxVersion]" />
-<mp:PhoneIdentity PhoneProductId="7D3B4B8B-CA47-4518-823A-A7793F27DA93" 
-  PhonePublisherId="6B151E87-785E-4C4A-AA41-823B05AA9A66" />
-<Properties>
-  <Framework>true</Framework>
-  <DisplayName>[AppxDisplayName]</DisplayName>
-  <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
-  <Description>Microsoft .Net Core Runtime Package for Universal Windows Applications</Description>
-  <Logo>logo.png</Logo>
-</Properties>
-<Resources>
-  <Resource Language="en-US" />
-</Resources>
-<Dependencies>
-  <TargetDeviceFamily
-       Name="Windows.Universal"
-       MinVersion="10.0.10049.0"
-       MaxVersionTested="10.0.10049.0" />
-</Dependencies> 
-</Package>
diff --git a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.builds b/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.builds
deleted file mode 100644 (file)
index 8049b5c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-  <PropertyGroup>
-    <HasRuntimePackages>false</HasRuntimePackages>
-  </PropertyGroup>
-
-  <ItemGroup Condition="'$(_BuildUwpDependencies)' == 'true'">
-    <Project Include="Microsoft.NET.CoreRuntime.depproj" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-
-</Project>
diff --git a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.depproj b/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/Microsoft.NET.CoreRuntime.depproj
deleted file mode 100644 (file)
index 5bb3999..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
-  <Import Project="dir.props" />
-
-  <PropertyGroup>
-    <RestorePackages>true</RestorePackages>
-    <PrereleaseResolveNuGetPackages>true</PrereleaseResolveNuGetPackages>
-    <RestoreOutputPath>$(IntermediateOutputPath)</RestoreOutputPath>
-    <AdditionalRestoreArgs>/p:HasRuntimePackages=false /p:IntermediateOutputPath=$(IntermediateOutputPath)</AdditionalRestoreArgs>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <HasRuntimePackages>false</HasRuntimePackages>
-    <NuGetTargetMoniker>$(UAPvNextTFMFull)</NuGetTargetMoniker>
-    <NugetTargetMonikerShort>$(UAPvNextTFM)</NugetTargetMonikerShort>
-    <NuGetRuntimeIdentifier Condition="'$(NuGetRuntimeIdentifier)' == ''">win10-$(Platform)</NuGetRuntimeIdentifier>
-
-    <AppxManifestTemplate>$(MSBuildProjectDirectory)\AppxManifest.xml.template</AppxManifestTemplate>
-    <AppxManifest>$(IntermediateOutputPath)AppxManifest.xml</AppxManifest>
-
-    <AppxName>Microsoft.NET.CoreRuntime</AppxName>
-    <AppxIdentityName>Microsoft.NET.CoreRuntime.$(MajorVersion).$(MinorVersion)</AppxIdentityName>
-    <AppxDisplayName>Microsoft.NET.CoreRuntime.$(MajorVersion).$(MinorVersion)</AppxDisplayName>
-
-    <BuildVersionAppX>$([System.Int32]::Parse($(BuildNumberMajor)))</BuildVersionAppX>
-    <RevisionVersionAppX>$([System.Int32]::Parse($(BuildNumberMinor)))</RevisionVersionAppX>
-
-    <!-- path to contents of appx that will be zipped -->
-    <AppxOutputPath>$(IntermediateOutputPath)$(AppxIdentityName)</AppxOutputPath>
-    <OutputPath>$(IntermediateOutputPath)$(AppxIdentityName)</OutputPath>
-
-    <!-- path of generated .appx package -->
-    <AppxOutputPackageName>$(UWPOutputDir)$(AppxIdentityName).appx</AppxOutputPackageName>
-    
-    <!-- Indicate that this project contains package references that need to be restored -->
-    <ContainsPackageReferences>true</ContainsPackageReferences>
-    <RidSpecificAssets>true</RidSpecificAssets>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <!-- Add a reference to the package containing the RID fallback graph -->
-    <PackageReference Include="Microsoft.NETCore.Platforms">
-      <Version>$(PlatformPackageVersion)</Version>
-    </PackageReference>
-
-    <!-- Add a reference to the CoreCLR package from which to restore the artifacts -->
-    <PackageReference Include="Microsoft.NETCore.Runtime.CoreCLR">
-      <Version>$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)</Version>
-    </PackageReference>
-
-    <!-- Binaries that we want to include in the AppX FW package -->
-    <AppxFileList Include="clretwrc.dll;coreclr.dll;mscordaccore.dll;mscordbi.dll;mscorrc.debug.dll"/>
-    <AppxFileList Include="mscorrc.dll;System.Private.CoreLib.dll;clrjit.dll" />
-  </ItemGroup>
-
-  <!-- Compute the set of the files to be included in the Framework AppX package -->
-  <Target Name="IncludeAllFiles"
-          AfterTargets="ResolveNuGetPackages">
-    <ItemGroup>
-      <ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="'@(AppxFileList->'%(FileName)%(Extension)')' != '%(FileName)%(Extension)'" />
-      <ReferenceCopyLocalPaths Include="logo.png" />
-      <ReferenceCopyLocalPaths Include="$(UWPOutputDir)\uwphost.dll" />
-      <ReferenceCopyLocalPaths Include="$(AppxManifest)" />
-    </ItemGroup>
-  </Target>
-
-  <Target Name="GenerateAppxManifestFromTemplate"
-          BeforeTargets="IncludeAllFiles"
-          Inputs="$(AppxManifestTemplate)"
-          Outputs="$(AppxManifest)">
-    <WriteLinesToFile File="$(AppxManifest)"
-                      Lines="$([System.IO.File]::ReadAllText($(AppxManifestTemplate)).Replace('[AppxBuildArch]', $(Platform)).Replace('[AppxVersion]',$(MajorVersion).$(MinorVersion).$(BuildVersionAppX).$(RevisionVersionAppX)).Replace('[AppxIdentityName]',$(AppxIdentityName)).Replace('[AppxDisplayName]',$(AppxDisplayName)))"
-                      Overwrite="true" />
-    <ItemGroup>
-      <FileWrites Include="$(AppxManifest)" />
-    </ItemGroup>
-  </Target>
-
-  <Target Name="MakeAppx"
-          AfterTargets="Build">
-    <MakeDir Directories="$(PackageOutputPath)"/>
-    <Delete Files="$(AppxOutputPackageName)" />
-    <Exec Command='CALL "$(VS140COMNTOOLS)vsdevcmd.bat" &amp; makeappx pack /d "$(AppxOutputPath)" /p "$(AppxOutputPackageName)" /o' />
-  </Target>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project>
diff --git a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/dir.props b/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/dir.props
deleted file mode 100644 (file)
index 04e9cd8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="..\dir.props" />
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/logo.png b/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/logo.png
deleted file mode 100644 (file)
index 3bf0d31..0000000
Binary files a/src/installer/pkg/appx/Microsoft.NET.CoreRuntime/logo.png and /dev/null differ
diff --git a/src/installer/pkg/appx/dir.props b/src/installer/pkg/appx/dir.props
deleted file mode 100644 (file)
index 04e9cd8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="..\dir.props" />
-</Project>
\ No newline at end of file
index a6a1a28..0c34d60 100644 (file)
@@ -10,9 +10,7 @@
   </PropertyGroup>  
 
   <ItemGroup>
-    <ProjectExclusions Include="$(ProjectsBasePath)*\Microsoft.NETCore.UniversalWindowsPlatform.builds" Condition="'$(_BuildUwpDependencies)' != 'true'" />
-    <ProjectExclusions Include="$(ProjectsBasePath)*\Microsoft.Net.UWPCoreRuntimeSdk.builds" Condition="'$(_BuildUwpDependencies)' != 'true'" />
-    <Project Include="$(ProjectsBasePath)*\*.builds" Exclude="@(ProjectExclusions)">
+    <Project Include="$(ProjectsBasePath)*\*.builds">
       <AdditionalProperties>$(AdditionalProperties)</AdditionalProperties>
     </Project>
   </ItemGroup>  
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.builds b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.builds
deleted file mode 100644 (file)
index 944562a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-
-  <ItemGroup>
-    <Project Include="Microsoft.NETCore.UniversalWindowsPlatform.pkgproj" Condition="'$(Platform)' != 'arm64'"/>
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.pkgproj b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/Microsoft.NETCore.UniversalWindowsPlatform.pkgproj
deleted file mode 100644 (file)
index 9499040..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-
-  <PropertyGroup>
-    <Version>$(UWPCoreRuntimeSdkVersion)</Version>
-    <OmitDependencies>true</OmitDependencies>
-    <SkipValidatePackage>true</SkipValidatePackage>
-    <ShouldCreateLayout>false</ShouldCreateLayout>
-    <PropsFile>$(IntermediateOutputPath)$(MSBuildProjectName).props</PropsFile>
-    <PlatformManifestFile>$(IntermediateOutputPath)$(MSBuildProjectName).PlatformManifest.txt</PlatformManifestFile>
-    <PreventImplementationReference Condition="'$(PackageTargetRuntime)' != ''">true</PreventImplementationReference>
-    <!-- During an official build when we can guarantee that all RID-specific dependencies have been built,
-         restore all of those dependencies and gather the prospective content of the RID-specific Core.App
-         packages.  This is needed so that we have a complete platform manifest in the shipping version of
-         the Microsoft.NETCore.UniversalWindowsPlatform (RID-agnostic/identity package). -->
-    <IncludeAllRuntimePackagesInPlatformManifest Condition="'$(BuildFullPlatformManifest)' == 'true'">true</IncludeAllRuntimePackagesInPlatformManifest>
-  </PropertyGroup>
-  
-  
-  <Import Project="netcore50.props" />
-
-  <!-- Identity / Reference package content -->
-  <ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
-    <!-- reference RID specific packages to generate lineup -->
-    <ProjectReference Include="@(Project)" />
-
-    <!-- reference dependencies from previous versions -->
-    <Dependency Include="@(NetCore50Dependency)">
-      <TargetFramework>.NETCore50</TargetFramework>
-    </Dependency>
-
-    <ProjectReference Include="..\Microsoft.Net.UWPCoreRuntimeSdk\Microsoft.Net.UWPCoreRuntimeSdk.pkgproj">
-      <TargetFramework>uap10.0.16300</TargetFramework>
-    </ProjectReference>
-
-    <!-- Add a placeholder to make sure NuGet understands we still support older versions,
-         even though they don't have ref-assets -->
-    <File Include="$(PlaceHolderFile)">
-      <TargetPath>ref/netcore50</TargetPath>
-    </File>
-    
-  </ItemGroup>
-
-  <!-- Redistributed package content from other nuget packages-->
-  <ItemGroup>
-    <ProjectReference Include="src\Microsoft.NETCore.UniversalWindowsPlatform.depproj">
-      <AdditionalProperties Condition="'$(PackageTargetRuntime)' != ''">NuGetRuntimeIdentifier=$(PackageTargetRuntime)</AdditionalProperties>
-    </ProjectReference>
-  </ItemGroup>
-  
-  <UsingTask TaskName="GenerateFileVersionProps" AssemblyFile="$(LocalBuildToolsTaskDir)core-setup.tasks.dll"/>
-  <Target Name="GenerateFileVersionProps" BeforeTargets="GenerateNuSpec" Condition="'$(PackageTargetRuntime)' == ''">
-    <MSBuild Projects="@(ProjectReference)"
-             Condition="'%(ProjectReference.PackageTargetRuntime)' == '$(PackageRID)' OR 
-                        '%(ProjectReference.BuidOnRID)' == '$(PackageRID)' OR 
-                        ('$(IncludeAllRuntimePackagesInPlatformManifest)' == 'true' AND '%(ProjectReference.PackageTargetRuntime)' != '')"
-             Targets="GetPackageFiles">
-      <Output TaskParameter="TargetOutputs" ItemName="UapRuntimeFiles" />
-    </MSBuild>
-    
-    <GenerateFileVersionProps Files="@(UapRuntimeFiles)"
-                              PackageId="$(Id)"
-                              PackageVersion="$(Version)"
-                              PlatformManifestFile="$(PlatformManifestFile)"
-                              PropsFile="$(PropsFile)"
-                              PreferredPackages="$(Id);@(RuntimeDependency)" />
-  </Target>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-
-  <Target Name="GetPackageReport" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/dir.props b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/dir.props
deleted file mode 100644 (file)
index 91279a8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <RIDPropsFile>$(MSBuildThisFileDirectory)\uapRIDs.props</RIDPropsFile>
-  </PropertyGroup>
-  <Import Project="..\dir.props" />
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/netcore50.props b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/netcore50.props
deleted file mode 100644 (file)
index cd37f94..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <ItemGroup>
-    <NetCore50Dependency Include="Microsoft.NETCore">
-      <Version>5.0.2</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="Microsoft.Net.Native.Compiler">
-      <Version>1.7.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="Microsoft.NETCore.Portable.Compatibility">
-      <Version>1.0.2</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="Microsoft.NETCore.Runtime.CoreCLR">
-      <Version>1.0.3</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="Microsoft.NETCore.Targets">
-      <Version>1.0.2</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="Microsoft.Win32.Primitives">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Collections.NonGeneric">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Collections.Specialized">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ComponentModel.EventBasedAsync">
-      <Version>4.0.11</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Data.Common">
-      <Version>4.1.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Diagnostics.Contracts">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Diagnostics.StackTrace">
-      <Version>4.0.2</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.IO.IsolatedStorage">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.Http.Rtc">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.NameResolution">
-      <Version>4.0.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.Requests">
-      <Version>4.0.11</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.Sockets">
-      <Version>4.1.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.WebHeaderCollection">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.WebSockets">
-      <Version>4.0.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Net.WebSockets.Client">
-      <Version>4.0.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Numerics.Vectors.WindowsRuntime">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Reflection.Context">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.InteropServices.WindowsRuntime">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.Serialization.Json">
-      <Version>4.0.3</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.Serialization.Primitives">
-      <Version>4.1.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.Serialization.Xml">
-      <Version>4.1.2</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.WindowsRuntime">
-      <Version>4.0.11</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Runtime.WindowsRuntime.UI.Xaml">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ServiceModel.Duplex">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ServiceModel.Http">
-      <Version>4.1.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ServiceModel.NetTcp">
-      <Version>4.1.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ServiceModel.Primitives">
-      <Version>4.1.0</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.ServiceModel.Security">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Text.Encoding.CodePages">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Threading.Overlapped">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Xml.XmlDocument">
-      <Version>4.0.1</Version>
-    </NetCore50Dependency>
-    <NetCore50Dependency Include="System.Xml.XmlSerializer">
-      <Version>4.0.11</Version>
-    </NetCore50Dependency>
-  </ItemGroup>
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.builds b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.builds
deleted file mode 100644 (file)
index 0286e74..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <BuildOnUnknownPlatforms>false</BuildOnUnknownPlatforms>
-  </PropertyGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-
-  <ItemGroup>
-    <Project Include="Microsoft.NETCore.UniversalWindowsPlatform.depproj" Condition="'$(Platform)' != 'arm64'" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.depproj b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/Microsoft.NETCore.UniversalWindowsPlatform.depproj
deleted file mode 100644 (file)
index da38aaf..0000000
+++ /dev/null
@@ -1,175 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <!-- we intentionally don't want to produce output -->
-    <OutputPath>unused</OutputPath>
-    <!-- we don't want any analyzers by ResolveNuGetPackageAssets
-         null-refs when this isn't set and an analyzer is in the packages -->
-    <Language>unused</Language>
-    <NuGetTargetMoniker>$(UAPvNextTFMFull)</NuGetTargetMoniker>
-    <NuGetTargetMonikerShort>$(UAPvNextTFM)</NuGetTargetMonikerShort>
-    <PackageTargetFramework>$(UAPvNextTFM)</PackageTargetFramework>
-    <PrimaryPackage>Microsoft.Private.CoreFx.UAP</PrimaryPackage>
-    <ContainsPackageReferences>true</ContainsPackageReferences>
-    <RestorePackages>true</RestorePackages>
-    <RidSpecificAssets Condition="'$(NuGetRuntimeIdentifier)' != ''">true</RidSpecificAssets>
-    <IntermediateOutputPath>$(IntermediateOutputPath)$(NuGetRuntimeIdentifier)</IntermediateOutputPath>
-    <RestoreOutputPath>$(IntermediateOutputPath)</RestoreOutputPath>
-    <AdditionalRestoreArgs>/p:HasRuntimePackages=false /p:IntermediateOutputPath=$(IntermediateOutputPath)</AdditionalRestoreArgs>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Microsoft.Net.Native.Compiler">
-      <Version>$(MicrosoftNetNativeCompilerPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="Microsoft.Private.CoreFx.UAP">
-      <Version>$(MicrosoftPrivateCoreFxUAPPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="Microsoft.NETCore.Platforms">
-      <Version>$(MicrosoftNETCorePlatformsPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="NETStandard.Library">
-      <Version>$(NETStandardLibraryPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="System.ServiceModel.Duplex">
-      <Version>$(SystemServiceModelDuplexPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="System.ServiceModel.Http">
-      <Version>$(SystemServiceModelHttpPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="System.ServiceModel.NetTcp">
-      <Version>$(SystemServiceModelNetTcpPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="System.ServiceModel.Primitives">
-      <Version>$(SystemServiceModelPrimitivesPackageVersion)</Version>
-    </PackageReference>
-    <PackageReference Include="System.ServiceModel.Security">
-      <Version>$(SystemServiceModelSecurityPackageVersion)</Version>
-    </PackageReference>
-  </ItemGroup>
-
-  <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' == ''">
-    <!-- Bring in Platforms for RID graph, NETStandard.Library for build-tools,
-         Targets for an empty runtime.json to reduce conflicts from 1.x packages,
-         and toolset. -->
-    <DependenciesToPackage Include="NETStandard.Library" />
-    <DependenciesToPackage Include="Microsoft.NETCore.Platforms" />
-    <DependenciesToPackage Include="Microsoft.NETCore.Targets" />
-    <DependenciesToPackage Include="Microsoft.Net.Native.Compiler" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-
-  <Target Name="GetFilesToPackage" DependsOnTargets="ResolveNuGetPackages" Returns="@(FilesToPackage)">
-    <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' != ''">
-      <!-- RID-specific: include all runtime files -->
-      <_FilesToPackage Include="@(ReferenceCopyLocalPaths)">
-        <!-- ResolveNugetPackageAssets doesn't preserve the asset type (native),
-             calculate it by looking for native in the path -->
-        <IsNative Condition="$([System.String]::new('%(Identity)').ToLowerInvariant().Replace('\', '/').Contains('/native/'))">true</IsNative>
-        <!-- We previously shipped a clrcompression on the lib folder, so we need to flag it as native in here -->
-        <IsNative Condition="'%(FileName)%(Extension)' == 'clrcompression.dll'">true</IsNative>
-      </_FilesToPackage>
-      <_FilesToPackage>
-        <TargetPath Condition="'%(_FilesToPackage.IsNative)' != 'true'">runtimes/$(NuGetRuntimeIdentifier)/lib/$(PackageTargetFramework)</TargetPath>
-        <TargetPath Condition="'%(_FilesToPackage.IsNative)' == 'true'">runtimes/$(NuGetRuntimeIdentifier)/nativeassets/$(PackageTargetFramework)</TargetPath>
-      </_FilesToPackage>
-    </ItemGroup>
-
-    <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' == ''">
-      <!-- Not RID-specific: include all reference files -->
-      <_FilesToPackage Include="@(Reference)">
-        <TargetPath>ref/$(PackageTargetFramework)</TargetPath>
-      </_FilesToPackage>
-    </ItemGroup>
-
-    <ItemGroup>
-      <!-- add metadata for source and package -->
-      <_FilesToPackage>
-        <SourcePath>%(Identity)</SourcePath>
-        <PackagePath>%(TargetPath)/%(FileName)%(Extension)</PackagePath>
-      </_FilesToPackage>
-
-      <!-- transform to package path for deduping -->
-      <_primaryFilesByPackagePath Include="@(_FilesToPackage->'%(PackagePath)')" Condition="$([System.String]::new('%(NuGetPackageId)').EndsWith('$(PrimaryPackage)'))"/>
-      <_secondaryFilesByPackagePath Include="@(_FilesToPackage->'%(PackagePath)')" Condition="!$([System.String]::new('%(NuGetPackageId)').EndsWith('$(PrimaryPackage)'))"/>
-
-      <!-- remove any secondary files with same package path as primary files -->
-      <_secondaryFilesByPackagePath Remove="@(_primaryFilesByPackagePath)" />
-
-      <_filesByPackagePath Include="@(_primaryFilesByPackagePath);@(_secondaryFilesByPackagePath)" />
-
-      <!-- transform back to source -->
-      <FilesToPackage Include="@(_filesByPackagePath->'%(SourcePath)')" />
-    </ItemGroup>
-
-    <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' == ''">
-      <!-- include all docs files -->
-      <_docFilesToPackage Include="%(FilesToPackage.RootDir)%(FilesToPackage.Directory)**\%(FilesToPackage.FileName).xml" />
-
-      <FilesToPackage Include="@(_docFilesToPackage)">
-        <TargetPath>ref/$(PackageTargetFramework)/%(RecursiveDir)</TargetPath>
-      </FilesToPackage>
-    </ItemGroup>
-
-    <!-- simple check to make sure we don't accidentally pull an old
-         package that should have been merged to the primary package -->
-    <ItemGroup>
-      <PermittedSystemPackages Include="System.ServiceModel.Duplex" />
-      <PermittedSystemPackages Include="System.ServiceModel.Http" />
-      <PermittedSystemPackages Include="System.ServiceModel.NetTcp" />
-      <PermittedSystemPackages Include="System.ServiceModel.Primitives" />
-      <PermittedSystemPackages Include="System.ServiceModel.Security" />
-      <PermittedSystemPackages Include="System.Private.ServiceModel" />
-      <_secondarySystemPackages Include="@(_secondaryFilesByPackagePath->'%(NuGetPackageId)')"
-                                Condition="$([System.String]::new('%(NuGetPackageId)').Contains('System.'))" />
-      <_secondarySystemPackages Remove="@(PermittedSystemPackages)" />
-    </ItemGroup>
-    <Error Text="Unexpected System package(s) @(_secondarySystemPackages)" Condition="'@(_secondarySystemPackages)' != ''" />
-
-    <ItemGroup Condition="'$(IncludeSourceFilesInPackage)' == 'true'">
-      <!-- pick up any src our sources directory from packages contributing files -->
-      <_sourcePathCandidate Include="@(FilesToPackage->'$(PackagesDir)\%(NuGetPackageId)\%(NuGetPackageVersion)\sources')" />
-      <_sourcePathCandidate Include="@(FilesToPackage->'$(PackagesDir)\%(NuGetPackageId)\%(NuGetPackageVersion)\src')" />
-      <_sourcePath Include="@(_sourcePathCandidate)" Condition="Exists('%(Identity)')" />
-    </ItemGroup>
-
-    <!-- on windows workaround max-path -->
-    <!-- this can be removed once we build on core MSBuild which supports long paths. -->
-    <ItemGroup Condition="'$(OsEnvironment)'=='Windows_NT'">
-      <!-- choose a shorter path name, excluding package version -->
-      <_shortSourcePath Include="@(_sourcePath->'$(ObjDir.Replace('/', '\'))src-%(NuGetPackageId)')">
-        <Original>%(_sourcePath.FullPath)</Original>
-      </_shortSourcePath>
-      <_sourcePath Remove="@(_sourcePath)" />
-      <_sourcePath Include="@(_shortSourcePath)" />
-    </ItemGroup>
-    <RemoveDir Condition="'@(_shortSourcePath)' != '' AND Exists('%(_shortSourcePath.Identity)')" Directories="%(_shortSourcePath.Identity)" />
-    <Exec Condition="'@(_shortSourcePath)' != ''" Command="mklink /J %(_shortSourcePath.Identity) %(_shortSourcePath.Original)" />
-
-    <ItemGroup>
-      <FilesToPackage Include="%(_sourcePath.Identity)\%2A%2A\%2A.%2A">
-        <TargetPath>src</TargetPath>
-        <IsSourceCodeFile>true</IsSourceCodeFile>
-      </FilesToPackage>
-    </ItemGroup>
-  </Target>
-
-  <Target Name="GetDependenciesToPackage" Condition="'@(DependenciesToPackage)' != ''" DependsOnTargets="ResolveNuGetPackages" Returns="@(_DependenciesToPackageWithVersion)">
-    <ItemGroup>
-      <!-- intersect ReferencedPackage with DependenciesToPackage -->
-      <_DependenciesToPackageWithVersion Include="@(PackageReference)" Condition="'@(PackageReference)' == '@(DependenciesToPackage)' AND '%(Identity)' != ''">
-        <TargetFramework>$(PackageTargetFramework)</TargetFramework>
-      </_DependenciesToPackageWithVersion>
-    </ItemGroup>
-
-    <Message Importance="low" Text="%(_DependenciesToPackageWithVersion.Identity) : %(_DependenciesToPackageWithVersion.Version) : %(_DependenciesToPackageWithVersion.TargetFramework)" />
-  </Target>
-
-  <!-- only calculate paths from this project, don't copy -->
-  <Target Name="Build" DependsOnTargets="GetFilesToPackage" />
-
-  <!-- remove when fixing https://github.com/dotnet/buildtools/issues/1273 -->
-  <Target Name="DetermineRuntimeDependencies" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/packagereferences.msbuild b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/src/packagereferences.msbuild
deleted file mode 100644 (file)
index 2dac326..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dependencies.props))\dependencies.props" />
-
-  <PropertyGroup>
-    <DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
-    <TargetFramework>uap10.1</TargetFramework>
-    <IntermediateOutputPath>$(RestoreOutputPath)</IntermediateOutputPath>
-  </PropertyGroup>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/uapRIDs.props b/src/installer/pkg/projects/Microsoft.NETCore.UniversalWindowsPlatform/uapRIDs.props
deleted file mode 100644 (file)
index f75d0cb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup Condition="'$(PackageRID)' == ''">
-    <PackageRID>win10-$(Platform)</PackageRID>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <OfficialBuildRID Include="win10-x86">
-      <Platform>x86</Platform>
-    </OfficialBuildRID>
-    <OfficialBuildRID Include="win10-x64" />
-    <OfficialBuildRID Include="win10-arm">
-      <Platform>arm</Platform>
-    </OfficialBuildRID>
-    <OfficialBuildRID Include="win10-x86-aot">
-      <BuidOnRID>win10-x86</BuidOnRID>
-      <Platform>x86</Platform>
-    </OfficialBuildRID>
-    <OfficialBuildRID Include="win10-x64-aot">
-      <BuidOnRID>win10-x64</BuidOnRID>
-    </OfficialBuildRID>
-    <OfficialBuildRID Include="win10-arm-aot">
-      <BuidOnRID>win10-arm</BuidOnRID>
-      <Platform>arm</Platform>
-    </OfficialBuildRID>
-  </ItemGroup>
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.builds b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.builds
deleted file mode 100644 (file)
index aa4bfd5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-
-  <ItemGroup>
-    <Project Include="Microsoft.Net.UWPCoreRuntimeSdk.pkgproj" Condition="'$(Platform)' != 'arm64'"/>
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.pkgproj b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/Microsoft.Net.UWPCoreRuntimeSdk.pkgproj
deleted file mode 100644 (file)
index 1630ccb..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-
-  <PropertyGroup>
-    <Version>2.2.0</Version>
-    <OmitDependencies>true</OmitDependencies>
-
-  <!-- Reference runtime packages directly so that MSBuild .props / .targets get imported correctly in VS" -->
-    <IsLineupPackage>false</IsLineupPackage>
-    <IncludeRuntimeJson>false</IncludeRuntimeJson>
-    <ExcludeLineupReference>true</ExcludeLineupReference>
-  </PropertyGroup>
-
-  <!-- Redistributed package content from other nuget packages-->
-  <ItemGroup>
-    <ProjectReference Include="src\Microsoft.Net.UWPCoreRuntimeSdk.depproj">
-      <AdditionalProperties Condition="'$(PackageTargetRuntime)' != ''">NuGetRuntimeIdentifier=$(PackageTargetRuntime)</AdditionalProperties>
-    </ProjectReference>
-  </ItemGroup>
-
-  <!-- Identity / Reference package content -->
-  <ItemGroup Condition="'$(PackageTargetRuntime)' == ''">
-    <File Include="contents\identity\Microsoft.Net.UWPCoreRuntimeSdk.props">
-      <TargetPath>build</TargetPath>
-    </File>
-    <File Include="contents\identity\Microsoft.Net.CoreRuntime.targets">
-      <TargetPath>tools/CoreRuntime</TargetPath>
-    </File>
-  </ItemGroup>
-
-  <!-- Reference runtime packages directly so that MSBuild .props / .targets get imported correctly in VS" -->
-  <Target Name="InjectNuGetDependencyOnRuntimePackages"
-          BeforeTargets="GenerateNuSpec"
-          DependsOnTargets="DetermineRuntimeDependencies"
-          Condition="'$(PackageTargetRuntime)' == ''">
-    <ItemGroup>
-      <Dependency Include="@(RuntimeDependency)">
-        <TargetFramework>$(UAPvNextTFM)</TargetFramework>
-      </Dependency>
-    </ItemGroup>
-  </Target>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.settings.targets.template b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.settings.targets.template
deleted file mode 100644 (file)
index 71ab408..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-***********************************************************************************************
-Microsoft.Net.CoreRuntime.Settings.targets
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-Copyright (C) Microsoft Corporation. All rights reserved.
-***********************************************************************************************
--->
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <_CoreRuntimeVersion>[AppxVersion]</_CoreRuntimeVersion>
-  </PropertyGroup>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.targets b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.CoreRuntime.targets
deleted file mode 100644 (file)
index 6627f0f..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-***********************************************************************************************
-Microsoft.Net.CoreRuntime.targets
-
-WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have
-          created a backup copy.  Incorrect changes to this file will make it
-          impossible to load or build your projects from the command-line or the IDE.
-
-Copyright (C) Microsoft Corporation. All rights reserved.
-***********************************************************************************************
--->
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
-  <!-- Provides a default target platform for finding the ilc.exe version when
-       the project is configured to AnyCPU -->
-  <PropertyGroup>
-    <_PlatformTargetForCoreRuntime Condition="'$(PlatformTarget)'!='AnyCPU'">$(PlatformTarget)</_PlatformTargetForCoreRuntime>
-    <_PlatformTargetForCoreRuntime Condition="'$(PlatformTarget)'=='AnyCPU'">x86</_PlatformTargetForCoreRuntime>
-  </PropertyGroup>
-
-
-  <!--
-       _TargetsCoreRuntime is one of the main flags that decides whether the toolchain needs to kick-in. It implies:
-       - This is a UAP app (including those that are pure C++ or JS)
-       - .NetNativeToolchain is not going to be used (i.e.: the default debug configuration)
-
-       The second flag will narrow the condition further to UAP apps that has some managed code in their dependency closure.
-       (See _AppContainsManagedCodeInItsClosure)
-
-       This flag (_TargetsCoreRuntime) is also being consumed by project system to decide which debugger guid needs to be used,
-       hence if you intend to rename this flag make sure that project system is also updated
-  -->
-
-  <PropertyGroup Condition="'$(AppxPackage)' == 'true' and '$(TargetPlatformIdentifier)' == 'UAP' and '$(UseDotNetNativeToolchain)' != 'true'">
-    <_TargetsCoreRuntime>true</_TargetsCoreRuntime>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <BeforeRunGatekeeperTargets>ComputeWireUpCoreRuntimeGates</BeforeRunGatekeeperTargets>
-    <NetCoreGeneratePrisForPortableLibraries>true</NetCoreGeneratePrisForPortableLibraries>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <_CoreRuntimeMSBuildTaskAssembly>$(MSBuildThisFileDirectory)\Microsoft.Build.Net.CoreRuntimeTask.dll</_CoreRuntimeMSBuildTaskAssembly>
-    <_AppxMSBuildToolsPath Condition="'$(_AppxMSBuildToolsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\AppxPackage\</_AppxMSBuildToolsPath>
-    <_AppxMSBuildTaskAssembly Condition="'$(_AppxMSBuildTaskAssembly)' == ''">$(_AppxMSBuildToolsPath)Microsoft.Build.AppxPackage.dll</_AppxMSBuildTaskAssembly>
-    <CoreRuntimeSDKName>Microsoft.NET.CoreRuntime, Version=$(_CoreRuntimeVersion)</CoreRuntimeSDKName>
-    <VCLibs14SDKName>Microsoft.VCLibs, Version=14.0</VCLibs14SDKName>
-  </PropertyGroup>
-
-  <UsingTask AssemblyFile="$(_CoreRuntimeMSBuildTaskAssembly)" TaskName="Microsoft.Build.Net.CoreRuntimeTask.WireUpCoreRuntime" />
-  <UsingTask AssemblyFile="$(_CoreRuntimeMSBuildTaskAssembly)" TaskName="Microsoft.Build.Net.CoreRuntimeTask.MergePriConfigTask" />
-  <UsingTask AssemblyFile="$(_CoreRuntimeMSBuildTaskAssembly)" TaskName="Microsoft.Build.Net.CoreRuntimeTask.MergeResWFilesTask" />
-  <UsingTask AssemblyFile="$(_CoreRuntimeMSBuildTaskAssembly)" TaskName="Microsoft.Build.Net.CoreRuntimeTask.ResourceHandlingTask" />
-  <UsingTask AssemblyFile="$(_AppxMSBuildTaskAssembly)" TaskName="Microsoft.Build.AppxPackage.GetFrameworkSdkPackages" />
-
-
-  <!-- Adds a <build:Item> tag for OptimizingToolset and TargetRuntime properties
-       WireUpCoreRuntime needs these metadata -->
-
-  <ItemGroup Condition="'$(_TargetsCoreRuntime)'=='true'">
-    <AppxManifestMetadata Include="OptimizingToolset">
-      <Value>None</Value>
-    </AppxManifestMetadata>
-    <AppxManifestMetadata Include="TargetRuntime" Condition="'$(TargetRuntime)'!=''">
-        <Value>$(TargetRuntime)</Value>
-    </AppxManifestMetadata>
-  </ItemGroup>
-
-  <Target Name="ComputeWireUpCoreRuntimeGates"
-          AfterTargets="AfterGenerateAppxManifest">
-    <!--
-         _AppContainsManagedCodeInItsClosure is going to be used as a gate to invoking the toolchain. As name suggests,
-         it implies that the app or one of the dependencies in its closure has managed code in it.
-
-         ASSUMPTION: In deciding whether an unmanaged app has a managed dependency we'll defer to the computation of
-         whether UnionWinMD needs to be included in the PackagingOutputs or not.
-         (See the target _AddUnionWinmd in Microsoft.AppxPackage.Targets)
-         Briefly, UnionWinMD is going to be included if any of the winmds that the app is referencing is managed.
-         So existance of UnionWinMD is being used as an indicator to existance of managed code.
-         This way the cost of computing managed dependency is avoided.
-    -->
-    <ItemGroup>
-      <_UnionMetadataWinMD Include="@(PackagingOutputs)" Condition="'%(Identity)' == '$(_TargetPlatformSdkDir)UnionMetadata\Windows.winmd'" />
-      <_UnionMetadataWinMD Include="@(PackagingOutputs)" Condition="'%(Identity)' == '$(WindowsSDK_UnionMetadataPath)\Windows.winmd'" />
-    </ItemGroup>
-
-    <PropertyGroup Condition="'$(TargetRuntime)' == 'Managed' or '@(_UnionMetadataWinMD)' != ''">
-      <_AppContainsManagedCodeInItsClosure>true</_AppContainsManagedCodeInItsClosure>
-    </PropertyGroup>
-
-    <!--
-         WireUpCoreRuntimeGates is the property that ultimately controls triggering the toolchain. It implies:
-         - This is a UAP app that has some managed code in its dependency closure
-         - .NetNativeToolchain is not going to be used (i.e.: the default debug configuration)
-    -->
-    <PropertyGroup Condition="'$(_TargetsCoreRuntime)' == 'true' and '$(_AppContainsManagedCodeInItsClosure)' == 'true'">
-      <WireUpCoreRuntimeGates>Satisfied</WireUpCoreRuntimeGates>
-    </PropertyGroup>
-  </Target>
-
-  <Target Name="ComputeWireUpCoreRuntimeParameters"
-          DependsOnTargets="ComputeWireUpCoreRuntimeGates"
-          Condition="'$(WireUpCoreRuntimeGates)'=='Satisfied'">
-
-    <!-- Compute the input/output location of the WireUpCoreRuntime-->
-    <PropertyGroup Condition="'$(WireUpCoreRuntimeOutputPath)'==''">
-      <WireUpCoreRuntimeOutputPath>$(OutputPath.TrimEnd('\'))\Core\</WireUpCoreRuntimeOutputPath>
-    </PropertyGroup>
-    <ConvertToAbsolutePath Paths="$(WireUpCoreRuntimeOutputPath)">
-      <Output TaskParameter="AbsolutePaths" PropertyName="_WireUpCoreRuntimeOutputPath"/>
-    </ConvertToAbsolutePath>
-
-    <PropertyGroup>
-      <_WireUpCoreRuntimeExitCode>0</_WireUpCoreRuntimeExitCode>
-      <_WireUpCoreRuntimeTaskExecuted>false</_WireUpCoreRuntimeTaskExecuted>
-    </PropertyGroup>
-
-    <GetInstalledSDKLocations
-           SDKDirectoryRoots="$(SDKReferenceDirectoryRoot)"
-           SDKExtensionDirectoryRoots="$(SDKExtensionDirectoryRoot)"
-           SDKRegistryRoot="$(SDKReferenceRegistryRoot)"
-           TargetPlatformVersion="$(TargetPlatformVersion)"
-           TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
-           Condition="'@(InstalledSDKLocations)' == ''"
-           >
-      <Output TaskParameter="InstalledSDKs" ItemName="InstalledSDKLocations"/>
-    </GetInstalledSDKLocations>
-
-
-    <ItemGroup>
-      <DependencySDKs Include="$(VCLibs14SDKName)" />  <!--UWPShim is built against dev14 CRT-->
-    </ItemGroup>
-
-    <ResolveSDKReference
-      SDKReferences="@(DependencySDKs)"
-      TargetPlatformVersion="$(TargetPlatformVersion)"
-      TargetPlatformIdentifier="$(TargetPlatformIdentifier)"
-      TargetedSDKConfiguration="$(TargetedSDKConfiguration)"
-      TargetedSDKArchitecture="$(TargetedSDKArchitecture)"
-      ProjectName="$(ProjectName)"
-      InstalledSDKs ="@(InstalledSDKLocations)"
-    >
-      <Output TaskParameter="ResolvedSDKReferences" ItemName="ResolvedDependencySDKs"/>
-    </ResolveSDKReference>
-
-    <ItemGroup>
-      <CoreRuntimeSDK Include="@(ResolvedDependencySDKs)" Condition="'%(ResolvedDependencySDKs.SDKName)' == '$(CoreRuntimeSDKName)'" />
-    </ItemGroup>
-
-    <GetFrameworkSdkPackages FrameworkSdkReferences="@(ResolvedDependencySDKs)"
-        TargetPlatformIdentifier="$(TargetPlatformIdentifier)">
-      <Output TaskParameter="FrameworkSdkPackages" ItemName="FrameworkPackageDependencies" />
-    </GetFrameworkSdkPackages>
-
-
-    <ItemGroup>
-      <FrameworkPackagesForTargetArchitecture Include="@(FrameworkPackageDependencies)" Condition="'%(Architecture)' == '$(_PlatformTargetForCoreRuntime)'" />
-    </ItemGroup>
-
-    <PropertyGroup>
-      <!-- Name of manifest file is predefined -->
-      <_AppxManifestXmlFileName>AppxManifest.xml</_AppxManifestXmlFileName>
-      <!-- Expected location of result manifest file where it supposed to be dropped by WireUpCoreRuntime -->
-      <_TransformedAppxManifestXmlFile>$(_WireUpCoreRuntimeOutputPath)$(_AppxManifestXmlFileName)</_TransformedAppxManifestXmlFile>
-
-      <CoreRuntimeSDKLocation Condition="'$(PlatformTarget)' == 'x86'">$(CoreRuntimeSDKRootX86)</CoreRuntimeSDKLocation>
-      <CoreRuntimeSDKLocation Condition="'$(PlatformTarget)' == 'x64'">$(CoreRuntimeSDKRootX64)</CoreRuntimeSDKLocation>
-      <CoreRuntimeSDKLocation Condition="'$(PlatformTarget)' == 'arm'">$(CoreRuntimeSDKRootArm)</CoreRuntimeSDKLocation>
-    </PropertyGroup>
-  </Target>
-
-  <Target Name="_GetLibrariesToGeneratePrisForUWPApps"
-          BeforeTargets="_GeneratePrisForPortableLibraries"
-          Condition="'$(TargetPlatformIdentifier)'=='UAP'">
-
-        <ItemGroup>
-          <_FullAppLibrariesUnfiltered Include="@(PackagingOutputs)" Condition="'%(Extension)' == '.dll'" />
-        </ItemGroup>
-
-        <ConvertToAbsolutePath Paths="$(IntermediateOutputPath)">
-          <Output TaskParameter="AbsolutePaths" PropertyName="ResWOutputFullPath"/>
-        </ConvertToAbsolutePath>
-
-        <PropertyGroup Condition="'$(SkipMergingFrameworkResources)' == ''">
-          <!--
-            When building ProjectN apps in retail mode we need to skip including the framework resources in the app because we optimize the exception stack
-            and we use the resource keys instead of the exception messages.
-          -->
-          <SkipMergingFrameworkResources Condition="'$(_ProjectNToolchainEnabled)'=='true' And '$(Optimize)'=='true' And '$(EnableNetNativeDeveloperExperienceMode)'!='true'">true</SkipMergingFrameworkResources>
-          <SkipMergingFrameworkResources Condition="'$(SkipMergingFrameworkResources)' == ''">false</SkipMergingFrameworkResources>
-        </PropertyGroup>
-
-        <ResourceHandlingTask
-          AssemblyList="@(_FullAppLibrariesUnfiltered)"
-          OutResWPath="$(ResWOutputFullPath)"
-          SkipFrameworkResources="$(SkipMergingFrameworkResources)"
-          StateFile="$(ResWOutputFullPath.TrimEnd('\'))\ResourceHandlingTask.state">
-
-          <!--
-              Explicitly using CreatedResWFiles and _LibrariesUnfiltered item group
-              names because we are feeding them into the existing item groups that are
-              used as part of _GeneratePrisForPortableLibraries.
-          -->
-          <Output TaskParameter="ReswFileList" ItemName="CreatedResWFiles"/>
-          <Output TaskParameter="UnprocessedAssemblyList" ItemName="_LibrariesUnfiltered"/>
-        </ResourceHandlingTask>
-        <ItemGroup>
-          <FileWrites Include="$(ResWOutputFullPath.TrimEnd('\'))\ResourceHandlingTask.state" />
-          <FileWrites Include="@(CreatedResWFiles)" />
-        </ItemGroup>
-  </Target>
-
-  <!-- We will always inject the CLR from the framework SDK, so remove it if it was contributed through NuGet -->
-  <Target Name="FilterCoreRuntimePayloadFromNuGet" AfterTargets="ResolveReferences" DependsOnTargets="ResolveNuGetPackageAssets" Condition="'$(ResolveNuGetPackages)' == 'true' AND '$(_TargetsCoreRuntime)' == 'true'">
-    <PropertyGroup>
-      <_CoreRuntimePackageId Condition="'%(ReferenceCopyLocalPaths.FileName)%(ReferenceCopyLocalPaths.Extension)' == 'System.Private.CoreLib.dll' OR '%(ReferenceCopyLocalPaths.FileName)%(ReferenceCopyLocalPaths.Extension)' == 'System.Private.CoreLib.ni.dll'">%(ReferenceCopyLocalPaths.NuGetPackageId)</_CoreRuntimePackageId>
-    </PropertyGroup>
-    <ItemGroup>
-      <ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="'$(UseAppLocalCoreCLR)' != 'true' AND '%(ReferenceCopyLocalPaths.NuGetPackageId)' == '$(_CoreRuntimePackageId)' AND '$(_CoreRuntimePackageId)' != ''"/>
-    </ItemGroup>
-  </Target>
-
-  <!-- Wire up the CoreRuntime -->
-  <Target Name="_WireUpCoreRuntime"
-          Inputs="@(AppxPackagePayload);@(FinalAppxManifest);@(MSBuildAllProjects)"
-          Outputs="$(_TransformedAppxManifestXmlFile)"
-          DependsOnTargets="ComputeWireUpCoreRuntimeParameters"
-          AfterTargets="ComputeWireUpCoreRuntimeGates"
-          Condition="'$(WireUpCoreRuntimeGates)'=='Satisfied'">
-
-
-    <CreateProperty Value="true">
-      <Output PropertyName="_WireUpCoreRuntimeTaskExecuted" TaskParameter="ValueSetByTask"/>
-    </CreateProperty>
-
-    <WireUpCoreRuntime
-        AppxManifest="@(FinalAppxManifest)"
-        AppxPackagePayload="@(AppxPackagePayload)"
-        OutputPath="$(_WireUpCoreRuntimeOutputPath.TrimEnd('\'))"
-        TargetRuntime="$(TargetRuntime)"
-        TargetArch="$(_PlatformTargetForCoreRuntime)"
-        FrameworkPackages="@(FrameworkPackagesForTargetArchitecture)"
-        CoreRuntimeSDKLocation="$(CoreRuntimeSDKLocation)"
-        CopyWin32ResourcesLocation="$(CopyWin32ResourcesX86Path)"
-    >
-      <Output TaskParameter="ErrorCode" PropertyName="_WireUpCoreRuntimeExitCode"/>
-      <Output TaskParameter="FrameworkPackagesNeedsToBeDeployed" PropertyName="FrameworkPackagesNeedsToBeDeployed" />
-      <Output TaskParameter="TransformedAppxPackagePayload" ItemName="_TransformedAppxPackagePayload" />
-    </WireUpCoreRuntime>
-
-    <!-- Record output files as file writes -->
-    <ItemGroup>
-      <FileWrites Include="$(_WireUpCoreRuntimeOutputPath)**\*"/>
-    </ItemGroup>
-
-    <ItemGroup Condition="'$(_WireUpCoreRuntimeTaskExecuted)' == 'true'">
-      <FrameworkSdkPackage Include="@(FrameworkPackageDependencies)" Condition="'$(FrameworkPackagesNeedsToBeDeployed)'=='true'" />
-    </ItemGroup>
-
-    <ItemGroup Condition="'$(_WireUpCoreRuntimeTaskExecuted)' == 'true'">
-      <AppxPackagePayload Remove="@(AppxPackagePayload)" />
-      <AppxPackagePayload Include="@(_TransformedAppxPackagePayload)" />
-    </ItemGroup>
-
-    <ItemGroup Condition="'$(_WireUpCoreRuntimeTaskExecuted)' == 'true' and Exists('$(_TransformedAppxManifestXmlFile)')">
-      <FinalAppxManifest Remove="@(FinalAppxManifest)"/>
-      <FinalAppxManifest Include="$(_TransformedAppxManifestXmlFile)" />
-    </ItemGroup>
-
-    <PropertyGroup>
-      <_WireUpCoreRuntimeMsg>WireUpCoreRuntime has encountered an error</_WireUpCoreRuntimeMsg>
-    </PropertyGroup>
-
-    <Error Condition="'$(_WireUpCoreRuntimeExitCode)' &gt; 0" Text="$(_WireUpCoreRuntimeMsg)" />
-  </Target>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.UWPCoreRuntimeSdk.props b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/identity/Microsoft.Net.UWPCoreRuntimeSdk.props
deleted file mode 100644 (file)
index c5db11a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <NetfxCoreRuntimeTargets>$(MSBuildThisFileDirectory)..\tools\CoreRuntime\Microsoft.Net.CoreRuntime.targets</NetfxCoreRuntimeTargets>
-    <NetfxCoreRuntimeSettingsTargets>$(MSBuildThisFileDirectory)..\tools\CoreRuntime\Microsoft.Net.CoreRuntime.settings.targets</NetfxCoreRuntimeSettingsTargets>
-  </PropertyGroup>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.props.template b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.props.template
deleted file mode 100644 (file)
index 22b0d4f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <CoreRuntimeSDKRoot[AppxBuildArch]>$(MSBuildThisFileDirectory)..\tools</CoreRuntimeSDKRoot[AppxBuildArch]>
-    <CopyWin32Resources[AppxBuildArch]Path>$(MSBuildThisFileDirectory)..\tools\CoreRuntime\copywin32resources.exe</CopyWin32Resources[AppxBuildArch]Path>
-  </PropertyGroup>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.targets.template b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/contents/rid-templates/Microsoft.Net.UWPCoreRuntimeSdk.targets.template
deleted file mode 100644 (file)
index 255ba05..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <ItemGroup>
-    <AppxPackageRegistration
-        Include="$(MSBuildThisFileDirectory)..\tools\Appx\[AppxDisplayName].appx"
-        Condition="'$(_TargetsCoreRuntime)' == 'true'">
-        <Architecture>[AppxBuildArch]</Architecture>
-        <Version>[AppxVersion]</Version>
-        <Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
-    </AppxPackageRegistration>
-    <DesignTimeAppxPackageRegistration
-        Include="$(MSBuildThisFileDirectory)..\tools\Appx\[AppxDisplayName].appx">
-        <Architecture>[AppxBuildArch]</Architecture>
-        <Version>[AppxVersion]</Version>
-        <Publisher>'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'</Publisher>
-    </DesignTimeAppxPackageRegistration>
-  </ItemGroup>
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/dir.props b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/dir.props
deleted file mode 100644 (file)
index dfa0c82..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <RIDPropsFile>$(MSBuildThisFileDirectory)\uwpcoreruntimesdkRIDs.props</RIDPropsFile>
-  </PropertyGroup>
-  <Import Project="..\dir.props" />
-</Project>
\ No newline at end of file
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.builds b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.builds
deleted file mode 100644 (file)
index f0350d3..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup>
-    <BuildOnUnknownPlatforms>false</BuildOnUnknownPlatforms>
-  </PropertyGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-
-  <ItemGroup>
-    <Project Include="Microsoft.Net.UWPCoreRuntimeSdk.depproj" Condition="'$(Platform)' != 'arm64'" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.depproj b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/src/Microsoft.Net.UWPCoreRuntimeSdk.depproj
deleted file mode 100644 (file)
index c9b2c6a..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <!-- we intentionally don't want to produce output -->
-    <OutputPath>unused</OutputPath>
-    <!-- we don't want any analyzers by ResolveNuGetPackageAssets 
-         null-refs when this isn't set and an analyzer is in the packages -->
-    <Language>unused</Language>
-    <NuGetTargetMoniker>$(UAPvNextTFMFull)</NuGetTargetMoniker>
-    <NuGetTargetMonikerShort>$(UAPvNextTFM)</NuGetTargetMonikerShort>
-    <PackageTargetFramework>$(UAPvNextTFM)</PackageTargetFramework>
-    <ContainsPackageReferences>false</ContainsPackageReferences>
-    <RidSpecificAssets Condition="'$(NuGetRuntimeIdentifier)' != ''">true</RidSpecificAssets>
-    <IntermediateOutputPath>$(IntermediateOutputPath)$(NuGetRuntimeIdentifier)</IntermediateOutputPath>
-    <RestoreOutputPath>$(IntermediateOutputPath)</RestoreOutputPath>
-    <CoreRuntimeSettingsTemplate>$(MSBuildProjectDirectory)\..\contents\identity\Microsoft.Net.CoreRuntime.settings.targets.template</CoreRuntimeSettingsTemplate>
-    <CoreRuntimeSettings>$(IntermediateOutputPath)Microsoft.Net.CoreRuntime.settings.targets</CoreRuntimeSettings>
-
-    <AppxDisplayName>Microsoft.NET.CoreRuntime.$(MajorVersion).$(MinorVersion)</AppxDisplayName>
-    <BuildVersionAppX>$([System.Int32]::Parse($(BuildNumberMajor)))</BuildVersionAppX>
-    <RevisionVersionAppX>$([System.Int32]::Parse($(BuildNumberMinor)))</RevisionVersionAppX>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <RidPackageTransformations Include="$(MSBuildProjectDirectory)\..\contents\rid-templates\Microsoft.Net.UWPCoreRuntimeSdk.props.template">
-      <OutputPath>$(IntermediateOutputPath)runtime.$(NuGetRuntimeIdentifier).Microsoft.Net.UWPCoreRuntimeSdk.props</OutputPath>
-    </RidPackageTransformations>
-    <RidPackageTransformations Include="$(MSBuildProjectDirectory)\..\contents\rid-templates\Microsoft.Net.UWPCoreRuntimeSdk.targets.template">
-      <OutputPath>$(IntermediateOutputPath)runtime.$(NuGetRuntimeIdentifier).Microsoft.Net.UWPCoreRuntimeSdk.targets</OutputPath>
-    </RidPackageTransformations>
-
-    <ProjectReference Include="..\..\Microsoft.Net.CoreRuntime\Microsoft.Net.CoreRuntime.depproj" />
-  </ItemGroup>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-
-  <Target Name="GenerateCoreRuntimeSettingsFromTemplate"
-          BeforeTargets="GetFilesToPackage"
-          Inputs="$(CoreRuntimeSettingsTemplate)"
-          Outputs="$(CoreRuntimeSettings)"
-          Condition="'$(PackageTargetRuntime)' == ''">
-    <MakeDir Directories="$(IntermediateOutputPath)" />
-    <WriteLinesToFile File="$(CoreRuntimeSettings)"
-                      Lines="$([System.IO.File]::ReadAllText($(CoreRuntimeSettingsTemplate)).Replace('[AppxVersion]',$(MajorVersion).$(MinorVersion)))"
-                      Overwrite="true" />
-    <ItemGroup>
-      <FileWrites Include="$(CoreRuntimeSettings)" />
-    </ItemGroup>
-  </Target>
-
-  <Target Name="GenerateRidPackageTargetsFromTemplate"
-          BeforeTargets="GetFilesToPackage"
-          Inputs="@(RidPackageTransformations)"
-          Outputs="@(RidPackageTransformations -> %(OutputPath)')"
-          Condition="'$(PackageTargetRuntime)' != ''">
-    <MakeDir Directories="$(IntermediateOutputPath)" />
-    <WriteLinesToFile File="%(RidPackageTransformations.OutputPath)"
-                      Lines="$([System.IO.File]::ReadAllText(%(RidPackageTransformations.FullPath)).Replace('[AppxBuildArch]',$(Platform)).Replace('[AppxVersion]',$(MajorVersion).$(MinorVersion).$(BuildVersionAppX).$(RevisionVersionAppX)).Replace('[AppxDisplayName]',$(AppxDisplayName)))"
-                      Overwrite="true" />
-    <ItemGroup>
-      <FileWrites Include="@(RidPackageTransformations -> %(OutputPath)')" />
-    </ItemGroup>
-  </Target>
-
-  <Target Name="GetFilesToPackage" AfterTargets="Build" Returns="@(FilesToPackage)">
-    <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' == ''">
-      <FilesToPackage Include="$(CoreRuntimeSettings)">
-        <TargetPath>tools/CoreRuntime</TargetPath>
-      </FilesToPackage>
-      <FilesToPackage Include="$(CoreRuntimeTaskDir)\*.dll">
-        <TargetPath>tools/CoreRuntime</TargetPath>
-      </FilesToPackage>
-    </ItemGroup>
-    <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' != ''">
-      <!-- RID-specific: include targets files generated per runtime package -->
-      <FilesToPackage Include="$(IntermediateOutputPath)\*.props">
-        <TargetPath>build</TargetPath>
-      </FilesToPackage>
-      <FilesToPackage Include="$(IntermediateOutputPath)\*.targets">
-        <TargetPath>build</TargetPath>
-      </FilesToPackage>
-      <!-- RID-specific: include all runtime files -->
-      <FilesToPackage Include="$(UWPOutputDir)\copywin32resources.exe">
-        <TargetPath>tools/CoreRuntime</TargetPath>
-      </FilesToPackage>
-      <FilesToPackage Include="$(UWPOutputDir)\uwpshim.exe">
-        <TargetPath>tools/AppLocal</TargetPath>
-      </FilesToPackage>
-      <FilesToPackage Include="$(UWPOutputDir)\consoleuwpshim.exe">
-        <TargetPath>tools/AppLocal</TargetPath>
-      </FilesToPackage>
-      <FilesToPackage Include="$(MicrosoftNetCoreRuntimeAppxOutputPath)">
-        <TargetPath>tools/Appx</TargetPath>
-      </FilesToPackage>
-    </ItemGroup>
-  </Target>
-  <!-- only calculate paths from this project, don't copy -->
-  <Target Name="Build" />
-  
-  <!-- remove when fixing https://github.com/dotnet/buildtools/issues/1273 -->
-  <Target Name="DetermineRuntimeDependencies" />
-</Project>
diff --git a/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/uwpcoreruntimesdkRIDs.props b/src/installer/pkg/projects/Microsoft.Net.UWPCoreRuntimeSdk/uwpcoreruntimesdkRIDs.props
deleted file mode 100644 (file)
index c9b0f76..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <PropertyGroup Condition="'$(PackageRID)' == ''">
-    <PackageRID>win10-$(Platform)</PackageRID>
-  </PropertyGroup>
-
-  <ItemGroup>
-    <OfficialBuildRID Include="win10-x86">
-      <Platform>x86</Platform>
-    </OfficialBuildRID>
-    <OfficialBuildRID Include="win10-x64"/>
-    <OfficialBuildRID Include="win10-arm">
-      <Platform>arm</Platform>
-    </OfficialBuildRID>
-  </ItemGroup>
-</Project>
index abb3522..c32928a 100644 (file)
         "Name": "Microsoft.NETCore.App",
         "Description": "A set of .NET API's that are included in the default .NET Core application model.",
         "CommonTypes": [ ]
-    },
-    {
-        "Name": "Microsoft.NETCore.UniversalWindowsPlatform",
-        "Description": "Provides a set of packages that can be used when building Universal Windows applications on .NETCore.",
-        "CommonTypes": [ ]
-    },
-    {
-        "Name": "Microsoft.Net.UWPCoreRuntimeSdk",
-        "Description": "Provides the CoreCLR runtime and build tools to build and run Universal Windows applications using CoreCLR.",
-        "CommonTypes": [ ]
-    },
+    }
 ]
index 904cda1..c5cf5a5 100644 (file)
@@ -29,9 +29,6 @@
     <RuntimePackageFile Include="$(PackageOutputPath)**/runtime.*.nupkg" >
       <RelativeBlobPath>$(BinariesRelativePath)</RelativeBlobPath>
     </RuntimePackageFile>
-    <UWPArtifactsToUpload Include="$(MicrosoftNetCoreRuntimeAppxOutputPath)" Condition="Exists('$(MicrosoftNetCoreRuntimeAppxOutputPath)')" >
-      <RelativeBlobPath>$(BinariesRelativePath)</RelativeBlobPath>
-    </UWPArtifactsToUpload>
     <RidAgnosticPackageFile Include="$(PackageOutputPath)**/*.nupkg" Exclude="@(RuntimePackageFile)" >
       <RelativeBlobPath>$(BinariesRelativePath)</RelativeBlobPath>
     </RidAgnosticPackageFile>
index ea8b98c..6abd260 100644 (file)
@@ -7,7 +7,6 @@
     <ItemGroup>
       <PublishFile Include="@(CompressedFile)" />
       <PublishFile Include="@(RuntimePackageFile)" />
-      <PublishFile Include="@(UWPArtifactsToUpload)" />
       <PublishFile Condition="'$(PublishRidAgnosticPackages)' == 'true'" Include="@(RidAgnosticPackageFile)" />
       <Project Include="publish.proj">
         <PublishTarget>UploadToAzure</PublishTarget>
index 1cca5b2..7a0b0da 100644 (file)
                    Channel="$(Channel)"
                    Version="$(SharedFrameworkNugetVersion)"
                    SharedFrameworkNugetVersion="$(SharedFrameworkNugetVersion)"
-                   UWPCoreRuntimeSdkFullVersion="$(UWPCoreRuntimeSdkFullVersion)"
                    SharedHostNuGetVersion="$(HostVersion)"
                    ProductVersion="$(ProductVersion)"
                    CommitHash="$(LatestCommit)"
                    Channel="$(Channel)"
                    Version="$(SharedFrameworkNugetVersion)"
                    SharedFrameworkNugetVersion="$(SharedFrameworkNugetVersion)"
-                   UWPCoreRuntimeSdkFullVersion="$(UWPCoreRuntimeSdkFullVersion)"
                    SharedHostNuGetVersion="$(HostVersion)"
                    ProductVersion="$(ProductVersion)"
                    CommitHash="$(LatestCommit)"
index d3fa859..a415cea 100644 (file)
@@ -5,10 +5,5 @@
     <BinInspectBaselineFile Include=".%2A\\apphost\.exe" />
     <!-- wixstdba is internal to the engine bundle and does not get signed -->
     <BinInspectBaselineFile Include=".%2A\\wixstdba\.dll" />
-    <!--
-        Baseline Microsoft.NET.CoreRuntime.#.#.appx we place in Microsoft.Net.UWPCoreRuntimeSdk.2.1.0-preview1-25429-03.nupkg.
-        BinInspect cannot handle .appx files. The contents of the Appx in this case are signed CoreCLR binaries.
-    -->
-    <BinInspectBaselineFile Include=".%2A\\Microsoft.NET.CoreRuntime\..%2A\.appx" />
   </ItemGroup>
 </Project>
\ No newline at end of file
index 925ae26..fecb4a8 100644 (file)
       <FilesToSign Include="$(OutDir)corehost/**/dotnet.exe">
         <Authenticode>$(CertificateId)</Authenticode>
       </FilesToSign>
-      <FilesToSign Include="$(OutDir)Microsoft.Build.Net.CoreRuntimeTask/**/Microsoft.Build.Net.CoreRuntimeTask.dll">
-        <Authenticode>$(CertificateId)</Authenticode>
-        <StrongName>StrongName</StrongName>
-      </FilesToSign>
     </ItemGroup>
 
     <ItemGroup>
       </FilesToSign>
     </ItemGroup>
 
-    <ItemGroup>
-      <FilesToSign Include="$(UWPOutputDir)*.dll">
-        <Authenticode>$(CertificateId)</Authenticode>
-      </FilesToSign>
-      <FilesToSign Include="$(UWPOutputDir)*.exe">
-        <Authenticode>$(CertificateId)</Authenticode>
-      </FilesToSign>
-    </ItemGroup>
     <Error Condition="'@(FilesToSign)' == ''" Text="There are no files to sign. FilesToSign group is empty."/>
   </Target>
 
-  <Target Name="SignAppxFiles" Condition="'$(SignType)' == 'real'" DependsOnTargets="GetSignAppxFiles">
-    <CallTarget Targets="SignFiles" />
-  </Target>
-  
-  <Target Name="GetSignAppxFiles">
-    <ItemGroup>
-      <FilesToSign Include="$(UWPOutputDir)*.appx">
-        <Authenticode>Appx</Authenticode>
-      </FilesToSign>
-    </ItemGroup>
-    <Error Condition="'@(FilesToSign)' == '' AND '$(Platform)' != 'arm64'" Text="There are no files to sign. FilesToSign group is empty."/>
-  </Target>
-
   <Target Name="SignMsiAndCab" Condition="'$(SignType)' == 'real'" DependsOnTargets="GetSignMsiAndCabFiles">
     <CallTarget Targets="SignFiles" />
   </Target>
index eb2dd99..f1a5bd9 100644 (file)
@@ -9,9 +9,7 @@
 
   <ItemGroup>
     <Project Include="$(MSBuildThisFileDirectory)corehost/build.proj" />
-    <Project Include="$(MSBuildThisFileDirectory)uwp/build.proj" Condition="'$(_BuildUwpDependencies)' == 'true'"/>
     <Project Include="$(MSBuildThisFileDirectory)managed/dir.proj" />
-    <Project Include="$(MSBuildThisFileDirectory)pkg/appx/**/*.builds" Condition="'$(_BuildUwpDependencies)' == 'true' and '$(BuildAppx)' != 'false'" />
     <Project Include="$(MSBuildThisFileDirectory)pkg/**/src/*.builds" />
   </ItemGroup>
 
diff --git a/src/installer/uwp/CMakeLists.txt b/src/installer/uwp/CMakeLists.txt
deleted file mode 100644 (file)
index 7586cb4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright (c) .NET Foundation and contributors. All rights reserved.
-# Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-include(../settings.cmake)
-
-add_definitions(-DUNICODE)
-add_definitions(-D_UNICODE)
-add_subdirectory(Host)
-add_subdirectory(CopyWin32Resources)
diff --git a/src/installer/uwp/CopyWin32Resources/CMakeLists.txt b/src/installer/uwp/CopyWin32Resources/CMakeLists.txt
deleted file mode 100644 (file)
index ee91176..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-include_directories("${CLI_CMAKE_RESOURCE_DIR}/copywin32resources")
-
-add_compile_options(/MT)
-
-
-add_executable(CopyWin32Resources
-  CopyWin32Resources.cpp
-  native.rc
-)
-
-target_link_libraries(CopyWin32Resources
-  imagehlp.lib
-)
-
-install(FILES $<TARGET_FILE:CopyWin32Resources> DESTINATION .)
\ No newline at end of file
diff --git a/src/installer/uwp/CopyWin32Resources/CopyWin32Resources.cpp b/src/installer/uwp/CopyWin32Resources/CopyWin32Resources.cpp
deleted file mode 100644 (file)
index 85f4552..0000000
+++ /dev/null
@@ -1,313 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <windows.h>
-#include <Strsafe.h>
-#include <String.h>
-#include <wchar.h>
-#include <Imagehlp.h>
-#include <new>
-
-// Declare callback functions.
-BOOL EnumTypesFunc(
-    HMODULE hModule,
-    _In_z_ LPTSTR lpType,
-    LONG_PTR lParam);
-
-BOOL EnumNamesFunc(
-    HMODULE hModule,
-    _In_z_ LPCTSTR lpType,
-    _In_z_ LPTSTR lpName,
-    LONG_PTR lParam);
-
-BOOL EnumLangsFunc(
-    HMODULE hModule,
-    _In_z_ LPCTSTR lpType,
-    _In_z_ LPCTSTR lpName,
-    WORD wLang,
-    LONG_PTR lParam);
-
-const wchar_t* input_format  = L"/input:";
-const wchar_t* output_format = L"/output:";
-const size_t input_format_size  = wcslen(input_format);
-const size_t output_format_size = wcslen(output_format);
-
-enum ACTION {
-    eInsert,
-    eRemove,
-};
-
-typedef struct {
-    HANDLE handle;
-    ACTION action;
-} EnumResourceCallbackParam, *pEnumResourceCallbackParam;
-
-
-int CopyWin32Resources(_In_z_ LPWSTR inputFile, _In_z_ LPWSTR destFile);
-
-
-int __cdecl wmain(int argc, _In_reads_(argc) wchar_t* argv[])
-{
-    wprintf(L"Copyright (c) Microsoft Corporation.  All rights reserved.");
-    wchar_t *copyFrom = 0, *copyTo = 0;
-
-    while (--argc)
-    {
-        argv++;
-        if (!wcsncmp(*argv, input_format, input_format_size))
-        {
-            copyFrom = *argv + input_format_size;
-        }
-        else if (!wcsncmp(*argv, output_format, output_format_size))
-        {
-            copyTo = *argv + output_format_size;
-        }
-        else
-        {
-            return 90;
-        }
-    }
-
-    return CopyWin32Resources(copyFrom, copyTo);
-}
-
-int DeleteCertificates(_In_z_ LPWSTR fileName)
-{
-    HANDLE hFile = CreateFile(fileName,
-            FILE_GENERIC_READ | FILE_GENERIC_WRITE,
-            0, 
-            NULL,
-            OPEN_EXISTING,
-            0, 
-            NULL
-            );
-
-    if (hFile == INVALID_HANDLE_VALUE)
-    {
-        return 701;
-    }
-
-    DWORD certificateCount;
-    DWORD *certificateIndices;
-
-    if (!ImageEnumerateCertificates(hFile,
-                                    CERT_SECTION_TYPE_ANY,
-                                    &certificateCount,
-                                    NULL,
-                                    0
-                                    )) 
-    {
-        CloseHandle(hFile);
-        return 702;
-    }
-
-    if (certificateCount == 0)
-    {
-        CloseHandle(hFile);
-        return 0;
-    }
-    certificateIndices = new (std::nothrow) DWORD[certificateCount];
-
-    if (certificateIndices == NULL)
-    {
-        CloseHandle(hFile);
-        return 703;
-    }
-    
-    ImageEnumerateCertificates(hFile,
-                               CERT_SECTION_TYPE_ANY,
-                               &certificateCount,
-                               certificateIndices,
-                               certificateCount
-                               );
-
-    if (certificateCount == 0)
-    {
-        CloseHandle(hFile);
-        return 704;
-    }
-
-    for (DWORD i=0; i<certificateCount; i++)
-    {
-        if (!ImageRemoveCertificate(hFile, certificateIndices[i])) 
-        {
-            CloseHandle(hFile);
-            return 705;
-        }
-    }
-
-    CloseHandle(hFile);
-
-    return 0;
-}
-
-int CopyWin32Resources(_In_z_ LPWSTR inputFile, _In_z_ LPWSTR destFile)
-{
-    if (!inputFile)
-    {
-        return 100;
-    }
-
-    if (!destFile)
-    {
-        return 100;
-    }
-
-    int deleteCertificatesResult = DeleteCertificates(destFile);
-    if (deleteCertificatesResult != 0)
-    {
-        return deleteCertificatesResult;
-    }
-
-    PVOID resData;
-    ULONG resDataSize;
-
-    HMODULE hModuleToReadResourcesFrom = LoadLibraryEx(inputFile, NULL, LOAD_LIBRARY_AS_DATAFILE);
-    if (hModuleToReadResourcesFrom == NULL)
-    {
-        return 200;
-    }
-
-    HMODULE hModuleToInsertResourcesInto = LoadLibraryEx(destFile, NULL, LOAD_LIBRARY_AS_DATAFILE);
-    if (hModuleToInsertResourcesInto == NULL)
-    {
-        return 201;
-    }
-
-    // Open the file to which you want to add the  resource.
-    HANDLE hUpdateRes = BeginUpdateResource(destFile, FALSE);
-    if (hUpdateRes == NULL)
-    {
-        return 300;
-    }
-
-    EnumResourceCallbackParam insertionParam;
-    insertionParam.handle = hUpdateRes;
-    insertionParam.action = eInsert;
-
-    EnumResourceCallbackParam cleanupParam;
-    cleanupParam.handle = hUpdateRes;
-    cleanupParam.action = eRemove;
-
-    if (!EnumResourceTypes(hModuleToInsertResourcesInto, // module handle
-            (ENUMRESTYPEPROC)EnumTypesFunc,  // callback function
-            (LONG_PTR)&cleanupParam) // callback function parameter
-        )
-    {
-        return 400;
-    }
-
-    if (!EnumResourceTypes(hModuleToReadResourcesFrom,  // module handle
-            (ENUMRESTYPEPROC)EnumTypesFunc,  // callback function
-            (LONG_PTR)&insertionParam) // callback function parameter
-        )
-    {
-        return 401;
-    }
-
-    if (!FreeLibrary(hModuleToInsertResourcesInto))
-    {
-        return 601;
-    }
-
-    if (!EndUpdateResource(hUpdateRes, FALSE))
-    {
-        return 500;
-    }
-
-    // Clean up.
-    if (!FreeLibrary(hModuleToReadResourcesFrom))
-    {
-        return 600;
-    }
-
-    return 0;
-}
-
-BOOL EnumTypesFunc(
-    HMODULE hModule,  // module handle
-    _In_z_ LPTSTR lpType,    // address of resource type
-    LONG_PTR lParam)      // extra parameter, could be
-    // used for error checking
-{
-
-    // Find the names of all resources of type lpType.
-    return EnumResourceNames(hModule,
-        lpType,
-        (ENUMRESNAMEPROC)EnumNamesFunc,
-        lParam);
-
-}
-
-//    PURPOSE:  Resource name callback
-BOOL EnumNamesFunc(
-    HMODULE hModule,  // module handle
-    _In_z_ LPCTSTR lpType,   // address of resource type
-    _In_z_ LPTSTR lpName,    // address of resource name
-    LONG_PTR lParam)      // extra parameter, could be
-    // used for error checking
-{
-
-    // Find the languages of all resources of type
-    // lpType and name lpName.
-    return EnumResourceLanguages(hModule,
-        lpType,
-        lpName,
-        (ENUMRESLANGPROC)EnumLangsFunc,
-        lParam);
-
-}
-
-//    PURPOSE:  Resource language callback
-BOOL EnumLangsFunc(
-    HMODULE hModule, // module handle
-    _In_z_ LPCTSTR lpType,  // address of resource type
-    _In_z_ LPCTSTR lpName,  // address of resource name
-    WORD wLang,      // resource language
-    LONG_PTR lParam)     // extra parameter, could be
-    // used for error checking
-{
-
-
-    HRSRC hRes;         // handle/ptr. to res. info. in hModule
-    LPVOID lpResLock = NULL;   // pointer to resource data
-    BOOL result;
-
-    pEnumResourceCallbackParam pCallbackParam = (pEnumResourceCallbackParam) lParam;
-
-    hRes = FindResourceEx(hModule, lpType, lpName, wLang);
-    HGLOBAL hResLoad = LoadResource(hModule, hRes);
-    if (hResLoad == NULL)
-    {
-        return FALSE;
-    }
-
-    if (pCallbackParam->action == eInsert)
-    {
-        // Lock the resource box into global memory.
-        lpResLock = LockResource(hResLoad);
-        if (lpResLock == NULL)
-        {
-            return FALSE;
-        }
-    }
-
-
-    result = UpdateResource(pCallbackParam->handle, // update resource handle
-        lpType,
-        lpName,
-        wLang,
-        lpResLock, // ptr to resource info
-        (pCallbackParam->action == eRemove) ? 0 : SizeofResource(hModule, hRes) // size of resource info
-        );       
-
-    if (result == FALSE)
-    {
-        return FALSE;
-    }
-    return TRUE;
-}
diff --git a/src/installer/uwp/CopyWin32Resources/native.rc b/src/installer/uwp/CopyWin32Resources/native.rc
deleted file mode 100644 (file)
index 62aa395..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "version_info.h"
-
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION     VER_FILEVERSION
-PRODUCTVERSION  VER_PRODUCTVERSION
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
-FILEFLAGS       VER_DEBUG
-FILEOS          VOS__WINDOWS32
-FILETYPE        VFT_DLL
-FILESUBTYPE     VFT2_UNKNOWN
-BEGIN
-    BLOCK "StringFileInfo"
-    BEGIN
-        BLOCK "040904E4"
-        BEGIN
-            VALUE "CompanyName",      VER_COMPANYNAME_STR
-            VALUE "FileDescription",  VER_FILEDESCRIPTION_STR
-            VALUE "FileVersion",      VER_FILEVERSION_STR
-            VALUE "InternalName",     VER_INTERNALNAME_STR
-            VALUE "LegalCopyright",   VER_LEGALCOPYRIGHT_STR
-            VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
-            VALUE "ProductName",      VER_PRODUCTNAME_STR
-            VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
-        END
-    END
-
-    BLOCK "VarFileInfo"
-    BEGIN
-        /* The following line should only be modified for localized versions.     */
-        /* It consists of any number of WORD,WORD pairs, with each pair           */
-        /* describing a language,codepage combination supported by the file.      */
-        /*                                                                        */
-        /* For example, a file might have values "0x409,1252" indicating that it  */
-        /* supports English language (0x409) in the Windows ANSI codepage (1252). */
-
-        VALUE "Translation", 0x409, 1252
-
-    END
-END
-
diff --git a/src/installer/uwp/Host/CMakeLists.txt b/src/installer/uwp/Host/CMakeLists.txt
deleted file mode 100644 (file)
index a91f09f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(UWPHost)
diff --git a/src/installer/uwp/Host/UWPHost/CMakeLists.txt b/src/installer/uwp/Host/UWPHost/CMakeLists.txt
deleted file mode 100644 (file)
index 59a1007..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-include_directories("${CLI_CMAKE_RESOURCE_DIR}/uwphost")
-
-add_compile_options(/MT)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-set(UWPHost_SOURCES 
-    UWPHost.cpp 
-    HostEnvironment.cpp
-    UWPHost.def
-)
-
-set(UWPHost_RESOURCES native.rc)
-
-add_library(UWPHost
-  SHARED
-  ${UWPHost_SOURCES}
-  ${UWPHost_RESOURCES}
-)
-
-target_link_libraries(UWPHost
-    onecore.lib
-)
-
-install(TARGETS UWPHost RUNTIME DESTINATION .)
diff --git a/src/installer/uwp/Host/UWPHost/HostEnvironment.cpp b/src/installer/uwp/Host/UWPHost/HostEnvironment.cpp
deleted file mode 100644 (file)
index b464245..0000000
+++ /dev/null
@@ -1,251 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-
-//
-// CoreCLR Host that is used in activating CoreCLR in 
-// UWP apps' F5/development time scenarios
-//
-
-#include "windows.h"
-#include "HostEnvironment.h"
-
-// This should ideally come from WINDOWS SDK header but is missing in earlier versions
-#ifndef PACKAGE_FILTER_IS_IN_RELATED_SET 
-#define PACKAGE_FILTER_IS_IN_RELATED_SET 0x40000
-#endif
-
-
-HRESULT HostEnvironment::TryLoadCoreCLR() {
-
-    m_coreCLRModule = ::LoadLibraryEx(coreCLRDll, NULL, 0);
-    if (!m_coreCLRModule) {
-        return HRESULT_FROM_WIN32(GetLastError());
-    }
-
-    // Pin the module - CoreCLR.dll does not support being unloaded.
-    // N.B.: HostEnvironment is not calling ::FreeLibrary on this loaded module since we're pinning it anyway.
-    // If unloading CoreCLR is ever supported and the pinning below is to be removed please make sure that 
-    // the ::FreeLibrary is called appropriately.
-    HMODULE dummy_coreCLRModule;
-    if (!::GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_PIN, coreCLRDll, &dummy_coreCLRModule)) 
-    {
-        return HRESULT_FROM_WIN32(GetLastError());
-    }
-
-    if (!GetModuleFileNameW(m_coreCLRModule, m_coreCLRInstallDirectory, MAX_PATH))
-    {
-        return HRESULT_FROM_WIN32(GetLastError());
-    }
-    // Find out where the last backslash is, and trim the path to get the directory containing coreclr.dll
-    wchar_t *lastBackSlash = wcsrchr(m_coreCLRInstallDirectory, L'\\');
-    if (lastBackSlash != nullptr)
-    {
-        *(lastBackSlash+1) = L'\0';
-    }
-    else
-    {
-        memset(m_coreCLRInstallDirectory, 0, MAX_PATH * sizeof(wchar_t)); 
-        return E_FAIL;
-    }
-
-    return S_OK;
-}
-
-
-HRESULT HostEnvironment::Initialize()
-{
-    HRESULT hr = S_OK;
-    // 
-    // Get the package root. 
-    // This is also our check for the App to be an AppX app.
-    // TODO: Not all AppX apps are UWP apps. Add validation for UWP apps.
-    //
-    UINT32 length = 0;
-    LONG rc = GetCurrentPackagePath(&length, NULL);
-    if (rc != ERROR_INSUFFICIENT_BUFFER)
-    {
-        return HRESULT_FROM_WIN32(rc);
-    }
-
-    m_packageRoot = (PWSTR) malloc(length * sizeof(*m_packageRoot));
-    if (m_packageRoot == NULL)
-    {
-        return E_FAIL;
-    }
-
-    // Get the actual path to the package root from the path to the current module.
-    rc = GetCurrentPackagePath(&length, m_packageRoot);
-    IfFailWin32Ret(rc);
-
-    m_fIsAppXPackage = true;
-
-    //
-    // Query the package full name
-    //
-    length = 0;
-    rc = GetCurrentPackageFullName(&length, NULL);
-    if (rc != ERROR_INSUFFICIENT_BUFFER)
-    {
-        return HRESULT_FROM_WIN32(rc);
-    }
-
-    m_currentPackageFullName = (PWSTR) malloc(length * sizeof(*m_currentPackageFullName));
-    if (m_currentPackageFullName == NULL)
-    {
-        return HRESULT_FROM_WIN32(rc);
-    }
-
-    rc = GetCurrentPackageFullName(&length, m_currentPackageFullName);
-    IfFailWin32Ret(rc);
-    
-    // Try to load CoreCLR
-    IfFailRet(TryLoadCoreCLR());
-
-
-    PACKAGE_INFO_REFERENCE packageInfoReference = {0};
-    rc = OpenPackageInfoByFullName(m_currentPackageFullName, 0 , &packageInfoReference);
-    IfFailWin32Ret(rc);
-
-    length = 0;
-    rc = GetPackageInfo(packageInfoReference, PACKAGE_FILTER_DIRECT|PACKAGE_FILTER_IS_IN_RELATED_SET, &length, NULL, &m_dependentPackagesCount);
-    IfFalseWin32Goto(rc == ERROR_INSUFFICIENT_BUFFER, rc, ErrExit2);
-
-    BYTE* buffer = (BYTE *) malloc(length);
-    IfFalseGoto(buffer != NULL, E_FAIL, ErrExit2);
-
-    m_dependentPackagesRootPaths = (wchar_t**) malloc(m_dependentPackagesCount * sizeof(wchar_t*));
-    IfFalseGo(m_dependentPackagesRootPaths != NULL, E_FAIL);
-    memset(m_dependentPackagesRootPaths, 0, m_dependentPackagesCount * sizeof(wchar_t*));
-
-    rc = GetPackageInfo(packageInfoReference, PACKAGE_FILTER_DIRECT|PACKAGE_FILTER_IS_IN_RELATED_SET, &length, buffer, &m_dependentPackagesCount);
-    IfFailWin32Go(rc);
-
-    const PACKAGE_INFO *packageInfo = (PACKAGE_INFO *) buffer;
-    for (UINT32 i=0; i<m_dependentPackagesCount; i++, ++packageInfo)
-    {
-        length = 0;
-        rc = GetPackagePathByFullName(packageInfo->packageFullName, &length, NULL);
-        IfFalseWin32Go(rc == ERROR_INSUFFICIENT_BUFFER, rc);
-        
-        // +1 below is to append a '\' at the end of the string if it's not already ending with one.
-        m_dependentPackagesRootPaths[i] = (wchar_t*) malloc((length+1) * sizeof(wchar_t));
-        IfFalseGo(m_dependentPackagesRootPaths[i] != NULL, E_FAIL);
-
-        rc = GetPackagePathByFullName(packageInfo->packageFullName, &length, m_dependentPackagesRootPaths[i]);
-        IfFailWin32Go(rc);
-
-        // Note: length includes the null-terminator. So the last char is at index (length-2)
-        wchar_t* lastBackslash = wcsrchr(m_dependentPackagesRootPaths[i], L'\\');
-        if ((lastBackslash != nullptr) && ((UINT32)(lastBackslash - m_dependentPackagesRootPaths[i] + 1) != length - 2))
-        {
-            wcsncat_s(m_dependentPackagesRootPaths[i], length+1, L"\\", 1);
-        }
-    }
-
-
-    return S_OK;
-
-ErrExit:
-    free(buffer);
-ErrExit2:
-    ClosePackageInfo(packageInfoReference);
-    return hr;
-}
-
-HostEnvironment::HostEnvironment() 
-    : m_CLRRuntimeHost(nullptr), m_coreCLRModule(NULL), m_fIsAppXPackage(false), 
-      m_dependentPackagesRootPaths(NULL), m_dependentPackagesCount(0)
-{
-}
-
-HostEnvironment::~HostEnvironment() 
-{
-    if (m_packageRoot)
-    {
-        free(m_packageRoot);
-        m_packageRoot = NULL;
-    }
-    if (m_dependentPackagesCount > 0 && m_dependentPackagesRootPaths != NULL)
-    {
-        for (UINT32 i=0;i<m_dependentPackagesCount;i++)
-        {
-            if (m_dependentPackagesRootPaths[i] != NULL)
-                free(m_dependentPackagesRootPaths[i]);
-        }
-        free(m_dependentPackagesRootPaths);
-    }
-
-
-    if (m_currentPackageFullName)
-    {
-        free(m_currentPackageFullName);
-        m_currentPackageFullName = NULL;
-    }
-}
-
-void HostEnvironment::InitializeTPAList(_In_reads_(tpaEntriesCount) wchar_t** tpaEntries, int tpaEntriesCount)
-{
-    wchar_t assemblyPath[MAX_PATH];
-    wchar_t *targetPath = GetCoreCLRInstallPath();
-    const size_t dirLength = wcslen(targetPath);
-    
-    for (int i= 0; i < tpaEntriesCount; i++)
-    {
-        wcscpy_s(assemblyPath, MAX_PATH, targetPath);
-
-        wchar_t* const fileNameBuffer = assemblyPath + dirLength;
-        const size_t fileNameBufferSize = MAX_PATH - dirLength;
-
-        wcscat_s(assemblyPath, tpaEntries[i]);
-        
-        WIN32_FIND_DATA data;
-        HANDLE findHandle = FindFirstFile(assemblyPath, &data);
-        if (findHandle != INVALID_HANDLE_VALUE) {
-            do {
-                if (!(data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
-                    wchar_t* fileName = data.cFileName;
-                    const size_t fileLength = wcslen(data.cFileName);
-                    
-                    m_tpaList.Append(targetPath, dirLength);
-                    m_tpaList.Append(fileName, fileLength);
-                    m_tpaList.Append(L";", 1);
-                }
-            } while (0 != FindNextFile(findHandle, &data));
-
-            FindClose(findHandle);
-        }
-    }
-}
-
-// Returns the ICLRRuntimeHost2 instance, loading it from CoreCLR.dll if necessary, or nullptr on failure.
-ICLRRuntimeHost2* HostEnvironment::GetCLRRuntimeHost(HRESULT &hResult) {
-    if (!m_CLRRuntimeHost) {
-
-        if (!m_coreCLRModule) {
-            hResult = E_FAIL;
-            return nullptr;
-        }
-
-        FnGetCLRRuntimeHost pfnGetCLRRuntimeHost = 
-            (FnGetCLRRuntimeHost)::GetProcAddress(m_coreCLRModule, "GetCLRRuntimeHost");
-        if (!pfnGetCLRRuntimeHost) {
-            hResult = E_INVALIDARG;
-            return nullptr;
-        }
-
-        HRESULT hr = pfnGetCLRRuntimeHost(IID_ICLRRuntimeHost2, (IUnknown**)&m_CLRRuntimeHost);
-        if (FAILED(hr)) {
-            hResult = hr;
-            return nullptr;
-        }
-    }
-
-    hResult = S_OK;
-    return m_CLRRuntimeHost;
-}
-
-
-
diff --git a/src/installer/uwp/Host/UWPHost/HostEnvironment.h b/src/installer/uwp/Host/UWPHost/HostEnvironment.h
deleted file mode 100644 (file)
index 0663ddd..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-
-//
-// CoreCLR Host that is used in activating CoreCLR in 
-// UWP apps' F5/development time scenarios
-//
-
-#ifndef __HOSTENVIRONMENT_H__
-#define __HOSTENVIRONMENT_H__
-
-#include <stdio.h>
-#include "mscoree.h"
-#include "appmodel.h"
-#ifdef _DEBUG
-#include "assert.h"
-#define _ASSERTE assert
-#endif
-
-// Some useful macros
-#ifndef IfFailGoto
-#define IfFailGoto(EXPR, LABEL) \
-do { hr = (EXPR); if(FAILED(hr)) { goto LABEL; } } while (0)
-#endif
-
-#ifndef IfFailRet
-#define IfFailRet(EXPR) \
-do { hr = (EXPR); if(FAILED(hr)) { return (hr); } } while (0)
-#endif
-
-#ifndef IfFailWin32Ret
-#define IfFailWin32Ret(EXPR) \
-do { hr = (EXPR); if(hr != ERROR_SUCCESS) { hr = HRESULT_FROM_WIN32(hr); return hr;} } while (0)
-#endif
-
-#ifndef IfFailWin32Goto
-#define IfFailWin32Goto(EXPR, LABEL) \
-do { hr = (EXPR); if(hr != ERROR_SUCCESS) { hr = HRESULT_FROM_WIN32(hr);  goto LABEL; } } while (0)
-#endif
-
-#ifndef IfFalseWin32Goto
-#define IfFalseWin32Goto(EXPR1, EXPR2, LABEL) \
-do { if (TRUE != (EXPR1)) { IfFailWin32Goto(EXPR2, LABEL); } } while (0)
-#endif
-
-#ifndef IfFalseGoto
-#define IfFalseGoto(EXPR1, EXPR2, LABEL) \
-do { if (TRUE != (EXPR1)) { IfFailGoto(EXPR2, LABEL); } } while (0)
-#endif
-
-#ifndef IfFailGo
-#define IfFailGo(EXPR) IfFailGoto(EXPR, ErrExit)
-#endif
-
-#ifndef IfFailWin32Go
-#define IfFailWin32Go(EXPR) IfFailWin32Goto(EXPR, ErrExit)
-#endif
-
-#ifndef IfFalseWin32Go
-#define IfFalseWin32Go(EXPR1, EXPR2) IfFalseWin32Goto(EXPR1, EXPR2, ErrExit)
-#endif
-
-#ifndef IfFalseGo
-#define IfFalseGo(EXPR1, EXPR2) IfFalseGoto(EXPR1, EXPR2, ErrExit)
-#endif
-// ----
-
-
-// The name of the CoreCLR native runtime DLL.
-static wchar_t *coreCLRDll = L"CoreCLR.dll";
-#ifdef _DEBUG
-static wchar_t *coreRuntimePackageFullNamePrefix = L"Microsoft.NET.CoreRuntime";
-#endif
-
-// Dynamically expanding string buffer to hold TPA list
-class StringBuffer {
-    wchar_t* m_buffer;
-    size_t m_capacity;
-    size_t m_length;
-
-    StringBuffer(const StringBuffer&);
-    StringBuffer& operator =(const StringBuffer&);
-
-public:
-    StringBuffer() : m_capacity(0), m_buffer(0), m_length(0) {
-    }
-
-    ~StringBuffer() {
-        delete[] m_buffer;
-    }
-
-    const wchar_t* CStr() const {
-        return m_buffer;
-    }
-
-    void Append(const wchar_t* str, size_t strLen) {
-        if (!m_buffer) {
-            m_buffer = new wchar_t[4096];
-            m_capacity = 4096;
-        }
-        if (m_length + strLen + 1 > m_capacity) {
-            size_t newCapacity = m_capacity * 2;
-            wchar_t* newBuffer = new wchar_t[newCapacity];
-            wcsncpy_s(newBuffer, newCapacity, m_buffer, m_length);
-            delete[] m_buffer;
-            m_buffer = newBuffer;
-            m_capacity = newCapacity;
-        }
-        wcsncpy_s(m_buffer + m_length, m_capacity - m_length, str, strLen);
-        m_length += strLen;
-    }
-};
-
-
-class HostEnvironment
-{
-
-private:
-
-
-    StringBuffer m_tpaList;
-
-    StringBuffer m_appPaths;
-    wchar_t** m_dependentPackagesRootPaths;
-    UINT32 m_dependentPackagesCount;
-
-    ICLRRuntimeHost2* m_CLRRuntimeHost;
-
-    HMODULE m_coreCLRModule;
-
-    bool m_fIsAppXPackage;
-    
-    // AppX package path
-    wchar_t * m_packageRoot;
-    
-    wchar_t *m_currentPackageFullName;
-    wchar_t  m_coreCLRInstallDirectory[MAX_PATH];
-                
-    // Attempts to load CoreCLR.dll 
-    // On success pins the dll and returns the HMODULE.
-    // On failure returns nullptr.
-    HRESULT TryLoadCoreCLR();
-
-    void InitializeTPAList(_In_reads_(tpaEntriesCount) wchar_t** tpaEntries, int tpaEntriesCount);
-public:    
-
-    HRESULT Initialize();
-
-    bool CanDebugUWPApps()
-    {
-        // Combine with development mode flag
-        return m_fIsAppXPackage /* && m_fIsInDevelopmentMode */;
-    }
-    
-    bool IsCoreCLRLoaded()
-    {
-        return (m_coreCLRModule != NULL);
-    }
-    
-    PWSTR GetPackageRoot()
-    {
-        return m_packageRoot;
-    }
-    
-    wchar_t* GetCoreCLRInstallPath()
-    {
-        return m_coreCLRInstallDirectory;
-    }
-    
-
-    HostEnvironment();
-
-    ~HostEnvironment();
-
-    // Returns the semicolon-separated list of paths to runtime dlls that are considered trusted.
-    // On first call, scans the coreclr directory for dlls and adds them all to the list.
-    const wchar_t * GetTpaList() 
-    {
-        if (!m_tpaList.CStr()) 
-        {
-            wchar_t *tpaEntries[] = {L"System.Private.CoreLib.dll"};
-            InitializeTPAList(tpaEntries, _countof(tpaEntries));
-        }
-
-        return m_tpaList.CStr();
-    }
-
-    const wchar_t * GetAppPaths() 
-    {
-        if (!m_appPaths.CStr())
-        {
-            m_appPaths.Append(m_packageRoot, wcslen(m_packageRoot));
-            m_appPaths.Append(L"\\entrypoint;", wcslen(L"\\entrypoint;"));
-            m_appPaths.Append(m_packageRoot, wcslen(m_packageRoot));
-            m_appPaths.Append(L";",1);
-            for (UINT32 i=0;i<m_dependentPackagesCount;i++)
-            {
-                m_appPaths.Append(m_dependentPackagesRootPaths[i], wcslen(m_dependentPackagesRootPaths[i]));
-                m_appPaths.Append(L";",1);
-            }
-        }
-        return m_appPaths.CStr();
-    }
-
-    ICLRRuntimeHost2* GetCLRRuntimeHost(HRESULT &hResult);
-};
-    
-
-
-
-#endif // __HOSTENVIRONMENT_H__
diff --git a/src/installer/uwp/Host/UWPHost/UWPHost.cpp b/src/installer/uwp/Host/UWPHost/UWPHost.cpp
deleted file mode 100644 (file)
index 8307b2a..0000000
+++ /dev/null
@@ -1,260 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-
-//
-// A simple CoreCLR host that runs on CoreSystem.
-//
-
-#include "windows.h"
-#include <HString.h>
-#include <WinString.h>
-#include "UWPHost.h"
-
-const DWORD DefaultADID = 1;
-
-bool UWPHost::m_Inited = false;
-CRITICAL_SECTION UWPHost::m_critSec;
-
-extern "C" BOOLEAN WINAPI DllMain(HINSTANCE hDllHandle, DWORD nReason, LPVOID Reserved)
-{
-    switch (nReason)
-    {
-        case DLL_PROCESS_ATTACH:
-            InitializeCriticalSection(&UWPHost::m_critSec);
-            break;
-        case DLL_PROCESS_DETACH:
-            DeleteCriticalSection(&UWPHost::m_critSec);
-            break;
-    }
-    return TRUE;
-}
-
-class CritSecHolder
-{
-private:
-    CRITICAL_SECTION* value;
-public:
-    CritSecHolder(CRITICAL_SECTION* data)
-    {
-        value = data;
-        EnterCriticalSection(value);
-    }
-    ~CritSecHolder()
-    {
-        LeaveCriticalSection(value);
-    }
-};
-
-HRESULT UWPHost::LoadAndStartCoreCLRRuntime()
-{
-    HRESULT hr = S_OK;
-    HostEnvironment hostEnvironment;
-
-    IfFailRet(hostEnvironment.Initialize());
-
-    if (!hostEnvironment.CanDebugUWPApps())
-    {
-        return E_FAIL;
-    }
-
-    if (!hostEnvironment.IsCoreCLRLoaded())
-    {
-        return E_FAIL;
-    }
-
-    // 
-    // Setup arguments for the runtime
-    //
-
-    wchar_t *appPath = (wchar_t *)hostEnvironment.GetPackageRoot();
-    wchar_t *appPaths = (wchar_t *)hostEnvironment.GetAppPaths();
-
-    // Construct native search directory paths
-    StringBuffer sbNativeDllSearchDirs;
-    wchar_t * coreCLRInstallPath = hostEnvironment.GetCoreCLRInstallPath();
-    sbNativeDllSearchDirs.Append(coreCLRInstallPath, wcslen(coreCLRInstallPath));
-    sbNativeDllSearchDirs.Append(L";", 1);
-    sbNativeDllSearchDirs.Append(appPaths, wcslen(appPaths));
-    const wchar_t *nativeDllSearchDirs = sbNativeDllSearchDirs.CStr();
-
-    // Check for app local WinMetadata
-    wchar_t appLocalWinMetadata[MAX_PATH] = L"";
-    wcscpy_s(appLocalWinMetadata, appPath);
-    wcscat_s(appLocalWinMetadata, MAX_PATH, L"\\WinMetadata");
-    DWORD dwFileAttributes = ::GetFileAttributes(appLocalWinMetadata);
-    bool appLocalWinMetadataExists = dwFileAttributes != INVALID_FILE_ATTRIBUTES && (dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
-    if (!appLocalWinMetadataExists)
-    {
-        memset(appLocalWinMetadata,0,MAX_PATH*sizeof(wchar_t));
-    }
-
-    // Start the CoreCLR
-    m_CLRRuntimeHost = hostEnvironment.GetCLRRuntimeHost(hr);
-    if (!m_CLRRuntimeHost) {
-        return hr;
-    }
-
-    {
-        CritSecHolder guard(&UWPHost::m_critSec);
-        if(m_Inited)
-        {
-            return hr;                
-        }
-
-        // Default startup flags
-        hr = m_CLRRuntimeHost->SetStartupFlags((STARTUP_FLAGS)
-            (STARTUP_FLAGS::STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN | 
-            STARTUP_FLAGS::STARTUP_SINGLE_APPDOMAIN|
-            STARTUP_FLAGS::STARTUP_CONCURRENT_GC|
-            STARTUP_FLAGS::STARTUP_APPX_APP_MODEL)
-            ); 
-
-        // 
-        // Authenticate with either
-        // CORECLR_HOST_AUTHENTICATION_KEY  or
-        // CORECLR_HOST_AUTHENTICATION_KEY_NONGEN  
-        //
-        IfFailRet(m_CLRRuntimeHost->Authenticate(CORECLR_HOST_AUTHENTICATION_KEY)); 
-
-        IfFailRet(m_CLRRuntimeHost->Start());
-
-        //-------------------------------------------------------------
-    
-        // Create an AppDomain
-        //
-        // Allowed property names:
-        // APPBASE
-        // - The base path of the application from which the exe and other assemblies will be loaded
-        //
-        // TRUSTED_PLATFORM_ASSEMBLIES
-        // - The list of complete paths to each of the fully trusted assemblies
-        //
-        // APP_PATHS
-        // - The list of paths which will be probed by the assembly loader
-        //
-        // NATIVE_DLL_SEARCH_DIRECTORIES
-        // - The list of paths that will be probed for native DLLs called by PInvoke
-        //
-        // APP_NI_PATHS
-        // - The list of paths which will be probed for NGEN images by the assembly loader
-        //
-        // PLATFORM_RESOURCE_ROOTS
-        // - The list of paths which will be probed for loading the satellite assemblies
-        //
-        // APP_LOCAL_WINMETADATA
-        // - The path where the app-local .winmd file can be found.
-        //
-        // N.B.: that we're not passing APP_NI_PATHS, since UWP F5 is not expected to have native images and 
-        // relying on the following **ASSUMPTION**:
-        // fallback is supposed to have the native images in the app package root, 
-        // and as with the same assembly file name of the IL image
-        // 
-        const wchar_t *property_keys[] = { 
-            L"TRUSTED_PLATFORM_ASSEMBLIES",
-            L"APP_PATHS",
-            L"NATIVE_DLL_SEARCH_DIRECTORIES",
-            L"APP_LOCAL_WINMETADATA"
-        };
-        const wchar_t *property_values[] = { 
-            // TRUSTED_PLATFORM_ASSEMBLIES
-            hostEnvironment.GetTpaList(),
-            // APP_PATHS
-            appPaths,
-            // NATIVE_DLL_SEARCH_DIRECTORIES
-            nativeDllSearchDirs,
-            // APP_LOCAL_WINMETADATA
-            appLocalWinMetadata
-        };
-
-
-        DWORD domainId;
-
-        hr = m_CLRRuntimeHost->CreateAppDomainWithManager(
-            L"CoreCLR_UWP_Domain",   // The friendly name of the AppDomain
-            // Flags:
-            // APPDOMAIN_ENABLE_PLATFORM_SPECIFIC_APPS
-            // - By default CoreCLR only allows platform neutral assembly to be run. To allow
-            //   assemblies marked as platform specific, include this flag
-            //
-            // APPDOMAIN_ENABLE_PINVOKE_AND_CLASSIC_COMINTEROP
-            // - Allows sandboxed applications to make P/Invoke calls and use COM interop
-            //
-            // APPDOMAIN_SECURITY_SANDBOXED
-            // - Enables sandboxing. If not set, the app is considered full trust
-            //
-            // APPDOMAIN_IGNORE_UNHANDLED_EXCEPTION
-            // - Prevents the application from being torn down if a managed exception is unhandled
-            //
-            APPDOMAIN_ENABLE_PLATFORM_SPECIFIC_APPS | 
-            APPDOMAIN_ENABLE_PINVOKE_AND_CLASSIC_COMINTEROP |
-            APPDOMAIN_DISABLE_TRANSPARENCY_ENFORCEMENT,
-            NULL,                // Name of the assembly that contains the AppDomainManager implementation
-            NULL,                    // The AppDomainManager implementation type name
-            sizeof(property_keys)/sizeof(wchar_t*),  // The number of properties
-            property_keys,
-            property_values,
-            &domainId);
-    
-        IfFailRet(hr);
-        m_Inited = true;
-    }
-    return hr;
-} // End of UWPHost::LoadAndStartCoreCLRRuntime()
-
-
-HRESULT ExecuteAssembly(_In_z_ wchar_t *entryPointAssemblyFileName, int argc, LPCWSTR* pArgv, DWORD *pExitCode)
-{
-
-    HRESULT hr = S_OK;
-    
-    UWPHost uwpHost;
-    IfFailRet(uwpHost.LoadAndStartCoreCLRRuntime());
-    
-    DWORD domainId;
-    ICLRRuntimeHost2 *host = uwpHost.GetCLRRuntimeHost();
-    IfFailGo(host->GetCurrentAppDomainId(&domainId));
-
-    // Execute the assembly in question
-    IfFailGo(host->ExecuteAssembly(domainId, entryPointAssemblyFileName, argc, pArgv, pExitCode));
-
-    // Unload the AppDomain
-    hr = host->UnloadAppDomain(
-        domainId, 
-        true);                          // Wait until done
-
-    IfFailGo(hr);
-
-    // Stop the runtime
-    hr = host->Stop();
-    // Release the reference to the host
-    host->Release();
-
-    return hr;
-ErrExit:
-    if (host != nullptr)
-    {
-        host->Stop();
-        host->Release();
-    }
-    return hr;
-}
-
-HRESULT STDMETHODCALLTYPE DllGetActivationFactory(HSTRING activatableClassId, IActivationFactory** ppFactory)
-{
-    HRESULT hr = S_OK;
-    UWPHost uwpHost;
-    hr = uwpHost.LoadAndStartCoreCLRRuntime();
-    if (FAILED(hr) && (hr != HOST_E_INVALIDOPERATION))
-    {
-        return hr;
-    }
-
-    ICLRRuntimeHost2 *host = uwpHost.GetCLRRuntimeHost();
-    hr = host->DllGetActivationFactory(DefaultADID, WindowsGetStringRawBuffer(activatableClassId,NULL), ppFactory);
-    host->Release();
-
-    return hr;
-}
diff --git a/src/installer/uwp/Host/UWPHost/UWPHost.def b/src/installer/uwp/Host/UWPHost/UWPHost.def
deleted file mode 100644 (file)
index a45ade4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-; ==++==
-;
-;   Copyright (c) Microsoft Corporation.  All rights reserved.
-;   Licensed under the MIT license. See LICENSE file in the project root for full license information.
-; ==--==
-LIBRARY UWPHOST
-EXPORTS
-    DllGetActivationFactory
-    ExecuteAssembly
diff --git a/src/installer/uwp/Host/UWPHost/UWPHost.h b/src/installer/uwp/Host/UWPHost/UWPHost.h
deleted file mode 100644 (file)
index f144170..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-
-//
-// Base class for UWP hosts WinRT and Exe hosts
-//
-#ifndef __UWPHOST_H__
-#define __UWPHOST_H__
-#include "HostEnvironment.h"
-#include "corerror.h"
-
-class UWPHost
-{
-private:
-    ICLRRuntimeHost2* m_CLRRuntimeHost;
-public:
-    static bool m_Inited;
-    static CRITICAL_SECTION m_critSec;
-
-    UWPHost()
-    : m_CLRRuntimeHost(nullptr)
-    {};
-
-    ICLRRuntimeHost2* GetCLRRuntimeHost()
-    {
-        return m_CLRRuntimeHost;
-    }
-
-    HRESULT LoadAndStartCoreCLRRuntime();
-};
-
-
-#endif // __UWPHOST_H__
diff --git a/src/installer/uwp/Host/UWPHost/corerror.h b/src/installer/uwp/Host/UWPHost/corerror.h
deleted file mode 100644 (file)
index d4d4495..0000000
+++ /dev/null
@@ -1,1250 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-#ifndef __COMMON_LANGUAGE_RUNTIME_HRESULTS__
-#define __COMMON_LANGUAGE_RUNTIME_HRESULTS__
-
-#include <winerror.h>
-
-
-//
-//This file is AutoGenerated -- Do Not Edit by hand!!!
-//
-//Add new HRESULTS along with their corresponding error messages to
-//corerror.xml
-//
-
-#ifndef FACILITY_URT
-#define FACILITY_URT            0x13
-#endif
-#ifndef EMAKEHR
-#define SMAKEHR(val) MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_URT, val)
-#define EMAKEHR(val) MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val)
-#endif
-
-#define CLDB_S_TRUNCATION SMAKEHR(0x1106)
-#define CLDB_S_NULL SMAKEHR(0x1109)
-#define CLDB_S_INDEX_TABLESCANREQUIRED SMAKEHR(0x1125)
-#define TLBX_I_TYPEINFO_IMPORTED SMAKEHR(0x116c)
-#define TLBX_I_PIA_REGISTERED_FOR_TLB SMAKEHR(0x116d)
-#define TLBX_I_AGNOSTIC_ASSEMBLY SMAKEHR(0x116e)
-#define TLBX_I_USEIUNKNOWN SMAKEHR(0x116f)
-#define TLBX_I_UNCONVERTABLE_ARGS SMAKEHR(0x1170)
-#define TLBX_I_UNCONVERTABLE_FIELD SMAKEHR(0x1171)
-#define TLBX_W_WARNING_MESSAGE SMAKEHR(0x1173)
-#define TLBX_W_ASSEMBLY_HAS_EMBEDDED_TLB SMAKEHR(0x1174)
-#define TLBX_W_CROSS_COMPILE_NO_REFS SMAKEHR(0x1175)
-#define TLBX_W_PURE_CROSS_COMPILE SMAKEHR(0x1176)
-#define TLBX_I_TYPE_EXPORTED SMAKEHR(0x1179)
-#define TLBX_I_DUPLICATE_DISPID SMAKEHR(0x117a)
-#define TLBX_I_REF_TYPE_AS_STRUCT SMAKEHR(0x117c)
-#define TLBX_I_GENERIC_TYPE SMAKEHR(0x117f)
-#define TLBX_W_NON_INTEGRAL_CA_TYPE SMAKEHR(0x1184)
-#define TLBX_W_IENUM_CA_ON_IUNK SMAKEHR(0x1185)
-#define META_S_PARAM_MISMATCH SMAKEHR(0x1189)
-#define META_S_DUPLICATE SMAKEHR(0x1197)
-#define TLBX_S_REFERENCED_TYPELIB SMAKEHR(0x11ac)
-#define TLBX_S_NOSTDINTERFACE SMAKEHR(0x11b3)
-#define TLBX_S_DUPLICATE_DISPID SMAKEHR(0x11b4)
-#define TLBX_W_ENUM_VALUE_TOOBIG SMAKEHR(0x11d5)
-#define TLBX_W_EXPORTING_AUTO_LAYOUT SMAKEHR(0x11d9)
-#define TLBX_W_DEFAULT_INTF_NOT_VISIBLE SMAKEHR(0x11db)
-#define TLBX_W_BAD_SAFEARRAYFIELD_NO_ELEMENTVT SMAKEHR(0x11de)
-#define TLBX_W_LAYOUTCLASS_AS_INTERFACE SMAKEHR(0x11df)
-#define TLBX_I_GENERIC_BASE_TYPE SMAKEHR(0x11e0)
-#define VLDTR_S_WRN SMAKEHR(0x1200)
-#define VLDTR_S_ERR SMAKEHR(0x1201)
-#define VLDTR_S_WRNERR SMAKEHR(0x1202)
-#define CORDBG_S_BAD_START_SEQUENCE_POINT SMAKEHR(0x130b)
-#define CORDBG_S_BAD_END_SEQUENCE_POINT SMAKEHR(0x130c)
-#define CORDBG_S_INSUFFICIENT_INFO_FOR_SET_IP SMAKEHR(0x130d)
-#define CORDBG_S_FUNC_EVAL_HAS_NO_RESULT SMAKEHR(0x1316)
-#define CORDBG_S_VALUE_POINTS_TO_VOID SMAKEHR(0x1317)
-#define CORDBG_S_FUNC_EVAL_ABORTED SMAKEHR(0x1319)
-#define CORDBG_S_AT_END_OF_STACK SMAKEHR(0x1324)
-#define CORDBG_S_NOT_ALL_BITS_SET SMAKEHR(0x1c13)
-#define CEE_E_ENTRYPOINT EMAKEHR(0x1000)
-#define CEE_E_CVTRES_NOT_FOUND EMAKEHR(0x1001)
-#define MSEE_E_LOADLIBFAILED EMAKEHR(0x1010)
-#define MSEE_E_GETPROCFAILED EMAKEHR(0x1011)
-#define MSEE_E_MULTCOPIESLOADED EMAKEHR(0x1012)
-#define COR_E_TYPEUNLOADED EMAKEHR(0x1013)
-#define COR_E_APPDOMAINUNLOADED EMAKEHR(0x1014)
-#define COR_E_CANNOTUNLOADAPPDOMAIN EMAKEHR(0x1015)
-#define MSEE_E_ASSEMBLYLOADINPROGRESS EMAKEHR(0x1016)
-#define MSEE_E_CANNOTCREATEAPPDOMAIN EMAKEHR(0x1017)
-#define COR_E_ASSEMBLYEXPECTED EMAKEHR(0x1018)
-#define COR_E_FIXUPSINEXE EMAKEHR(0x1019)
-#define COR_E_NO_LOADLIBRARY_ALLOWED EMAKEHR(0x101a)
-#define COR_E_NEWER_RUNTIME EMAKEHR(0x101b)
-#define COR_E_CANNOT_SET_POLICY EMAKEHR(0x101c)
-#define COR_E_CANNOT_SPECIFY_EVIDENCE EMAKEHR(0x101d)
-#define COR_E_MULTIMODULEASSEMBLIESDIALLOWED EMAKEHR(0x101e)
-#define HOST_E_DEADLOCK EMAKEHR(0x1020)
-#define HOST_E_INTERRUPTED EMAKEHR(0x1021)
-#define HOST_E_INVALIDOPERATION EMAKEHR(0x1022)
-#define HOST_E_CLRNOTAVAILABLE EMAKEHR(0x1023)
-#define HOST_E_TIMEOUT EMAKEHR(0x1024)
-#define HOST_E_NOT_OWNER EMAKEHR(0x1025)
-#define HOST_E_ABANDONED EMAKEHR(0x1026)
-#define HOST_E_EXITPROCESS_THREADABORT EMAKEHR(0x1027)
-#define HOST_E_EXITPROCESS_ADUNLOAD EMAKEHR(0x1028)
-#define HOST_E_EXITPROCESS_TIMEOUT EMAKEHR(0x1029)
-#define HOST_E_EXITPROCESS_OUTOFMEMORY EMAKEHR(0x102a)
-#define HOST_E_EXITPROCESS_STACKOVERFLOW EMAKEHR(0x102b)
-#define COR_E_MODULE_HASH_CHECK_FAILED EMAKEHR(0x1039)
-#define FUSION_E_REF_DEF_MISMATCH EMAKEHR(0x1040)
-#define FUSION_E_INVALID_PRIVATE_ASM_LOCATION EMAKEHR(0x1041)
-#define FUSION_E_ASM_MODULE_MISSING EMAKEHR(0x1042)
-#define FUSION_E_UNEXPECTED_MODULE_FOUND EMAKEHR(0x1043)
-#define FUSION_E_PRIVATE_ASM_DISALLOWED EMAKEHR(0x1044)
-#define FUSION_E_SIGNATURE_CHECK_FAILED EMAKEHR(0x1045)
-#define FUSION_E_DATABASE_ERROR EMAKEHR(0x1046)
-#define FUSION_E_INVALID_NAME EMAKEHR(0x1047)
-#define FUSION_E_CODE_DOWNLOAD_DISABLED EMAKEHR(0x1048)
-#define FUSION_E_UNINSTALL_DISALLOWED EMAKEHR(0x1049)
-#define CLR_E_APP_CONFIG_NOT_ALLOWED_IN_APPX_PROCESS EMAKEHR(0x104a)
-#define FUSION_E_HOST_GAC_ASM_MISMATCH EMAKEHR(0x1050)
-#define FUSION_E_LOADFROM_BLOCKED EMAKEHR(0x1051)
-#define FUSION_E_CACHEFILE_FAILED EMAKEHR(0x1052)
-#define FUSION_E_APP_DOMAIN_LOCKED EMAKEHR(0x1053)
-#define FUSION_E_CONFIGURATION_ERROR EMAKEHR(0x1054)
-#define FUSION_E_MANIFEST_PARSE_ERROR EMAKEHR(0x1055)
-#define FUSION_E_INVALID_ASSEMBLY_REFERENCE EMAKEHR(0x1056)
-#define COR_E_ASSEMBLY_NOT_EXPECTED EMAKEHR(0x1057)
-#define COR_E_LOADING_REFERENCE_ASSEMBLY EMAKEHR(0x1058)
-#define COR_E_NI_AND_RUNTIME_VERSION_MISMATCH EMAKEHR(0x1059)
-#define COR_E_LOADING_WINMD_REFERENCE_ASSEMBLY EMAKEHR(0x1069)
-#define CLDB_E_FILE_BADREAD EMAKEHR(0x1100)
-#define CLDB_E_FILE_BADWRITE EMAKEHR(0x1101)
-#define CLDB_E_FILE_READONLY EMAKEHR(0x1103)
-#define CLDB_E_NAME_ERROR EMAKEHR(0x1105)
-#define CLDB_E_TRUNCATION EMAKEHR(0x1106)
-#define CLDB_E_FILE_OLDVER EMAKEHR(0x1107)
-#define CLDB_E_RELOCATED EMAKEHR(0x1108)
-#define CLDB_E_SMDUPLICATE EMAKEHR(0x110a)
-#define CLDB_E_NO_DATA EMAKEHR(0x110b)
-#define CLDB_E_READONLY EMAKEHR(0x110c)
-#define CLDB_E_INCOMPATIBLE EMAKEHR(0x110d)
-#define CLDB_E_FILE_CORRUPT EMAKEHR(0x110e)
-#define CLDB_E_SCHEMA_VERNOTFOUND EMAKEHR(0x110f)
-#define CLDB_E_BADUPDATEMODE EMAKEHR(0x1110)
-#define CLDB_E_INDEX_NONULLKEYS EMAKEHR(0x1121)
-#define CLDB_E_INDEX_DUPLICATE EMAKEHR(0x1122)
-#define CLDB_E_INDEX_BADTYPE EMAKEHR(0x1123)
-#define CLDB_E_INDEX_NOTFOUND EMAKEHR(0x1124)
-#define CLDB_E_RECORD_NOTFOUND EMAKEHR(0x1130)
-#define CLDB_E_RECORD_OVERFLOW EMAKEHR(0x1131)
-#define CLDB_E_RECORD_DUPLICATE EMAKEHR(0x1132)
-#define CLDB_E_RECORD_PKREQUIRED EMAKEHR(0x1133)
-#define CLDB_E_RECORD_DELETED EMAKEHR(0x1134)
-#define CLDB_E_RECORD_OUTOFORDER EMAKEHR(0x1135)
-#define CLDB_E_COLUMN_OVERFLOW EMAKEHR(0x1140)
-#define CLDB_E_COLUMN_READONLY EMAKEHR(0x1141)
-#define CLDB_E_COLUMN_SPECIALCOL EMAKEHR(0x1142)
-#define CLDB_E_COLUMN_PKNONULLS EMAKEHR(0x1143)
-#define CLDB_E_TABLE_CANTDROP EMAKEHR(0x1150)
-#define CLDB_E_OBJECT_NOTFOUND EMAKEHR(0x1151)
-#define CLDB_E_OBJECT_COLNOTFOUND EMAKEHR(0x1152)
-#define CLDB_E_VECTOR_BADINDEX EMAKEHR(0x1153)
-#define CLDB_E_TOO_BIG EMAKEHR(0x1154)
-#define META_E_INVALID_TOKEN_TYPE EMAKEHR(0x115f)
-#define TLBX_E_INVALID_TYPEINFO EMAKEHR(0x1160)
-#define TLBX_E_INVALID_TYPEINFO_UNNAMED EMAKEHR(0x1161)
-#define TLBX_E_CTX_NESTED EMAKEHR(0x1162)
-#define TLBX_E_ERROR_MESSAGE EMAKEHR(0x1163)
-#define TLBX_E_CANT_SAVE EMAKEHR(0x1164)
-#define TLBX_W_LIBNOTREGISTERED EMAKEHR(0x1165)
-#define TLBX_E_CANTLOADLIBRARY EMAKEHR(0x1166)
-#define TLBX_E_BAD_VT_TYPE EMAKEHR(0x1167)
-#define TLBX_E_NO_MSCOREE_TLB EMAKEHR(0x1168)
-#define TLBX_E_BAD_MSCOREE_TLB EMAKEHR(0x1169)
-#define TLBX_E_TLB_EXCEPTION EMAKEHR(0x116a)
-#define TLBX_E_MULTIPLE_LCIDS EMAKEHR(0x116b)
-#define TLBX_E_AMBIGUOUS_RETURN EMAKEHR(0x116d)
-#define TLBX_E_DUPLICATE_TYPE_NAME EMAKEHR(0x116e)
-#define TLBX_I_NONSEQUENTIALSTRUCT EMAKEHR(0x1172)
-#define TLBX_I_RESOLVEREFFAILED EMAKEHR(0x1174)
-#define TLBX_E_ASANY EMAKEHR(0x1175)
-#define TLBX_E_INVALIDLCIDPARAM EMAKEHR(0x1176)
-#define TLBX_E_LCIDONDISPONLYITF EMAKEHR(0x1177)
-#define TLBX_E_NONPUBLIC_FIELD EMAKEHR(0x1178)
-#define TLBX_E_BAD_NAMES EMAKEHR(0x117b)
-#define TLBX_E_GENERICINST_SIGNATURE EMAKEHR(0x117d)
-#define TLBX_E_GENERICPAR_SIGNATURE EMAKEHR(0x117e)
-#define META_E_DUPLICATE EMAKEHR(0x1180)
-#define META_E_GUID_REQUIRED EMAKEHR(0x1181)
-#define META_E_TYPEDEF_MISMATCH EMAKEHR(0x1182)
-#define META_E_MERGE_COLLISION EMAKEHR(0x1183)
-#define TLBX_E_NO_SAFEHANDLE_ARRAYS EMAKEHR(0x1186)
-#define META_E_METHD_NOT_FOUND EMAKEHR(0x1187)
-#define META_E_FIELD_NOT_FOUND EMAKEHR(0x1188)
-#define META_E_PARAM_MISMATCH EMAKEHR(0x1189)
-#define META_E_BADMETADATA EMAKEHR(0x118a)
-#define META_E_INTFCEIMPL_NOT_FOUND EMAKEHR(0x118b)
-#define TLBX_E_NO_CRITICALHANDLE_ARRAYS EMAKEHR(0x118c)
-#define META_E_CLASS_LAYOUT_INCONSISTENT EMAKEHR(0x118d)
-#define META_E_FIELD_MARSHAL_NOT_FOUND EMAKEHR(0x118e)
-#define META_E_METHODSEM_NOT_FOUND EMAKEHR(0x118f)
-#define META_E_EVENT_NOT_FOUND EMAKEHR(0x1190)
-#define META_E_PROP_NOT_FOUND EMAKEHR(0x1191)
-#define META_E_BAD_SIGNATURE EMAKEHR(0x1192)
-#define META_E_BAD_INPUT_PARAMETER EMAKEHR(0x1193)
-#define META_E_METHDIMPL_INCONSISTENT EMAKEHR(0x1194)
-#define META_E_MD_INCONSISTENCY EMAKEHR(0x1195)
-#define META_E_CANNOTRESOLVETYPEREF EMAKEHR(0x1196)
-#define META_E_STRINGSPACE_FULL EMAKEHR(0x1198)
-#define META_E_UNEXPECTED_REMAP EMAKEHR(0x1199)
-#define META_E_HAS_UNMARKALL EMAKEHR(0x119a)
-#define META_E_MUST_CALL_UNMARKALL EMAKEHR(0x119b)
-#define META_E_GENERICPARAM_INCONSISTENT EMAKEHR(0x119c)
-#define META_E_EVENT_COUNTS EMAKEHR(0x119d)
-#define META_E_PROPERTY_COUNTS EMAKEHR(0x119e)
-#define META_E_TYPEDEF_MISSING EMAKEHR(0x119f)
-#define TLBX_E_CANT_LOAD_MODULE EMAKEHR(0x11a0)
-#define TLBX_E_CANT_LOAD_CLASS EMAKEHR(0x11a1)
-#define TLBX_E_NULL_MODULE EMAKEHR(0x11a2)
-#define TLBX_E_NO_CLSID_KEY EMAKEHR(0x11a3)
-#define TLBX_E_CIRCULAR_EXPORT EMAKEHR(0x11a4)
-#define TLBX_E_CIRCULAR_IMPORT EMAKEHR(0x11a5)
-#define TLBX_E_BAD_NATIVETYPE EMAKEHR(0x11a6)
-#define TLBX_E_BAD_VTABLE EMAKEHR(0x11a7)
-#define TLBX_E_CRM_NON_STATIC EMAKEHR(0x11a8)
-#define TLBX_E_CRM_INVALID_SIG EMAKEHR(0x11a9)
-#define TLBX_E_CLASS_LOAD_EXCEPTION EMAKEHR(0x11aa)
-#define TLBX_E_UNKNOWN_SIGNATURE EMAKEHR(0x11ab)
-#define TLBX_E_REFERENCED_TYPELIB EMAKEHR(0x11ac)
-#define TLBX_E_INVALID_NAMESPACE EMAKEHR(0x11ad)
-#define TLBX_E_LAYOUT_ERROR EMAKEHR(0x11ae)
-#define TLBX_E_NOTIUNKNOWN EMAKEHR(0x11af)
-#define TLBX_E_NONVISIBLEVALUECLASS EMAKEHR(0x11b0)
-#define TLBX_E_LPTSTR_NOT_ALLOWED EMAKEHR(0x11b1)
-#define TLBX_E_AUTO_CS_NOT_ALLOWED EMAKEHR(0x11b2)
-#define TLBX_E_ENUM_VALUE_INVALID EMAKEHR(0x11b5)
-#define TLBX_E_DUPLICATE_IID EMAKEHR(0x11b6)
-#define TLBX_E_NO_NESTED_ARRAYS EMAKEHR(0x11b7)
-#define TLBX_E_PARAM_ERROR_NAMED EMAKEHR(0x11b8)
-#define TLBX_E_PARAM_ERROR_UNNAMED EMAKEHR(0x11b9)
-#define TLBX_E_AGNOST_SIGNATURE EMAKEHR(0x11ba)
-#define TLBX_E_CONVERT_FAIL EMAKEHR(0x11bb)
-#define TLBX_W_DUAL_NOT_DISPATCH EMAKEHR(0x11bc)
-#define TLBX_E_BAD_SIGNATURE EMAKEHR(0x11bd)
-#define TLBX_E_ARRAY_NEEDS_NT_FIXED EMAKEHR(0x11be)
-#define TLBX_E_CLASS_NEEDS_NT_INTF EMAKEHR(0x11bf)
-#define META_E_CA_INVALID_TARGET EMAKEHR(0x11c0)
-#define META_E_CA_INVALID_VALUE EMAKEHR(0x11c1)
-#define META_E_CA_INVALID_BLOB EMAKEHR(0x11c2)
-#define META_E_CA_REPEATED_ARG EMAKEHR(0x11c3)
-#define META_E_CA_UNKNOWN_ARGUMENT EMAKEHR(0x11c4)
-#define META_E_CA_VARIANT_NYI EMAKEHR(0x11c5)
-#define META_E_CA_ARRAY_NYI EMAKEHR(0x11c6)
-#define META_E_CA_UNEXPECTED_TYPE EMAKEHR(0x11c7)
-#define META_E_CA_INVALID_ARGTYPE EMAKEHR(0x11c8)
-#define META_E_CA_INVALID_ARG_FOR_TYPE EMAKEHR(0x11c9)
-#define META_E_CA_INVALID_UUID EMAKEHR(0x11ca)
-#define META_E_CA_INVALID_MARSHALAS_FIELDS EMAKEHR(0x11cb)
-#define META_E_CA_NT_FIELDONLY EMAKEHR(0x11cc)
-#define META_E_CA_NEGATIVE_PARAMINDEX EMAKEHR(0x11cd)
-#define META_E_CA_NEGATIVE_MULTIPLIER EMAKEHR(0x11ce)
-#define META_E_CA_NEGATIVE_CONSTSIZE EMAKEHR(0x11cf)
-#define META_E_CA_FIXEDSTR_SIZE_REQUIRED EMAKEHR(0x11d0)
-#define META_E_CA_CUSTMARSH_TYPE_REQUIRED EMAKEHR(0x11d1)
-#define META_E_CA_FILENAME_REQUIRED EMAKEHR(0x11d2)
-#define TLBX_W_NO_PROPS_IN_EVENTS EMAKEHR(0x11d3)
-#define META_E_NOT_IN_ENC_MODE EMAKEHR(0x11d4)
-#define META_E_METHOD_COUNTS EMAKEHR(0x11d6)
-#define META_E_FIELD_COUNTS EMAKEHR(0x11d7)
-#define META_E_PARAM_COUNTS EMAKEHR(0x11d8)
-#define TLBX_E_TYPED_REF EMAKEHR(0x11da)
-#define TLBX_E_BITNESS_MISMATCH EMAKEHR(0x11e1)
-#define TLBX_E_EVENT_WITH_NEWENUM EMAKEHR(0x11e2)
-#define TLBX_E_PROPGET_WITHOUT_RETURN EMAKEHR(0x11e3)
-#define META_E_MISMATCHED_VISIBLITY EMAKEHR(0x11e4)
-#define META_E_CA_BAD_FRIENDS_ARGS EMAKEHR(0x11e5)
-#define META_E_CA_FRIENDS_SN_REQUIRED EMAKEHR(0x11e6)
-#define VLDTR_E_RID_OUTOFRANGE EMAKEHR(0x1203)
-#define VLDTR_E_CDTKN_OUTOFRANGE EMAKEHR(0x1204)
-#define VLDTR_E_CDRID_OUTOFRANGE EMAKEHR(0x1205)
-#define VLDTR_E_STRING_INVALID EMAKEHR(0x1206)
-#define VLDTR_E_GUID_INVALID EMAKEHR(0x1207)
-#define VLDTR_E_BLOB_INVALID EMAKEHR(0x1208)
-#define VLDTR_E_MOD_MULTI EMAKEHR(0x1209)
-#define VLDTR_E_MOD_NULLMVID EMAKEHR(0x120a)
-#define VLDTR_E_TR_NAMENULL EMAKEHR(0x120b)
-#define VLDTR_E_TR_DUP EMAKEHR(0x120c)
-#define VLDTR_E_TD_NAMENULL EMAKEHR(0x120d)
-#define VLDTR_E_TD_DUPNAME EMAKEHR(0x120e)
-#define VLDTR_E_TD_DUPGUID EMAKEHR(0x120f)
-#define VLDTR_E_TD_NOTIFACEOBJEXTNULL EMAKEHR(0x1210)
-#define VLDTR_E_TD_OBJEXTENDSNONNULL EMAKEHR(0x1211)
-#define VLDTR_E_TD_EXTENDSSEALED EMAKEHR(0x1212)
-#define VLDTR_E_TD_DLTNORTSPCL EMAKEHR(0x1213)
-#define VLDTR_E_TD_RTSPCLNOTDLT EMAKEHR(0x1214)
-#define VLDTR_E_MI_DECLPRIV EMAKEHR(0x1215)
-#define VLDTR_E_AS_BADNAME EMAKEHR(0x1216)
-#define VLDTR_E_FILE_SYSNAME EMAKEHR(0x1217)
-#define VLDTR_E_MI_BODYSTATIC EMAKEHR(0x1218)
-#define VLDTR_E_TD_IFACENOTABS EMAKEHR(0x1219)
-#define VLDTR_E_TD_IFACEPARNOTNIL EMAKEHR(0x121a)
-#define VLDTR_E_TD_IFACEGUIDNULL EMAKEHR(0x121b)
-#define VLDTR_E_MI_DECLFINAL EMAKEHR(0x121c)
-#define VLDTR_E_TD_VTNOTSEAL EMAKEHR(0x121d)
-#define VLDTR_E_PD_BADFLAGS EMAKEHR(0x121e)
-#define VLDTR_E_IFACE_DUP EMAKEHR(0x121f)
-#define VLDTR_E_MR_NAMENULL EMAKEHR(0x1220)
-#define VLDTR_E_MR_VTBLNAME EMAKEHR(0x1221)
-#define VLDTR_E_MR_DELNAME EMAKEHR(0x1222)
-#define VLDTR_E_MR_PARNIL EMAKEHR(0x1223)
-#define VLDTR_E_MR_BADCALLINGCONV EMAKEHR(0x1224)
-#define VLDTR_E_MR_NOTVARARG EMAKEHR(0x1225)
-#define VLDTR_E_MR_NAMEDIFF EMAKEHR(0x1226)
-#define VLDTR_E_MR_SIGDIFF EMAKEHR(0x1227)
-#define VLDTR_E_MR_DUP EMAKEHR(0x1228)
-#define VLDTR_E_CL_TDAUTO EMAKEHR(0x1229)
-#define VLDTR_E_CL_BADPCKSZ EMAKEHR(0x122a)
-#define VLDTR_E_CL_DUP EMAKEHR(0x122b)
-#define VLDTR_E_FL_BADOFFSET EMAKEHR(0x122c)
-#define VLDTR_E_FL_TDNIL EMAKEHR(0x122d)
-#define VLDTR_E_FL_NOCL EMAKEHR(0x122e)
-#define VLDTR_E_FL_TDNOTEXPLCT EMAKEHR(0x122f)
-#define VLDTR_E_FL_FLDSTATIC EMAKEHR(0x1230)
-#define VLDTR_E_FL_DUP EMAKEHR(0x1231)
-#define VLDTR_E_MODREF_NAMENULL EMAKEHR(0x1232)
-#define VLDTR_E_MODREF_DUP EMAKEHR(0x1233)
-#define VLDTR_E_TR_BADSCOPE EMAKEHR(0x1234)
-#define VLDTR_E_TD_NESTEDNOENCL EMAKEHR(0x1235)
-#define VLDTR_E_TD_EXTTRRES EMAKEHR(0x1236)
-#define VLDTR_E_SIGNULL EMAKEHR(0x1237)
-#define VLDTR_E_SIGNODATA EMAKEHR(0x1238)
-#define VLDTR_E_MD_BADCALLINGCONV EMAKEHR(0x1239)
-#define VLDTR_E_MD_THISSTATIC EMAKEHR(0x123a)
-#define VLDTR_E_MD_NOTTHISNOTSTATIC EMAKEHR(0x123b)
-#define VLDTR_E_MD_NOARGCNT EMAKEHR(0x123c)
-#define VLDTR_E_SIG_MISSELTYPE EMAKEHR(0x123d)
-#define VLDTR_E_SIG_MISSTKN EMAKEHR(0x123e)
-#define VLDTR_E_SIG_TKNBAD EMAKEHR(0x123f)
-#define VLDTR_E_SIG_MISSFPTR EMAKEHR(0x1240)
-#define VLDTR_E_SIG_MISSFPTRARGCNT EMAKEHR(0x1241)
-#define VLDTR_E_SIG_MISSRANK EMAKEHR(0x1242)
-#define VLDTR_E_SIG_MISSNSIZE EMAKEHR(0x1243)
-#define VLDTR_E_SIG_MISSSIZE EMAKEHR(0x1244)
-#define VLDTR_E_SIG_MISSNLBND EMAKEHR(0x1245)
-#define VLDTR_E_SIG_MISSLBND EMAKEHR(0x1246)
-#define VLDTR_E_SIG_BADELTYPE EMAKEHR(0x1247)
-#define VLDTR_E_SIG_MISSVASIZE EMAKEHR(0x1248)
-#define VLDTR_E_FD_BADCALLINGCONV EMAKEHR(0x1249)
-#define VLDTR_E_MD_NAMENULL EMAKEHR(0x124a)
-#define VLDTR_E_MD_PARNIL EMAKEHR(0x124b)
-#define VLDTR_E_MD_DUP EMAKEHR(0x124c)
-#define VLDTR_E_FD_NAMENULL EMAKEHR(0x124d)
-#define VLDTR_E_FD_PARNIL EMAKEHR(0x124e)
-#define VLDTR_E_FD_DUP EMAKEHR(0x124f)
-#define VLDTR_E_AS_MULTI EMAKEHR(0x1250)
-#define VLDTR_E_AS_NAMENULL EMAKEHR(0x1251)
-#define VLDTR_E_SIG_TOKTYPEMISMATCH EMAKEHR(0x1252)
-#define VLDTR_E_CL_TDINTF EMAKEHR(0x1253)
-#define VLDTR_E_ASOS_OSPLTFRMIDINVAL EMAKEHR(0x1254)
-#define VLDTR_E_AR_NAMENULL EMAKEHR(0x1255)
-#define VLDTR_E_TD_ENCLNOTNESTED EMAKEHR(0x1256)
-#define VLDTR_E_AROS_OSPLTFRMIDINVAL EMAKEHR(0x1257)
-#define VLDTR_E_FILE_NAMENULL EMAKEHR(0x1258)
-#define VLDTR_E_CT_NAMENULL EMAKEHR(0x1259)
-#define VLDTR_E_TD_EXTENDSCHILD EMAKEHR(0x125a)
-#define VLDTR_E_MAR_NAMENULL EMAKEHR(0x125b)
-#define VLDTR_E_FILE_DUP EMAKEHR(0x125c)
-#define VLDTR_E_FILE_NAMEFULLQLFD EMAKEHR(0x125d)
-#define VLDTR_E_CT_DUP EMAKEHR(0x125e)
-#define VLDTR_E_MAR_DUP EMAKEHR(0x125f)
-#define VLDTR_E_MAR_NOTPUBPRIV EMAKEHR(0x1260)
-#define VLDTR_E_TD_ENUMNOVALUE EMAKEHR(0x1261)
-#define VLDTR_E_TD_ENUMVALSTATIC EMAKEHR(0x1262)
-#define VLDTR_E_TD_ENUMVALNOTSN EMAKEHR(0x1263)
-#define VLDTR_E_TD_ENUMFLDNOTST EMAKEHR(0x1264)
-#define VLDTR_E_TD_ENUMFLDNOTLIT EMAKEHR(0x1265)
-#define VLDTR_E_TD_ENUMNOLITFLDS EMAKEHR(0x1266)
-#define VLDTR_E_TD_ENUMFLDSIGMISMATCH EMAKEHR(0x1267)
-#define VLDTR_E_TD_ENUMVALNOT1ST EMAKEHR(0x1268)
-#define VLDTR_E_FD_NOTVALUERTSN EMAKEHR(0x1269)
-#define VLDTR_E_FD_VALUEPARNOTENUM EMAKEHR(0x126a)
-#define VLDTR_E_FD_INSTINIFACE EMAKEHR(0x126b)
-#define VLDTR_E_FD_NOTPUBINIFACE EMAKEHR(0x126c)
-#define VLDTR_E_FMD_GLOBALNOTPUBPRIVSC EMAKEHR(0x126d)
-#define VLDTR_E_FMD_GLOBALNOTSTATIC EMAKEHR(0x126e)
-#define VLDTR_E_FD_GLOBALNORVA EMAKEHR(0x126f)
-#define VLDTR_E_MD_CTORZERORVA EMAKEHR(0x1270)
-#define VLDTR_E_FD_MARKEDNOMARSHAL EMAKEHR(0x1271)
-#define VLDTR_E_FD_MARSHALNOTMARKED EMAKEHR(0x1272)
-#define VLDTR_E_FD_MARKEDNODEFLT EMAKEHR(0x1273)
-#define VLDTR_E_FD_DEFLTNOTMARKED EMAKEHR(0x1274)
-#define VLDTR_E_FMD_MARKEDNOSECUR EMAKEHR(0x1275)
-#define VLDTR_E_FMD_SECURNOTMARKED EMAKEHR(0x1276)
-#define VLDTR_E_FMD_PINVOKENOTSTATIC EMAKEHR(0x1277)
-#define VLDTR_E_FMD_MARKEDNOPINVOKE EMAKEHR(0x1278)
-#define VLDTR_E_FMD_PINVOKENOTMARKED EMAKEHR(0x1279)
-#define VLDTR_E_FMD_BADIMPLMAP EMAKEHR(0x127a)
-#define VLDTR_E_IMAP_BADMODREF EMAKEHR(0x127b)
-#define VLDTR_E_IMAP_BADMEMBER EMAKEHR(0x127c)
-#define VLDTR_E_IMAP_BADIMPORTNAME EMAKEHR(0x127d)
-#define VLDTR_E_IMAP_BADCALLCONV EMAKEHR(0x127e)
-#define VLDTR_E_FMD_BADACCESSFLAG EMAKEHR(0x127f)
-#define VLDTR_E_FD_INITONLYANDLITERAL EMAKEHR(0x1280)
-#define VLDTR_E_FD_LITERALNOTSTATIC EMAKEHR(0x1281)
-#define VLDTR_E_FMD_RTSNNOTSN EMAKEHR(0x1282)
-#define VLDTR_E_MD_ABSTPARNOTABST EMAKEHR(0x1283)
-#define VLDTR_E_MD_NOTSTATABSTININTF EMAKEHR(0x1284)
-#define VLDTR_E_MD_NOTPUBININTF EMAKEHR(0x1285)
-#define VLDTR_E_MD_CTORININTF EMAKEHR(0x1286)
-#define VLDTR_E_MD_GLOBALCTORCCTOR EMAKEHR(0x1287)
-#define VLDTR_E_MD_CTORSTATIC EMAKEHR(0x1288)
-#define VLDTR_E_MD_CTORNOTSNRTSN EMAKEHR(0x1289)
-#define VLDTR_E_MD_CTORVIRT EMAKEHR(0x128a)
-#define VLDTR_E_MD_CTORABST EMAKEHR(0x128b)
-#define VLDTR_E_MD_CCTORNOTSTATIC EMAKEHR(0x128c)
-#define VLDTR_E_MD_ZERORVA EMAKEHR(0x128d)
-#define VLDTR_E_MD_FINNOTVIRT EMAKEHR(0x128e)
-#define VLDTR_E_MD_STATANDFINORVIRT EMAKEHR(0x128f)
-#define VLDTR_E_MD_ABSTANDFINAL EMAKEHR(0x1290)
-#define VLDTR_E_MD_ABSTANDIMPL EMAKEHR(0x1291)
-#define VLDTR_E_MD_ABSTANDPINVOKE EMAKEHR(0x1292)
-#define VLDTR_E_MD_ABSTNOTVIRT EMAKEHR(0x1293)
-#define VLDTR_E_MD_NOTABSTNOTIMPL EMAKEHR(0x1294)
-#define VLDTR_E_MD_NOTABSTBADFLAGSRVA EMAKEHR(0x1295)
-#define VLDTR_E_MD_PRIVSCOPENORVA EMAKEHR(0x1296)
-#define VLDTR_E_MD_GLOBALABSTORVIRT EMAKEHR(0x1297)
-#define VLDTR_E_SIG_LONGFORM EMAKEHR(0x1298)
-#define VLDTR_E_MD_MULTIPLESEMANTICS EMAKEHR(0x1299)
-#define VLDTR_E_MD_INVALIDSEMANTICS EMAKEHR(0x129a)
-#define VLDTR_E_MD_SEMANTICSNOTEXIST EMAKEHR(0x129b)
-#define VLDTR_E_MI_DECLNOTVIRT EMAKEHR(0x129c)
-#define VLDTR_E_FMD_GLOBALITEM EMAKEHR(0x129d)
-#define VLDTR_E_MD_MULTSEMANTICFLAGS EMAKEHR(0x129e)
-#define VLDTR_E_MD_NOSEMANTICFLAGS EMAKEHR(0x129f)
-#define VLDTR_E_FD_FLDINIFACE EMAKEHR(0x12a0)
-#define VLDTR_E_AS_HASHALGID EMAKEHR(0x12a1)
-#define VLDTR_E_AS_PROCID EMAKEHR(0x12a2)
-#define VLDTR_E_AR_PROCID EMAKEHR(0x12a3)
-#define VLDTR_E_CN_PARENTRANGE EMAKEHR(0x12a4)
-#define VLDTR_E_AS_BADFLAGS EMAKEHR(0x12a5)
-#define VLDTR_E_TR_HASTYPEDEF EMAKEHR(0x12a6)
-#define VLDTR_E_IFACE_BADIMPL EMAKEHR(0x12a7)
-#define VLDTR_E_IFACE_BADIFACE EMAKEHR(0x12a8)
-#define VLDTR_E_TD_SECURNOTMARKED EMAKEHR(0x12a9)
-#define VLDTR_E_TD_MARKEDNOSECUR EMAKEHR(0x12aa)
-#define VLDTR_E_MD_CCTORHASARGS EMAKEHR(0x12ab)
-#define VLDTR_E_CT_BADIMPL EMAKEHR(0x12ac)
-#define VLDTR_E_MI_ALIENBODY EMAKEHR(0x12ad)
-#define VLDTR_E_MD_CCTORCALLCONV EMAKEHR(0x12ae)
-#define VLDTR_E_MI_BADCLASS EMAKEHR(0x12af)
-#define VLDTR_E_MI_CLASSISINTF EMAKEHR(0x12b0)
-#define VLDTR_E_MI_BADDECL EMAKEHR(0x12b1)
-#define VLDTR_E_MI_BADBODY EMAKEHR(0x12b2)
-#define VLDTR_E_MI_DUP EMAKEHR(0x12b3)
-#define VLDTR_E_FD_BADPARENT EMAKEHR(0x12b4)
-#define VLDTR_E_MD_PARAMOUTOFSEQ EMAKEHR(0x12b5)
-#define VLDTR_E_MD_PARASEQTOOBIG EMAKEHR(0x12b6)
-#define VLDTR_E_MD_PARMMARKEDNOMARSHAL EMAKEHR(0x12b7)
-#define VLDTR_E_MD_PARMMARSHALNOTMARKED EMAKEHR(0x12b8)
-#define VLDTR_E_MD_PARMMARKEDNODEFLT EMAKEHR(0x12ba)
-#define VLDTR_E_MD_PARMDEFLTNOTMARKED EMAKEHR(0x12bb)
-#define VLDTR_E_PR_BADSCOPE EMAKEHR(0x12bc)
-#define VLDTR_E_PR_NONAME EMAKEHR(0x12bd)
-#define VLDTR_E_PR_NOSIG EMAKEHR(0x12be)
-#define VLDTR_E_PR_DUP EMAKEHR(0x12bf)
-#define VLDTR_E_PR_BADCALLINGCONV EMAKEHR(0x12c0)
-#define VLDTR_E_PR_MARKEDNODEFLT EMAKEHR(0x12c1)
-#define VLDTR_E_PR_DEFLTNOTMARKED EMAKEHR(0x12c2)
-#define VLDTR_E_PR_BADSEMANTICS EMAKEHR(0x12c3)
-#define VLDTR_E_PR_BADMETHOD EMAKEHR(0x12c4)
-#define VLDTR_E_PR_ALIENMETHOD EMAKEHR(0x12c5)
-#define VLDTR_E_CN_BLOBNOTNULL EMAKEHR(0x12c6)
-#define VLDTR_E_CN_BLOBNULL EMAKEHR(0x12c7)
-#define VLDTR_E_EV_BADSCOPE EMAKEHR(0x12c8)
-#define VLDTR_E_EV_NONAME EMAKEHR(0x12ca)
-#define VLDTR_E_EV_DUP EMAKEHR(0x12cb)
-#define VLDTR_E_EV_BADEVTYPE EMAKEHR(0x12cc)
-#define VLDTR_E_EV_EVTYPENOTCLASS EMAKEHR(0x12cd)
-#define VLDTR_E_EV_BADSEMANTICS EMAKEHR(0x12ce)
-#define VLDTR_E_EV_BADMETHOD EMAKEHR(0x12cf)
-#define VLDTR_E_EV_ALIENMETHOD EMAKEHR(0x12d0)
-#define VLDTR_E_EV_NOADDON EMAKEHR(0x12d1)
-#define VLDTR_E_EV_NOREMOVEON EMAKEHR(0x12d2)
-#define VLDTR_E_CT_DUPTDNAME EMAKEHR(0x12d3)
-#define VLDTR_E_MAR_BADOFFSET EMAKEHR(0x12d4)
-#define VLDTR_E_DS_BADOWNER EMAKEHR(0x12d5)
-#define VLDTR_E_DS_BADFLAGS EMAKEHR(0x12d6)
-#define VLDTR_E_DS_NOBLOB EMAKEHR(0x12d7)
-#define VLDTR_E_MAR_BADIMPL EMAKEHR(0x12d8)
-#define VLDTR_E_MR_VARARGCALLINGCONV EMAKEHR(0x12da)
-#define VLDTR_E_MD_CTORNOTVOID EMAKEHR(0x12db)
-#define VLDTR_E_EV_FIRENOTVOID EMAKEHR(0x12dc)
-#define VLDTR_E_AS_BADLOCALE EMAKEHR(0x12dd)
-#define VLDTR_E_CN_PARENTTYPE EMAKEHR(0x12de)
-#define VLDTR_E_SIG_SENTINMETHODDEF EMAKEHR(0x12df)
-#define VLDTR_E_SIG_SENTMUSTVARARG EMAKEHR(0x12e0)
-#define VLDTR_E_SIG_MULTSENTINELS EMAKEHR(0x12e1)
-#define VLDTR_E_SIG_LASTSENTINEL EMAKEHR(0x12e2)
-#define VLDTR_E_SIG_MISSARG EMAKEHR(0x12e3)
-#define VLDTR_E_SIG_BYREFINFIELD EMAKEHR(0x12e4)
-#define VLDTR_E_MD_SYNCMETHODINVTYPE EMAKEHR(0x12e5)
-#define VLDTR_E_TD_NAMETOOLONG EMAKEHR(0x12e6)
-#define VLDTR_E_AS_PROCDUP EMAKEHR(0x12e7)
-#define VLDTR_E_ASOS_DUP EMAKEHR(0x12e8)
-#define VLDTR_E_MAR_BADFLAGS EMAKEHR(0x12e9)
-#define VLDTR_E_CT_NOTYPEDEFID EMAKEHR(0x12ea)
-#define VLDTR_E_FILE_BADFLAGS EMAKEHR(0x12eb)
-#define VLDTR_E_FILE_NULLHASH EMAKEHR(0x12ec)
-#define VLDTR_E_MOD_NONAME EMAKEHR(0x12ed)
-#define VLDTR_E_MOD_NAMEFULLQLFD EMAKEHR(0x12ee)
-#define VLDTR_E_TD_RTSPCLNOTSPCL EMAKEHR(0x12ef)
-#define VLDTR_E_TD_EXTENDSIFACE EMAKEHR(0x12f0)
-#define VLDTR_E_MD_CTORPINVOKE EMAKEHR(0x12f1)
-#define VLDTR_E_TD_SYSENUMNOTCLASS EMAKEHR(0x12f2)
-#define VLDTR_E_TD_SYSENUMNOTEXTVTYPE EMAKEHR(0x12f3)
-#define VLDTR_E_MI_SIGMISMATCH EMAKEHR(0x12f4)
-#define VLDTR_E_TD_ENUMHASMETHODS EMAKEHR(0x12f5)
-#define VLDTR_E_TD_ENUMIMPLIFACE EMAKEHR(0x12f6)
-#define VLDTR_E_TD_ENUMHASPROP EMAKEHR(0x12f7)
-#define VLDTR_E_TD_ENUMHASEVENT EMAKEHR(0x12f8)
-#define VLDTR_E_TD_BADMETHODLST EMAKEHR(0x12f9)
-#define VLDTR_E_TD_BADFIELDLST EMAKEHR(0x12fa)
-#define VLDTR_E_CN_BADTYPE EMAKEHR(0x12fb)
-#define VLDTR_E_TD_ENUMNOINSTFLD EMAKEHR(0x12fc)
-#define VLDTR_E_TD_ENUMMULINSTFLD EMAKEHR(0x12fd)
-#define VLDTR_E_INTERRUPTED EMAKEHR(0x12fe)
-#define VLDTR_E_NOTINIT EMAKEHR(0x12ff)
-#define CORDBG_E_UNRECOVERABLE_ERROR EMAKEHR(0x1300)
-#define CORDBG_E_PROCESS_TERMINATED EMAKEHR(0x1301)
-#define CORDBG_E_PROCESS_NOT_SYNCHRONIZED EMAKEHR(0x1302)
-#define CORDBG_E_CLASS_NOT_LOADED EMAKEHR(0x1303)
-#define CORDBG_E_IL_VAR_NOT_AVAILABLE EMAKEHR(0x1304)
-#define CORDBG_E_BAD_REFERENCE_VALUE EMAKEHR(0x1305)
-#define CORDBG_E_FIELD_NOT_AVAILABLE EMAKEHR(0x1306)
-#define CORDBG_E_NON_NATIVE_FRAME EMAKEHR(0x1307)
-#define CORDBG_E_NONCONTINUABLE_EXCEPTION EMAKEHR(0x1308)
-#define CORDBG_E_CODE_NOT_AVAILABLE EMAKEHR(0x1309)
-#define CORDBG_E_FUNCTION_NOT_IL EMAKEHR(0x130a)
-#define CORDBG_E_CANT_SET_IP_INTO_FINALLY EMAKEHR(0x130e)
-#define CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY EMAKEHR(0x130f)
-#define CORDBG_E_CANT_SET_IP_INTO_CATCH EMAKEHR(0x1310)
-#define CORDBG_E_SET_IP_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1311)
-#define CORDBG_E_SET_IP_IMPOSSIBLE EMAKEHR(0x1312)
-#define CORDBG_E_FUNC_EVAL_BAD_START_POINT EMAKEHR(0x1313)
-#define CORDBG_E_INVALID_OBJECT EMAKEHR(0x1314)
-#define CORDBG_E_FUNC_EVAL_NOT_COMPLETE EMAKEHR(0x1315)
-#define CORDBG_E_INPROC_NOT_IMPL EMAKEHR(0x1318)
-#define CORDBG_E_STATIC_VAR_NOT_AVAILABLE EMAKEHR(0x131a)
-#define CORDBG_E_OBJECT_IS_NOT_COPYABLE_VALUE_CLASS EMAKEHR(0x131b)
-#define CORDBG_E_CANT_SETIP_INTO_OR_OUT_OF_FILTER EMAKEHR(0x131c)
-#define CORDBG_E_CANT_CHANGE_JIT_SETTING_FOR_ZAP_MODULE EMAKEHR(0x131d)
-#define CORDBG_E_CANT_SET_IP_OUT_OF_FINALLY_ON_WIN64 EMAKEHR(0x131e)
-#define CORDBG_E_CANT_SET_IP_OUT_OF_CATCH_ON_WIN64 EMAKEHR(0x131f)
-#define CORDBG_E_REMOTE_CONNECTION_CONN_RESET EMAKEHR(0x1320)
-#define CORDBG_E_REMOTE_CONNECTION_KEEP_ALIVE EMAKEHR(0x1321)
-#define CORDBG_E_REMOTE_CONNECTION_FATAL_ERROR EMAKEHR(0x1322)
-#define CORDBG_E_CANT_SET_TO_JMC EMAKEHR(0x1323)
-#define CORDBG_E_NO_CONTEXT_FOR_INTERNAL_FRAME EMAKEHR(0x1325)
-#define CORDBG_E_NOT_CHILD_FRAME EMAKEHR(0x1326)
-#define CORDBG_E_NON_MATCHING_CONTEXT EMAKEHR(0x1327)
-#define CORDBG_E_PAST_END_OF_STACK EMAKEHR(0x1328)
-#define CORDBG_E_FUNC_EVAL_CANNOT_UPDATE_REGISTER_IN_NONLEAF_FRAME EMAKEHR(0x1329)
-#define CORDBG_E_BAD_THREAD_STATE EMAKEHR(0x132d)
-#define CORDBG_E_DEBUGGER_ALREADY_ATTACHED EMAKEHR(0x132e)
-#define CORDBG_E_SUPERFLOUS_CONTINUE EMAKEHR(0x132f)
-#define CORDBG_E_SET_VALUE_NOT_ALLOWED_ON_NONLEAF_FRAME EMAKEHR(0x1330)
-#define CORDBG_E_ENC_EH_MAX_NESTING_LEVEL_CANT_INCREASE EMAKEHR(0x1331)
-#define CORDBG_E_ENC_MODULE_NOT_ENC_ENABLED EMAKEHR(0x1332)
-#define CORDBG_E_SET_IP_NOT_ALLOWED_ON_EXCEPTION EMAKEHR(0x1333)
-#define CORDBG_E_VARIABLE_IS_ACTUALLY_LITERAL EMAKEHR(0x1334)
-#define CORDBG_E_PROCESS_DETACHED EMAKEHR(0x1335)
-#define CORDBG_E_ENC_METHOD_SIG_CHANGED EMAKEHR(0x1336)
-#define CORDBG_E_ENC_METHOD_NO_LOCAL_SIG EMAKEHR(0x1337)
-#define CORDBG_E_ENC_CANT_ADD_FIELD_TO_VALUE_OR_LAYOUT_CLASS EMAKEHR(0x1338)
-#define CORDBG_E_ENC_CANT_CHANGE_FIELD EMAKEHR(0x1339)
-#define CORDBG_E_ENC_CANT_ADD_NON_PRIVATE_MEMBER EMAKEHR(0x133a)
-#define CORDBG_E_FIELD_NOT_STATIC EMAKEHR(0x133b)
-#define CORDBG_E_FIELD_NOT_INSTANCE EMAKEHR(0x133c)
-#define CORDBG_E_ENC_ZAPPED_WITHOUT_ENC EMAKEHR(0x133d)
-#define CORDBG_E_ENC_BAD_METHOD_INFO EMAKEHR(0x133e)
-#define CORDBG_E_ENC_JIT_CANT_UPDATE EMAKEHR(0x133f)
-#define CORDBG_E_ENC_MISSING_CLASS EMAKEHR(0x1340)
-#define CORDBG_E_ENC_INTERNAL_ERROR EMAKEHR(0x1341)
-#define CORDBG_E_ENC_HANGING_FIELD EMAKEHR(0x1342)
-#define CORDBG_E_MODULE_NOT_LOADED EMAKEHR(0x1343)
-#define CORDBG_E_ENC_CANT_CHANGE_SUPERCLASS EMAKEHR(0x1344)
-#define CORDBG_E_UNABLE_TO_SET_BREAKPOINT EMAKEHR(0x1345)
-#define CORDBG_E_DEBUGGING_NOT_POSSIBLE EMAKEHR(0x1346)
-#define CORDBG_E_KERNEL_DEBUGGER_ENABLED EMAKEHR(0x1347)
-#define CORDBG_E_KERNEL_DEBUGGER_PRESENT EMAKEHR(0x1348)
-#define CORDBG_E_HELPER_THREAD_DEAD EMAKEHR(0x1349)
-#define CORDBG_E_INTERFACE_INHERITANCE_CANT_CHANGE EMAKEHR(0x134a)
-#define CORDBG_E_INCOMPATIBLE_PROTOCOL EMAKEHR(0x134b)
-#define CORDBG_E_TOO_MANY_PROCESSES EMAKEHR(0x134c)
-#define CORDBG_E_INTEROP_NOT_SUPPORTED EMAKEHR(0x134d)
-#define CORDBG_E_NO_REMAP_BREAKPIONT EMAKEHR(0x134e)
-#define CORDBG_E_OBJECT_NEUTERED EMAKEHR(0x134f)
-#define CORPROF_E_FUNCTION_NOT_COMPILED EMAKEHR(0x1350)
-#define CORPROF_E_DATAINCOMPLETE EMAKEHR(0x1351)
-#define CORPROF_E_NOT_REJITABLE_METHODS EMAKEHR(0x1352)
-#define CORPROF_E_CANNOT_UPDATE_METHOD EMAKEHR(0x1353)
-#define CORPROF_E_FUNCTION_NOT_IL EMAKEHR(0x1354)
-#define CORPROF_E_NOT_MANAGED_THREAD EMAKEHR(0x1355)
-#define CORPROF_E_CALL_ONLY_FROM_INIT EMAKEHR(0x1356)
-#define CORPROF_E_INPROC_NOT_ENABLED EMAKEHR(0x1357)
-#define CORPROF_E_JITMAPS_NOT_ENABLED EMAKEHR(0x1358)
-#define CORPROF_E_INPROC_ALREADY_BEGUN EMAKEHR(0x1359)
-#define CORPROF_E_INPROC_NOT_AVAILABLE EMAKEHR(0x135a)
-#define CORPROF_E_NOT_YET_AVAILABLE EMAKEHR(0x135b)
-#define CORPROF_E_TYPE_IS_PARAMETERIZED EMAKEHR(0x135c)
-#define CORPROF_E_FUNCTION_IS_PARAMETERIZED EMAKEHR(0x135d)
-#define CORPROF_E_STACKSNAPSHOT_INVALID_TGT_THREAD EMAKEHR(0x135e)
-#define CORPROF_E_STACKSNAPSHOT_UNMANAGED_CTX EMAKEHR(0x135f)
-#define CORPROF_E_STACKSNAPSHOT_UNSAFE EMAKEHR(0x1360)
-#define CORPROF_E_STACKSNAPSHOT_ABORTED EMAKEHR(0x1361)
-#define CORPROF_E_LITERALS_HAVE_NO_ADDRESS EMAKEHR(0x1362)
-#define CORPROF_E_UNSUPPORTED_CALL_SEQUENCE EMAKEHR(0x1363)
-#define CORPROF_E_ASYNCHRONOUS_UNSAFE EMAKEHR(0x1364)
-#define CORPROF_E_CLASSID_IS_ARRAY EMAKEHR(0x1365)
-#define CORPROF_E_CLASSID_IS_COMPOSITE EMAKEHR(0x1366)
-#define CORPROF_E_PROFILER_DETACHING EMAKEHR(0x1367)
-#define CORPROF_E_PROFILER_NOT_ATTACHABLE EMAKEHR(0x1368)
-#define CORPROF_E_UNRECOGNIZED_PIPE_MSG_FORMAT EMAKEHR(0x1369)
-#define CORPROF_E_PROFILER_ALREADY_ACTIVE EMAKEHR(0x136a)
-#define CORPROF_E_PROFILEE_INCOMPATIBLE_WITH_TRIGGER EMAKEHR(0x136b)
-#define CORPROF_E_IPC_FAILED EMAKEHR(0x136c)
-#define CORPROF_E_PROFILEE_PROCESS_NOT_FOUND EMAKEHR(0x136d)
-#define CORPROF_E_CALLBACK3_REQUIRED EMAKEHR(0x136e)
-#define CORPROF_E_UNSUPPORTED_FOR_ATTACHING_PROFILER EMAKEHR(0x136f)
-#define CORPROF_E_IRREVERSIBLE_INSTRUMENTATION_PRESENT EMAKEHR(0x1370)
-#define CORPROF_E_RUNTIME_UNINITIALIZED EMAKEHR(0x1371)
-#define CORPROF_E_IMMUTABLE_FLAGS_SET EMAKEHR(0x1372)
-#define CORPROF_E_PROFILER_NOT_YET_INITIALIZED EMAKEHR(0x1373)
-#define CORPROF_E_INCONSISTENT_WITH_FLAGS EMAKEHR(0x1374)
-#define CORPROF_E_PROFILER_CANCEL_ACTIVATION EMAKEHR(0x1375)
-#define CORPROF_E_CONCURRENT_GC_NOT_PROFILABLE EMAKEHR(0x1376)
-#define CORPROF_E_INCONSISTENT_FLAGS_WITH_HOST_PROTECTION_SETTING EMAKEHR(0x1377)
-#define CORPROF_E_DEBUGGING_DISABLED EMAKEHR(0x1378)
-#define CORPROF_E_TIMEOUT_WAITING_FOR_CONCURRENT_GC EMAKEHR(0x1379)
-#define CORPROF_E_MODULE_IS_DYNAMIC EMAKEHR(0x137a)
-#define CORPROF_E_CALLBACK4_REQUIRED EMAKEHR(0x137b)
-#define CORPROF_E_REJIT_NOT_ENABLED EMAKEHR(0x137c)
-#define CORPROF_E_ACTIVE_REJIT_REQUEST_NOT_FOUND EMAKEHR(0x137d)
-#define CORPROF_E_FUNCTION_IS_COLLECTIBLE EMAKEHR(0x137e)
-#define CORPROF_E_REJIT_REQUIRES_DISABLE_NGEN EMAKEHR(0x137f)
-#define CORPROF_E_CALLBACK6_REQUIRED EMAKEHR(0x1380)
-#define CORPROF_E_CALLBACK7_REQUIRED EMAKEHR(0x1382)
-#define SECURITY_E_XML_TO_ASN_ENCODING EMAKEHR(0x1400)
-#define SECURITY_E_INCOMPATIBLE_SHARE EMAKEHR(0x1401)
-#define SECURITY_E_UNVERIFIABLE EMAKEHR(0x1402)
-#define SECURITY_E_INCOMPATIBLE_EVIDENCE EMAKEHR(0x1403)
-#define CORSEC_E_DECODE_SET EMAKEHR(0x1410)
-#define CORSEC_E_ENCODE_SET EMAKEHR(0x1411)
-#define CORSEC_E_UNSUPPORTED_FORMAT EMAKEHR(0x1412)
-#define SN_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413)
-#define CORSEC_E_CRYPTOAPI_CALL_FAILED EMAKEHR(0x1413)
-#define SN_NO_SUITABLE_CSP EMAKEHR(0x1414)
-#define CORSEC_E_NO_SUITABLE_CSP EMAKEHR(0x1414)
-#define CORSEC_E_INVALID_ATTR EMAKEHR(0x1415)
-#define CORSEC_E_POLICY_EXCEPTION EMAKEHR(0x1416)
-#define CORSEC_E_MIN_GRANT_FAIL EMAKEHR(0x1417)
-#define CORSEC_E_NO_EXEC_PERM EMAKEHR(0x1418)
-#define CORSEC_E_XMLSYNTAX EMAKEHR(0x1419)
-#define CORSEC_E_INVALID_STRONGNAME EMAKEHR(0x141a)
-#define CORSEC_E_MISSING_STRONGNAME EMAKEHR(0x141b)
-#define CORSEC_E_CONTAINER_NOT_FOUND EMAKEHR(0x141c)
-#define CORSEC_E_INVALID_IMAGE_FORMAT EMAKEHR(0x141d)
-#define CORSEC_E_INVALID_PUBLICKEY EMAKEHR(0x141e)
-#define CORSEC_E_SIGNATURE_MISMATCH EMAKEHR(0x1420)
-#define SN_E_PUBLICKEY_MISMATCH EMAKEHR(0x1421)
-#define CORSEC_E_INVALID_SIGNATUREKEY EMAKEHR(0x1422)
-#define CORSEC_E_INVALID_COUNTERSIGNATURE EMAKEHR(0x1423)
-#define CORSEC_E_CRYPTO EMAKEHR(0x1430)
-#define CORSEC_E_CRYPTO_UNEX_OPER EMAKEHR(0x1431)
-#define CORSECATTR_E_BAD_ATTRIBUTE EMAKEHR(0x143a)
-#define CORSECATTR_E_MISSING_CONSTRUCTOR EMAKEHR(0x143b)
-#define CORSECATTR_E_FAILED_TO_CREATE_PERM EMAKEHR(0x143c)
-#define CORSECATTR_E_BAD_ACTION_ASM EMAKEHR(0x143d)
-#define CORSECATTR_E_BAD_ACTION_OTHER EMAKEHR(0x143e)
-#define CORSECATTR_E_BAD_PARENT EMAKEHR(0x143f)
-#define CORSECATTR_E_TRUNCATED EMAKEHR(0x1440)
-#define CORSECATTR_E_BAD_VERSION EMAKEHR(0x1441)
-#define CORSECATTR_E_BAD_ACTION EMAKEHR(0x1442)
-#define CORSECATTR_E_NO_SELF_REF EMAKEHR(0x1443)
-#define CORSECATTR_E_BAD_NONCAS EMAKEHR(0x1444)
-#define CORSECATTR_E_ASSEMBLY_LOAD_FAILED EMAKEHR(0x1445)
-#define CORSECATTR_E_ASSEMBLY_LOAD_FAILED_EX EMAKEHR(0x1446)
-#define CORSECATTR_E_TYPE_LOAD_FAILED EMAKEHR(0x1447)
-#define CORSECATTR_E_TYPE_LOAD_FAILED_EX EMAKEHR(0x1448)
-#define CORSECATTR_E_ABSTRACT EMAKEHR(0x1449)
-#define CORSECATTR_E_UNSUPPORTED_TYPE EMAKEHR(0x144a)
-#define CORSECATTR_E_UNSUPPORTED_ENUM_TYPE EMAKEHR(0x144b)
-#define CORSECATTR_E_NO_FIELD EMAKEHR(0x144c)
-#define CORSECATTR_E_NO_PROPERTY EMAKEHR(0x144d)
-#define CORSECATTR_E_EXCEPTION EMAKEHR(0x144e)
-#define CORSECATTR_E_EXCEPTION_HR EMAKEHR(0x144f)
-#define ISS_E_ISOSTORE_START EMAKEHR(0x1450)
-#define ISS_E_ISOSTORE EMAKEHR(0x1450)
-#define ISS_E_OPEN_STORE_FILE EMAKEHR(0x1460)
-#define ISS_E_OPEN_FILE_MAPPING EMAKEHR(0x1461)
-#define ISS_E_MAP_VIEW_OF_FILE EMAKEHR(0x1462)
-#define ISS_E_GET_FILE_SIZE EMAKEHR(0x1463)
-#define ISS_E_CREATE_MUTEX EMAKEHR(0x1464)
-#define ISS_E_LOCK_FAILED EMAKEHR(0x1465)
-#define ISS_E_FILE_WRITE EMAKEHR(0x1466)
-#define ISS_E_SET_FILE_POINTER EMAKEHR(0x1467)
-#define ISS_E_CREATE_DIR EMAKEHR(0x1468)
-#define ISS_E_STORE_NOT_OPEN EMAKEHR(0x1469)
-#define ISS_E_CORRUPTED_STORE_FILE EMAKEHR(0x1480)
-#define ISS_E_STORE_VERSION EMAKEHR(0x1481)
-#define ISS_E_FILE_NOT_MAPPED EMAKEHR(0x1482)
-#define ISS_E_BLOCK_SIZE_TOO_SMALL EMAKEHR(0x1483)
-#define ISS_E_ALLOC_TOO_LARGE EMAKEHR(0x1484)
-#define ISS_E_USAGE_WILL_EXCEED_QUOTA EMAKEHR(0x1485)
-#define ISS_E_TABLE_ROW_NOT_FOUND EMAKEHR(0x1486)
-#define ISS_E_DEPRECATE EMAKEHR(0x14a0)
-#define ISS_E_CALLER EMAKEHR(0x14a1)
-#define ISS_E_PATH_LENGTH EMAKEHR(0x14a2)
-#define ISS_E_MACHINE EMAKEHR(0x14a3)
-#define ISS_E_MACHINE_DACL EMAKEHR(0x14a4)
-#define ISS_E_ISOSTORE_END EMAKEHR(0x14ff)
-#define COR_E_EXCEPTION EMAKEHR(0x1500)
-#define COR_E_SYSTEM EMAKEHR(0x1501)
-#define COR_E_ARGUMENTOUTOFRANGE EMAKEHR(0x1502)
-#define COR_E_ARRAYTYPEMISMATCH EMAKEHR(0x1503)
-#define COR_E_CONTEXTMARSHAL EMAKEHR(0x1504)
-#define COR_E_TIMEOUT EMAKEHR(0x1505)
-#define COR_E_EXECUTIONENGINE EMAKEHR(0x1506)
-#define COR_E_FIELDACCESS EMAKEHR(0x1507)
-#define COR_E_INDEXOUTOFRANGE EMAKEHR(0x1508)
-#define COR_E_INVALIDOPERATION EMAKEHR(0x1509)
-#define COR_E_SECURITY EMAKEHR(0x150a)
-#define COR_E_REMOTING EMAKEHR(0x150b)
-#define COR_E_SERIALIZATION EMAKEHR(0x150c)
-#define COR_E_VERIFICATION EMAKEHR(0x150d)
-#define COR_E_SERVER EMAKEHR(0x150e)
-#define COR_E_SERVICEDCOMPONENT EMAKEHR(0x150f)
-#define COR_E_METHODACCESS EMAKEHR(0x1510)
-#define COR_E_MISSINGFIELD EMAKEHR(0x1511)
-#define COR_E_MISSINGMEMBER EMAKEHR(0x1512)
-#define COR_E_MISSINGMETHOD EMAKEHR(0x1513)
-#define COR_E_MULTICASTNOTSUPPORTED EMAKEHR(0x1514)
-#define COR_E_NOTSUPPORTED EMAKEHR(0x1515)
-#define COR_E_OVERFLOW EMAKEHR(0x1516)
-#define COR_E_RANK EMAKEHR(0x1517)
-#define COR_E_SYNCHRONIZATIONLOCK EMAKEHR(0x1518)
-#define COR_E_THREADINTERRUPTED EMAKEHR(0x1519)
-#define COR_E_MEMBERACCESS EMAKEHR(0x151a)
-#define COR_E_THREADSTATE EMAKEHR(0x1520)
-#define COR_E_THREADSTOP EMAKEHR(0x1521)
-#define COR_E_TYPELOAD EMAKEHR(0x1522)
-#define COR_E_ENTRYPOINTNOTFOUND EMAKEHR(0x1523)
-#define COR_E_DLLNOTFOUND EMAKEHR(0x1524)
-#define COR_E_THREADSTART EMAKEHR(0x1525)
-#define COR_E_INVALIDCOMOBJECT EMAKEHR(0x1527)
-#define COR_E_NOTFINITENUMBER EMAKEHR(0x1528)
-#define COR_E_DUPLICATEWAITOBJECT EMAKEHR(0x1529)
-#define COR_E_SEMAPHOREFULL EMAKEHR(0x152b)
-#define COR_E_WAITHANDLECANNOTBEOPENED EMAKEHR(0x152c)
-#define COR_E_ABANDONEDMUTEX EMAKEHR(0x152d)
-#define COR_E_THREADABORTED EMAKEHR(0x1530)
-#define COR_E_INVALIDOLEVARIANTTYPE EMAKEHR(0x1531)
-#define COR_E_MISSINGMANIFESTRESOURCE EMAKEHR(0x1532)
-#define COR_E_SAFEARRAYTYPEMISMATCH EMAKEHR(0x1533)
-#define COR_E_TYPEINITIALIZATION EMAKEHR(0x1534)
-#define COR_E_MARSHALDIRECTIVE EMAKEHR(0x1535)
-#define COR_E_MISSINGSATELLITEASSEMBLY EMAKEHR(0x1536)
-#define COR_E_FORMAT EMAKEHR(0x1537)
-#define COR_E_SAFEARRAYRANKMISMATCH EMAKEHR(0x1538)
-#define COR_E_PLATFORMNOTSUPPORTED EMAKEHR(0x1539)
-#define COR_E_INVALIDPROGRAM EMAKEHR(0x153a)
-#define COR_E_OPERATIONCANCELED EMAKEHR(0x153b)
-#define COR_E_INSUFFICIENTMEMORY EMAKEHR(0x153d)
-#define COR_E_RUNTIMEWRAPPED EMAKEHR(0x153e)
-#define COR_E_DEVICESNOTSUPPORTED EMAKEHR(0x1540)
-#define COR_E_DATAMISALIGNED EMAKEHR(0x1541)
-#define COR_E_CODECONTRACTFAILED EMAKEHR(0x1542)
-#define COR_E_TYPEACCESS EMAKEHR(0x1543)
-#define COR_E_ACCESSING_CCW EMAKEHR(0x1544)
-#define COR_E_MAXMETHODSIZE EMAKEHR(0x1545)
-#define COR_E_KEYNOTFOUND EMAKEHR(0x1577)
-#define COR_E_INSUFFICIENTEXECUTIONSTACK EMAKEHR(0x1578)
-#define COR_E_APPLICATION EMAKEHR(0x1600)
-#define COR_E_INVALIDFILTERCRITERIA EMAKEHR(0x1601)
-#define COR_E_REFLECTIONTYPELOAD EMAKEHR(0x1602)
-#define COR_E_TARGET EMAKEHR(0x1603)
-#define COR_E_TARGETINVOCATION EMAKEHR(0x1604)
-#define COR_E_CUSTOMATTRIBUTEFORMAT EMAKEHR(0x1605)
-#define COR_E_IO EMAKEHR(0x1620)
-#define COR_E_FILELOAD EMAKEHR(0x1621)
-#define COR_E_OBJECTDISPOSED EMAKEHR(0x1622)
-#define COR_E_FAILFAST EMAKEHR(0x1623)
-#define COR_E_HOSTPROTECTION EMAKEHR(0x1640)
-#define COR_E_ILLEGAL_REENTRANCY EMAKEHR(0x1641)
-#define CLR_E_SHIM_RUNTIMELOAD EMAKEHR(0x1700)
-#define CLR_E_SHIM_RUNTIMEEXPORT EMAKEHR(0x1701)
-#define CLR_E_SHIM_INSTALLROOT EMAKEHR(0x1702)
-#define CLR_E_SHIM_INSTALLCOMP EMAKEHR(0x1703)
-#define CLR_E_SHIM_LEGACYRUNTIMEALREADYBOUND EMAKEHR(0x1704)
-#define CLR_E_SHIM_SHUTDOWNINPROGRESS EMAKEHR(0x1705)
-#define VER_E_HRESULT EMAKEHR(0x1801)
-#define VER_E_OFFSET EMAKEHR(0x1802)
-#define VER_E_OPCODE EMAKEHR(0x1803)
-#define VER_E_OPERAND EMAKEHR(0x1804)
-#define VER_E_TOKEN EMAKEHR(0x1805)
-#define VER_E_EXCEPT EMAKEHR(0x1806)
-#define VER_E_STACK_SLOT EMAKEHR(0x1807)
-#define VER_E_LOC EMAKEHR(0x1808)
-#define VER_E_ARG EMAKEHR(0x1809)
-#define VER_E_FOUND EMAKEHR(0x180a)
-#define VER_E_EXPECTED EMAKEHR(0x180b)
-#define VER_E_LOC_BYNAME EMAKEHR(0x180c)
-#define VER_E_UNKNOWN_OPCODE EMAKEHR(0x1810)
-#define VER_E_SIG_CALLCONV EMAKEHR(0x1811)
-#define VER_E_SIG_ELEMTYPE EMAKEHR(0x1812)
-#define VER_E_RET_SIG EMAKEHR(0x1814)
-#define VER_E_FIELD_SIG EMAKEHR(0x1815)
-#define VER_E_OPEN_DLGT_PROT_ACC EMAKEHR(0x1816)
-#define VER_E_INTERNAL EMAKEHR(0x1818)
-#define VER_E_STACK_TOO_LARGE EMAKEHR(0x1819)
-#define VER_E_ARRAY_NAME_LONG EMAKEHR(0x181a)
-#define VER_E_FALLTHRU EMAKEHR(0x1820)
-#define VER_E_TRY_GTEQ_END EMAKEHR(0x1821)
-#define VER_E_TRYEND_GT_CS EMAKEHR(0x1822)
-#define VER_E_HND_GTEQ_END EMAKEHR(0x1823)
-#define VER_E_HNDEND_GT_CS EMAKEHR(0x1824)
-#define VER_E_FLT_GTEQ_CS EMAKEHR(0x1825)
-#define VER_E_TRY_START EMAKEHR(0x1826)
-#define VER_E_HND_START EMAKEHR(0x1827)
-#define VER_E_FLT_START EMAKEHR(0x1828)
-#define VER_E_TRY_OVERLAP EMAKEHR(0x1829)
-#define VER_E_TRY_EQ_HND_FIL EMAKEHR(0x182a)
-#define VER_E_TRY_SHARE_FIN_FAL EMAKEHR(0x182b)
-#define VER_E_HND_OVERLAP EMAKEHR(0x182c)
-#define VER_E_HND_EQ EMAKEHR(0x182d)
-#define VER_E_FIL_OVERLAP EMAKEHR(0x182e)
-#define VER_E_FIL_EQ EMAKEHR(0x182f)
-#define VER_E_FIL_CONT_TRY EMAKEHR(0x1830)
-#define VER_E_FIL_CONT_HND EMAKEHR(0x1831)
-#define VER_E_FIL_CONT_FIL EMAKEHR(0x1832)
-#define VER_E_FIL_GTEQ_CS EMAKEHR(0x1833)
-#define VER_E_FIL_START EMAKEHR(0x1834)
-#define VER_E_FALLTHRU_EXCEP EMAKEHR(0x1835)
-#define VER_E_FALLTHRU_INTO_HND EMAKEHR(0x1836)
-#define VER_E_FALLTHRU_INTO_FIL EMAKEHR(0x1837)
-#define VER_E_LEAVE EMAKEHR(0x1838)
-#define VER_E_RETHROW EMAKEHR(0x1839)
-#define VER_E_ENDFINALLY EMAKEHR(0x183a)
-#define VER_E_ENDFILTER EMAKEHR(0x183b)
-#define VER_E_ENDFILTER_MISSING EMAKEHR(0x183c)
-#define VER_E_BR_INTO_TRY EMAKEHR(0x183d)
-#define VER_E_BR_INTO_HND EMAKEHR(0x183e)
-#define VER_E_BR_INTO_FIL EMAKEHR(0x183f)
-#define VER_E_BR_OUTOF_TRY EMAKEHR(0x1840)
-#define VER_E_BR_OUTOF_HND EMAKEHR(0x1841)
-#define VER_E_BR_OUTOF_FIL EMAKEHR(0x1842)
-#define VER_E_BR_OUTOF_FIN EMAKEHR(0x1843)
-#define VER_E_RET_FROM_TRY EMAKEHR(0x1844)
-#define VER_E_RET_FROM_HND EMAKEHR(0x1845)
-#define VER_E_RET_FROM_FIL EMAKEHR(0x1846)
-#define VER_E_BAD_JMP_TARGET EMAKEHR(0x1847)
-#define VER_E_PATH_LOC EMAKEHR(0x1848)
-#define VER_E_PATH_THIS EMAKEHR(0x1849)
-#define VER_E_PATH_STACK EMAKEHR(0x184a)
-#define VER_E_PATH_STACK_DEPTH EMAKEHR(0x184b)
-#define VER_E_THIS EMAKEHR(0x184c)
-#define VER_E_THIS_UNINIT_EXCEP EMAKEHR(0x184d)
-#define VER_E_THIS_UNINIT_STORE EMAKEHR(0x184e)
-#define VER_E_THIS_UNINIT_RET EMAKEHR(0x184f)
-#define VER_E_THIS_UNINIT_V_RET EMAKEHR(0x1850)
-#define VER_E_THIS_UNINIT_BR EMAKEHR(0x1851)
-#define VER_E_LDFTN_CTOR EMAKEHR(0x1852)
-#define VER_E_STACK_NOT_EQ EMAKEHR(0x1853)
-#define VER_E_STACK_UNEXPECTED EMAKEHR(0x1854)
-#define VER_E_STACK_EXCEPTION EMAKEHR(0x1855)
-#define VER_E_STACK_OVERFLOW EMAKEHR(0x1856)
-#define VER_E_STACK_UNDERFLOW EMAKEHR(0x1857)
-#define VER_E_STACK_EMPTY EMAKEHR(0x1858)
-#define VER_E_STACK_UNINIT EMAKEHR(0x1859)
-#define VER_E_STACK_I_I4_I8 EMAKEHR(0x185a)
-#define VER_E_STACK_R_R4_R8 EMAKEHR(0x185b)
-#define VER_E_STACK_NO_R_I8 EMAKEHR(0x185c)
-#define VER_E_STACK_NUMERIC EMAKEHR(0x185d)
-#define VER_E_STACK_OBJREF EMAKEHR(0x185e)
-#define VER_E_STACK_P_OBJREF EMAKEHR(0x185f)
-#define VER_E_STACK_BYREF EMAKEHR(0x1860)
-#define VER_E_STACK_METHOD EMAKEHR(0x1861)
-#define VER_E_STACK_ARRAY_SD EMAKEHR(0x1862)
-#define VER_E_STACK_VALCLASS EMAKEHR(0x1863)
-#define VER_E_STACK_P_VALCLASS EMAKEHR(0x1864)
-#define VER_E_STACK_NO_VALCLASS EMAKEHR(0x1865)
-#define VER_E_LOC_DEAD EMAKEHR(0x1866)
-#define VER_E_LOC_NUM EMAKEHR(0x1867)
-#define VER_E_ARG_NUM EMAKEHR(0x1868)
-#define VER_E_TOKEN_RESOLVE EMAKEHR(0x1869)
-#define VER_E_TOKEN_TYPE EMAKEHR(0x186a)
-#define VER_E_TOKEN_TYPE_MEMBER EMAKEHR(0x186b)
-#define VER_E_TOKEN_TYPE_FIELD EMAKEHR(0x186c)
-#define VER_E_TOKEN_TYPE_SIG EMAKEHR(0x186d)
-#define VER_E_UNVERIFIABLE EMAKEHR(0x186e)
-#define VER_E_LDSTR_OPERAND EMAKEHR(0x186f)
-#define VER_E_RET_PTR_TO_STACK EMAKEHR(0x1870)
-#define VER_E_RET_VOID EMAKEHR(0x1871)
-#define VER_E_RET_MISSING EMAKEHR(0x1872)
-#define VER_E_RET_EMPTY EMAKEHR(0x1873)
-#define VER_E_RET_UNINIT EMAKEHR(0x1874)
-#define VER_E_ARRAY_ACCESS EMAKEHR(0x1875)
-#define VER_E_ARRAY_V_STORE EMAKEHR(0x1876)
-#define VER_E_ARRAY_SD EMAKEHR(0x1877)
-#define VER_E_ARRAY_SD_PTR EMAKEHR(0x1878)
-#define VER_E_ARRAY_FIELD EMAKEHR(0x1879)
-#define VER_E_ARGLIST EMAKEHR(0x187a)
-#define VER_E_VALCLASS EMAKEHR(0x187b)
-#define VER_E_METHOD_ACCESS EMAKEHR(0x187c)
-#define VER_E_FIELD_ACCESS EMAKEHR(0x187d)
-#define VER_E_DEAD EMAKEHR(0x187e)
-#define VER_E_FIELD_STATIC EMAKEHR(0x187f)
-#define VER_E_FIELD_NO_STATIC EMAKEHR(0x1880)
-#define VER_E_ADDR EMAKEHR(0x1881)
-#define VER_E_ADDR_BYREF EMAKEHR(0x1882)
-#define VER_E_ADDR_LITERAL EMAKEHR(0x1883)
-#define VER_E_INITONLY EMAKEHR(0x1884)
-#define VER_E_THROW EMAKEHR(0x1885)
-#define VER_E_CALLVIRT_VALCLASS EMAKEHR(0x1886)
-#define VER_E_CALL_SIG EMAKEHR(0x1887)
-#define VER_E_CALL_STATIC EMAKEHR(0x1888)
-#define VER_E_CTOR EMAKEHR(0x1889)
-#define VER_E_CTOR_VIRT EMAKEHR(0x188a)
-#define VER_E_CTOR_OR_SUPER EMAKEHR(0x188b)
-#define VER_E_CTOR_MUL_INIT EMAKEHR(0x188c)
-#define VER_E_SIG EMAKEHR(0x188d)
-#define VER_E_SIG_ARRAY EMAKEHR(0x188e)
-#define VER_E_SIG_ARRAY_PTR EMAKEHR(0x188f)
-#define VER_E_SIG_ARRAY_BYREF EMAKEHR(0x1890)
-#define VER_E_SIG_ELEM_PTR EMAKEHR(0x1891)
-#define VER_E_SIG_VARARG EMAKEHR(0x1892)
-#define VER_E_SIG_VOID EMAKEHR(0x1893)
-#define VER_E_SIG_BYREF_BYREF EMAKEHR(0x1894)
-#define VER_E_CODE_SIZE_ZERO EMAKEHR(0x1896)
-#define VER_E_BAD_VARARG EMAKEHR(0x1897)
-#define VER_E_TAIL_CALL EMAKEHR(0x1898)
-#define VER_E_TAIL_BYREF EMAKEHR(0x1899)
-#define VER_E_TAIL_RET EMAKEHR(0x189a)
-#define VER_E_TAIL_RET_VOID EMAKEHR(0x189b)
-#define VER_E_TAIL_RET_TYPE EMAKEHR(0x189c)
-#define VER_E_TAIL_STACK_EMPTY EMAKEHR(0x189d)
-#define VER_E_METHOD_END EMAKEHR(0x189e)
-#define VER_E_BAD_BRANCH EMAKEHR(0x189f)
-#define VER_E_FIN_OVERLAP EMAKEHR(0x18a0)
-#define VER_E_LEXICAL_NESTING EMAKEHR(0x18a1)
-#define VER_E_VOLATILE EMAKEHR(0x18a2)
-#define VER_E_UNALIGNED EMAKEHR(0x18a3)
-#define VER_E_INNERMOST_FIRST EMAKEHR(0x18a4)
-#define VER_E_CALLI_VIRTUAL EMAKEHR(0x18a5)
-#define VER_E_CALL_ABSTRACT EMAKEHR(0x18a6)
-#define VER_E_STACK_UNEXP_ARRAY EMAKEHR(0x18a7)
-#define VER_E_NOT_IN_GC_HEAP EMAKEHR(0x18a8)
-#define VER_E_TRY_N_EMPTY_STACK EMAKEHR(0x18a9)
-#define VER_E_DLGT_CTOR EMAKEHR(0x18aa)
-#define VER_E_DLGT_BB EMAKEHR(0x18ab)
-#define VER_E_DLGT_PATTERN EMAKEHR(0x18ac)
-#define VER_E_DLGT_LDFTN EMAKEHR(0x18ad)
-#define VER_E_FTN_ABSTRACT EMAKEHR(0x18ae)
-#define VER_E_SIG_C_VC EMAKEHR(0x18af)
-#define VER_E_SIG_VC_C EMAKEHR(0x18b0)
-#define VER_E_BOX_PTR_TO_STACK EMAKEHR(0x18b1)
-#define VER_E_SIG_BYREF_TB_AH EMAKEHR(0x18b2)
-#define VER_E_SIG_ARRAY_TB_AH EMAKEHR(0x18b3)
-#define VER_E_ENDFILTER_STACK EMAKEHR(0x18b4)
-#define VER_E_DLGT_SIG_I EMAKEHR(0x18b5)
-#define VER_E_DLGT_SIG_O EMAKEHR(0x18b6)
-#define VER_E_RA_PTR_TO_STACK EMAKEHR(0x18b7)
-#define VER_E_CATCH_VALUE_TYPE EMAKEHR(0x18b8)
-#define VER_E_CATCH_BYREF EMAKEHR(0x18b9)
-#define VER_E_FIL_PRECEED_HND EMAKEHR(0x18ba)
-#define VER_E_LDVIRTFTN_STATIC EMAKEHR(0x18bb)
-#define VER_E_CALLVIRT_STATIC EMAKEHR(0x18bc)
-#define VER_E_INITLOCALS EMAKEHR(0x18bd)
-#define VER_E_BR_TO_EXCEPTION EMAKEHR(0x18be)
-#define VER_E_CALL_CTOR EMAKEHR(0x18bf)
-#define VER_E_VALCLASS_OBJREF_VAR EMAKEHR(0x18c0)
-#define VER_E_STACK_P_VALCLASS_OBJREF_VAR EMAKEHR(0x18c1)
-#define VER_E_SIG_VAR_PARAM EMAKEHR(0x18c2)
-#define VER_E_SIG_MVAR_PARAM EMAKEHR(0x18c3)
-#define VER_E_SIG_VAR_ARG EMAKEHR(0x18c4)
-#define VER_E_SIG_MVAR_ARG EMAKEHR(0x18c5)
-#define VER_E_SIG_GENERICINST EMAKEHR(0x18c6)
-#define VER_E_SIG_METHOD_INST EMAKEHR(0x18c7)
-#define VER_E_SIG_METHOD_PARENT_INST EMAKEHR(0x18c8)
-#define VER_E_SIG_FIELD_PARENT_INST EMAKEHR(0x18c9)
-#define VER_E_CALLCONV_NOT_GENERICINST EMAKEHR(0x18ca)
-#define VER_E_TOKEN_BAD_METHOD_SPEC EMAKEHR(0x18cb)
-#define VER_E_BAD_READONLY_PREFIX EMAKEHR(0x18cc)
-#define VER_E_BAD_CONSTRAINED_PREFIX EMAKEHR(0x18cd)
-#define VER_E_CIRCULAR_VAR_CONSTRAINTS EMAKEHR(0x18ce)
-#define VER_E_CIRCULAR_MVAR_CONSTRAINTS EMAKEHR(0x18cf)
-#define VER_E_UNSATISFIED_METHOD_INST EMAKEHR(0x18d0)
-#define VER_E_UNSATISFIED_METHOD_PARENT_INST EMAKEHR(0x18d1)
-#define VER_E_UNSATISFIED_FIELD_PARENT_INST EMAKEHR(0x18d2)
-#define VER_E_UNSATISFIED_BOX_OPERAND EMAKEHR(0x18d3)
-#define VER_E_CONSTRAINED_CALL_WITH_NON_BYREF_THIS EMAKEHR(0x18d4)
-#define VER_E_CONSTRAINED_OF_NON_VARIABLE_TYPE EMAKEHR(0x18d5)
-#define VER_E_READONLY_UNEXPECTED_CALLEE EMAKEHR(0x18d6)
-#define VER_E_READONLY_ILLEGAL_WRITE EMAKEHR(0x18d7)
-#define VER_E_READONLY_IN_MKREFANY EMAKEHR(0x18d8)
-#define VER_E_UNALIGNED_ALIGNMENT EMAKEHR(0x18d9)
-#define VER_E_TAILCALL_INSIDE_EH EMAKEHR(0x18da)
-#define VER_E_BACKWARD_BRANCH EMAKEHR(0x18db)
-#define VER_E_CALL_TO_VTYPE_BASE EMAKEHR(0x18dc)
-#define VER_E_NEWOBJ_OF_ABSTRACT_CLASS EMAKEHR(0x18dd)
-#define VER_E_UNMANAGED_POINTER EMAKEHR(0x18de)
-#define VER_E_LDFTN_NON_FINAL_VIRTUAL EMAKEHR(0x18df)
-#define VER_E_FIELD_OVERLAP EMAKEHR(0x18e0)
-#define VER_E_THIS_MISMATCH EMAKEHR(0x18e1)
-#define VER_E_STACK_I_I4 EMAKEHR(0x18e2)
-#define VER_E_BAD_PE EMAKEHR(0x18f0)
-#define VER_E_BAD_MD EMAKEHR(0x18f1)
-#define VER_E_BAD_APPDOMAIN EMAKEHR(0x18f2)
-#define VER_E_TYPELOAD EMAKEHR(0x18f3)
-#define VER_E_PE_LOAD EMAKEHR(0x18f4)
-#define VER_E_WRITE_RVA_STATIC EMAKEHR(0x18f5)
-#define VER_E_INITIALIZE_ARRAY_MISSING_TOKEN EMAKEHR(0x18f6)
-#define COR_E_SqlException EMAKEHR(0x1904)
-#define COR_E_Data EMAKEHR(0x1920)
-#define COR_E_DataDeletedRowInaccessible EMAKEHR(0x1921)
-#define COR_E_DataDuplicateName EMAKEHR(0x1922)
-#define COR_E_DataInRowChangingEvent EMAKEHR(0x1923)
-#define COR_E_DataInvalidConstraint EMAKEHR(0x1924)
-#define COR_E_DataMissingPrimaryKey EMAKEHR(0x1925)
-#define COR_E_DataNoNullAllowed EMAKEHR(0x1926)
-#define COR_E_DataReadOnly EMAKEHR(0x1927)
-#define COR_E_DataRowNotInTable EMAKEHR(0x1928)
-#define COR_E_DataVersionNotFound EMAKEHR(0x1929)
-#define COR_E_DataConstraint EMAKEHR(0x192a)
-#define COR_E_StrongTyping EMAKEHR(0x192b)
-#define COR_E_SqlType EMAKEHR(0x1930)
-#define COR_E_SqlNullValue EMAKEHR(0x1931)
-#define COR_E_SqlTruncate EMAKEHR(0x1932)
-#define COR_E_AdapterMapping EMAKEHR(0x1933)
-#define COR_E_DataAdapter EMAKEHR(0x1934)
-#define COR_E_DBConcurrency EMAKEHR(0x1935)
-#define COR_E_OperationAborted EMAKEHR(0x1936)
-#define COR_E_InvalidUdt EMAKEHR(0x1937)
-#define COR_E_OdbcException EMAKEHR(0x1937)
-#define COR_E_OracleException EMAKEHR(0x1938)
-#define COR_E_Xml EMAKEHR(0x1940)
-#define COR_E_XmlSchema EMAKEHR(0x1941)
-#define COR_E_XmlXslt EMAKEHR(0x1942)
-#define COR_E_XmlXPath EMAKEHR(0x1943)
-#define COR_E_XmlQuery EMAKEHR(0x1944)
-#define VLDTR_E_IFACE_NOTIFACE EMAKEHR(0x1b00)
-#define VLDTR_E_FD_RVAHASNORVA EMAKEHR(0x1b01)
-#define VLDTR_E_FD_RVAHASZERORVA EMAKEHR(0x1b02)
-#define VLDTR_E_MD_RVAANDIMPLMAP EMAKEHR(0x1b03)
-#define VLDTR_E_TD_EXTRAFLAGS EMAKEHR(0x1b04)
-#define VLDTR_E_TD_EXTENDSITSELF EMAKEHR(0x1b05)
-#define VLDTR_E_TD_SYSVTNOTEXTOBJ EMAKEHR(0x1b06)
-#define VLDTR_E_TD_EXTTYPESPEC EMAKEHR(0x1b07)
-#define VLDTR_E_TD_VTNOSIZE EMAKEHR(0x1b09)
-#define VLDTR_E_TD_IFACESEALED EMAKEHR(0x1b0a)
-#define VLDTR_E_NC_BADNESTED EMAKEHR(0x1b0b)
-#define VLDTR_E_NC_BADENCLOSER EMAKEHR(0x1b0c)
-#define VLDTR_E_NC_DUP EMAKEHR(0x1b0d)
-#define VLDTR_E_NC_DUPENCLOSER EMAKEHR(0x1b0e)
-#define VLDTR_E_FRVA_ZERORVA EMAKEHR(0x1b0f)
-#define VLDTR_E_FRVA_BADFIELD EMAKEHR(0x1b10)
-#define VLDTR_E_FRVA_DUPRVA EMAKEHR(0x1b11)
-#define VLDTR_E_FRVA_DUPFIELD EMAKEHR(0x1b12)
-#define VLDTR_E_EP_BADTOKEN EMAKEHR(0x1b13)
-#define VLDTR_E_EP_INSTANCE EMAKEHR(0x1b14)
-#define VLDTR_E_TD_ENUMFLDBADTYPE EMAKEHR(0x1b15)
-#define VLDTR_E_MD_BADRVA EMAKEHR(0x1b16)
-#define VLDTR_E_FD_LITERALNODEFAULT EMAKEHR(0x1b17)
-#define VLDTR_E_IFACE_METHNOTIMPL EMAKEHR(0x1b18)
-#define VLDTR_E_CA_BADPARENT EMAKEHR(0x1b19)
-#define VLDTR_E_CA_BADTYPE EMAKEHR(0x1b1a)
-#define VLDTR_E_CA_NOTCTOR EMAKEHR(0x1b1b)
-#define VLDTR_E_CA_BADSIG EMAKEHR(0x1b1c)
-#define VLDTR_E_CA_NOSIG EMAKEHR(0x1b1d)
-#define VLDTR_E_CA_BADPROLOG EMAKEHR(0x1b1e)
-#define VLDTR_E_MD_BADLOCALSIGTOK EMAKEHR(0x1b1f)
-#define VLDTR_E_MD_BADHEADER EMAKEHR(0x1b20)
-#define VLDTR_E_EP_TOOMANYARGS EMAKEHR(0x1b21)
-#define VLDTR_E_EP_BADRET EMAKEHR(0x1b22)
-#define VLDTR_E_EP_BADARG EMAKEHR(0x1b23)
-#define VLDTR_E_SIG_BADVOID EMAKEHR(0x1b24)
-#define VLDTR_E_IFACE_METHMULTIMPL EMAKEHR(0x1b25)
-#define VLDTR_E_GP_NAMENULL EMAKEHR(0x1b26)
-#define VLDTR_E_GP_OWNERNIL EMAKEHR(0x1b27)
-#define VLDTR_E_GP_DUPNAME EMAKEHR(0x1b28)
-#define VLDTR_E_GP_DUPNUMBER EMAKEHR(0x1b29)
-#define VLDTR_E_GP_NONSEQ_BY_OWNER EMAKEHR(0x1b2a)
-#define VLDTR_E_GP_NONSEQ_BY_NUMBER EMAKEHR(0x1b2b)
-#define VLDTR_E_GP_UNEXPECTED_OWNER_FOR_VARIANT_VAR EMAKEHR(0x1b2c)
-#define VLDTR_E_GP_ILLEGAL_VARIANT_MVAR EMAKEHR(0x1b2d)
-#define VLDTR_E_GP_ILLEGAL_VARIANCE_FLAGS EMAKEHR(0x1b2e)
-#define VLDTR_E_GP_REFANDVALUETYPE EMAKEHR(0x1b2f)
-#define VLDTR_E_GPC_OWNERNIL EMAKEHR(0x1b30)
-#define VLDTR_E_GPC_DUP EMAKEHR(0x1b31)
-#define VLDTR_E_GPC_NONCONTIGUOUS EMAKEHR(0x1b32)
-#define VLDTR_E_MS_METHODNIL EMAKEHR(0x1b33)
-#define VLDTR_E_MS_DUP EMAKEHR(0x1b34)
-#define VLDTR_E_MS_BADCALLINGCONV EMAKEHR(0x1b35)
-#define VLDTR_E_MS_MISSARITY EMAKEHR(0x1b36)
-#define VLDTR_E_MS_MISSARG EMAKEHR(0x1b37)
-#define VLDTR_E_MS_ARITYMISMATCH EMAKEHR(0x1b38)
-#define VLDTR_E_MS_METHODNOTGENERIC EMAKEHR(0x1b39)
-#define VLDTR_E_SIG_MISSARITY EMAKEHR(0x1b3a)
-#define VLDTR_E_SIG_ARITYMISMATCH EMAKEHR(0x1b3b)
-#define VLDTR_E_MD_GENERIC_CCTOR EMAKEHR(0x1b3c)
-#define VLDTR_E_MD_GENERIC_CTOR EMAKEHR(0x1b3d)
-#define VLDTR_E_MD_GENERIC_IMPORT EMAKEHR(0x1b3e)
-#define VLDTR_E_MD_GENERIC_BADCALLCONV EMAKEHR(0x1b3f)
-#define VLDTR_E_EP_GENERIC_METHOD EMAKEHR(0x1b40)
-#define VLDTR_E_MD_MISSARITY EMAKEHR(0x1b41)
-#define VLDTR_E_MD_ARITYZERO EMAKEHR(0x1b42)
-#define VLDTR_E_SIG_ARITYZERO EMAKEHR(0x1b43)
-#define VLDTR_E_MS_ARITYZERO EMAKEHR(0x1b44)
-#define VLDTR_E_MD_GPMISMATCH EMAKEHR(0x1b45)
-#define VLDTR_E_EP_GENERIC_TYPE EMAKEHR(0x1b46)
-#define VLDTR_E_MI_DECLNOTGENERIC EMAKEHR(0x1b47)
-#define VLDTR_E_MI_IMPLNOTGENERIC EMAKEHR(0x1b48)
-#define VLDTR_E_MI_ARITYMISMATCH EMAKEHR(0x1b49)
-#define VLDTR_E_TD_EXTBADTYPESPEC EMAKEHR(0x1b4a)
-#define VLDTR_E_SIG_BYREFINST EMAKEHR(0x1b4b)
-#define VLDTR_E_MS_BYREFINST EMAKEHR(0x1b4c)
-#define VLDTR_E_TS_EMPTY EMAKEHR(0x1b4d)
-#define VLDTR_E_TS_HASSENTINALS EMAKEHR(0x1b4e)
-#define VLDTR_E_TD_GENERICHASEXPLAYOUT EMAKEHR(0x1b4f)
-#define VLDTR_E_SIG_BADTOKTYPE EMAKEHR(0x1b50)
-#define VLDTR_E_IFACE_METHNOTIMPLTHISMOD EMAKEHR(0x1b51)
-#define TLBX_E_CIRCULAR_EXPORT2 EMAKEHR(0x1b52)
-#define CORDBG_E_THREAD_NOT_SCHEDULED EMAKEHR(0x1c00)
-#define CORDBG_E_HANDLE_HAS_BEEN_DISPOSED EMAKEHR(0x1c01)
-#define CORDBG_E_NONINTERCEPTABLE_EXCEPTION EMAKEHR(0x1c02)
-#define CORDBG_E_CANT_UNWIND_ABOVE_CALLBACK EMAKEHR(0x1c03)
-#define CORDBG_E_INTERCEPT_FRAME_ALREADY_SET EMAKEHR(0x1c04)
-#define CORDBG_E_NO_NATIVE_PATCH_AT_ADDR EMAKEHR(0x1c05)
-#define CORDBG_E_MUST_BE_INTEROP_DEBUGGING EMAKEHR(0x1c06)
-#define CORDBG_E_NATIVE_PATCH_ALREADY_AT_ADDR EMAKEHR(0x1c07)
-#define CORDBG_E_TIMEOUT EMAKEHR(0x1c08)
-#define CORDBG_E_CANT_CALL_ON_THIS_THREAD EMAKEHR(0x1c09)
-#define CORDBG_E_ENC_INFOLESS_METHOD EMAKEHR(0x1c0a)
-#define CORDBG_E_ENC_NESTED_HANLDERS EMAKEHR(0x1c0b)
-#define CORDBG_E_ENC_IN_FUNCLET EMAKEHR(0x1c0c)
-#define CORDBG_E_ENC_LOCALLOC EMAKEHR(0x1c0d)
-#define CORDBG_E_ENC_EDIT_NOT_SUPPORTED EMAKEHR(0x1c0e)
-#define CORDBG_E_FEABORT_DELAYED_UNTIL_THREAD_RESUMED EMAKEHR(0x1c0f)
-#define CORDBG_E_NOTREADY EMAKEHR(0x1c10)
-#define CORDBG_E_CANNOT_RESOLVE_ASSEMBLY EMAKEHR(0x1c11)
-#define CORDBG_E_MUST_BE_IN_LOAD_MODULE EMAKEHR(0x1c12)
-#define CORDBG_E_CANNOT_BE_ON_ATTACH EMAKEHR(0x1c13)
-#define CORDBG_E_NGEN_NOT_SUPPORTED EMAKEHR(0x1c14)
-#define CORDBG_E_ILLEGAL_SHUTDOWN_ORDER EMAKEHR(0x1c15)
-#define CORDBG_E_CANNOT_DEBUG_FIBER_PROCESS EMAKEHR(0x1c16)
-#define CORDBG_E_MUST_BE_IN_CREATE_PROCESS EMAKEHR(0x1c17)
-#define CORDBG_E_DETACH_FAILED_OUTSTANDING_EVALS EMAKEHR(0x1c18)
-#define CORDBG_E_DETACH_FAILED_OUTSTANDING_STEPPERS EMAKEHR(0x1c19)
-#define CORDBG_E_CANT_INTEROP_STEP_OUT EMAKEHR(0x1c20)
-#define CORDBG_E_DETACH_FAILED_OUTSTANDING_BREAKPOINTS EMAKEHR(0x1c21)
-#define CORDBG_E_ILLEGAL_IN_STACK_OVERFLOW EMAKEHR(0x1c22)
-#define CORDBG_E_ILLEGAL_AT_GC_UNSAFE_POINT EMAKEHR(0x1c23)
-#define CORDBG_E_ILLEGAL_IN_PROLOG EMAKEHR(0x1c24)
-#define CORDBG_E_ILLEGAL_IN_NATIVE_CODE EMAKEHR(0x1c25)
-#define CORDBG_E_ILLEGAL_IN_OPTIMIZED_CODE EMAKEHR(0x1c26)
-#define CORDBG_E_MINIDUMP_UNSUPPORTED EMAKEHR(0x1c27)
-#define CORDBG_E_APPDOMAIN_MISMATCH EMAKEHR(0x1c28)
-#define CORDBG_E_CONTEXT_UNVAILABLE EMAKEHR(0x1c29)
-#define CORDBG_E_UNCOMPATIBLE_PLATFORMS EMAKEHR(0x1c30)
-#define CORDBG_E_DEBUGGING_DISABLED EMAKEHR(0x1c31)
-#define CORDBG_E_DETACH_FAILED_ON_ENC EMAKEHR(0x1c32)
-#define CORDBG_E_CURRENT_EXCEPTION_IS_OUTSIDE_CURRENT_EXECUTION_SCOPE EMAKEHR(0x1c33)
-#define CORDBG_E_HELPER_MAY_DEADLOCK EMAKEHR(0x1c34)
-#define CORDBG_E_MISSING_METADATA EMAKEHR(0x1c35)
-#define CORDBG_E_TARGET_INCONSISTENT EMAKEHR(0x1c36)
-#define CORDBG_E_DETACH_FAILED_OUTSTANDING_TARGET_RESOURCES EMAKEHR(0x1c37)
-#define CORDBG_E_TARGET_READONLY EMAKEHR(0x1c38)
-#define CORDBG_E_MISMATCHED_CORWKS_AND_DACWKS_DLLS EMAKEHR(0x1c39)
-#define CORDBG_E_MODULE_LOADED_FROM_DISK EMAKEHR(0x1c3a)
-#define CORDBG_E_SYMBOLS_NOT_AVAILABLE EMAKEHR(0x1c3b)
-#define CORDBG_E_DEBUG_COMPONENT_MISSING EMAKEHR(0x1c3c)
-#define CORDBG_E_REMOTE_MISMATCHED_CERTS EMAKEHR(0x1c3d)
-#define CORDBG_E_REMOTE_NETWORK_FAILURE EMAKEHR(0x1c3e)
-#define CORDBG_E_REMOTE_NO_LISTENER EMAKEHR(0x1c3f)
-#define CORDBG_E_REMOTE_UNKNOWN_TARGET EMAKEHR(0x1c40)
-#define CORDBG_E_REMOTE_INVALID_CONFIG EMAKEHR(0x1c41)
-#define CORDBG_E_REMOTE_MISMATCHED_PROTOCOLS EMAKEHR(0x1c42)
-#define CORDBG_E_LIBRARY_PROVIDER_ERROR EMAKEHR(0x1c43)
-#define CORDBG_E_NOT_CLR EMAKEHR(0x1c44)
-#define CORDBG_E_MISSING_DATA_TARGET_INTERFACE EMAKEHR(0x1c45)
-#define CORDBG_E_UNSUPPORTED_DEBUGGING_MODEL EMAKEHR(0x1c46)
-#define CORDBG_E_UNSUPPORTED_FORWARD_COMPAT EMAKEHR(0x1c47)
-#define CORDBG_E_UNSUPPORTED_VERSION_STRUCT EMAKEHR(0x1c48)
-#define CORDBG_E_READVIRTUAL_FAILURE EMAKEHR(0x1c49)
-#define CORDBG_E_VALUE_POINTS_TO_FUNCTION EMAKEHR(0x1c4a)
-#define CORDBG_E_CORRUPT_OBJECT EMAKEHR(0x1c4b)
-#define CORDBG_E_GC_STRUCTURES_INVALID EMAKEHR(0x1c4c)
-#define CORDBG_E_INVALID_OPCODE EMAKEHR(0x1c4d)
-#define CORDBG_E_UNSUPPORTED EMAKEHR(0x1c4e)
-#define CORDBG_E_MISSING_DEBUGGER_EXPORTS EMAKEHR(0x1c4f)
-#define CORDBG_E_DATA_TARGET_ERROR EMAKEHR(0x1c61)
-#define CORDBG_E_CODE_HAS_NO_METADATA EMAKEHR(0x1c62)
-#define CORDBG_E_CODE_UNRECOGNIZED EMAKEHR(0x1c63)
-#define CORDBG_E_NO_IMAGE_AVAILABLE EMAKEHR(0x1c64)
-#define CORDBG_E_TYPE_NOT_FOUND EMAKEHR(0x1c65)
-#define CORDBG_E_VTABLE_HAS_NO_METADATA EMAKEHR(0x1c66)
-#define CORDBG_E_NO_GENERIC_INFO EMAKEHR(0x1c67)
-#define PEFMT_E_NO_CONTENTS EMAKEHR(0x1d00)
-#define PEFMT_E_NO_NTHEADERS EMAKEHR(0x1d01)
-#define PEFMT_E_64BIT EMAKEHR(0x1d02)
-#define PEFMT_E_NO_CORHEADER EMAKEHR(0x1d03)
-#define PEFMT_E_NOT_ILONLY EMAKEHR(0x1d04)
-#define PEFMT_E_IMPORT_DLLS EMAKEHR(0x1d05)
-#define PEFMT_E_EXE_NOENTRYPOINT EMAKEHR(0x1d06)
-#define PEFMT_E_BASE_RELOCS EMAKEHR(0x1d07)
-#define PEFMT_E_ENTRYPOINT EMAKEHR(0x1d08)
-#define PEFMT_E_ZERO_SIZEOFCODE EMAKEHR(0x1d09)
-#define PEFMT_E_BAD_CORHEADER EMAKEHR(0x1d0a)
-#define PEFMT_E_32BIT EMAKEHR(0x1d0b)
-#define CLR_OPTSVC_E_CONTROLLER_INTERRUPT EMAKEHR(0x1e00)
-#define NGEN_FAILED_GET_DEPENDENCIES EMAKEHR(0x1f00)
-#define NGEN_FAILED_NATIVE_IMAGE_DELETE EMAKEHR(0x1f01)
-#define NGEN_E_TOO_MANY_INTERFACES EMAKEHR(0x1f02)
-#define NGEN_E_OLDER_RUNTIME EMAKEHR(0x1f03)
-#define NGEN_E_WORKER_UNEXPECTED_EXIT EMAKEHR(0x1f04)
-#define NGEN_E_WORKER_UNEXPECTED_SYNC EMAKEHR(0x1f05)
-#define NGEN_E_SYS_ASM_NI_MISSING EMAKEHR(0x1f06)
-#define NGEN_E_EXE_MACHINE_TYPE_MISMATCH EMAKEHR(0x1f07)
-#define NGEN_E_ASSEMBLY_EXCLUSION_FILE_PARSE_ERROR EMAKEHR(0x1f08)
-#define NGEN_E_HARDBOUND_DEPENDENCY_MISSING EMAKEHR(0x1f09)
-#define NGEN_E_NOT_RUNNING_IN_EXPECTED_PACKAGE EMAKEHR(0x1f0a)
-#define NGEN_E_FILE_NOT_ASSEMBLY EMAKEHR(0x1f0b)
-#define CLDB_E_INTERNALERROR EMAKEHR(0x1fff)
-#define CLR_E_BIND_ASSEMBLY_VERSION_TOO_LOW EMAKEHR(0x2000)
-#define CLR_E_BIND_ASSEMBLY_PUBLIC_KEY_MISMATCH EMAKEHR(0x2001)
-#define CLR_E_BIND_IMAGE_UNAVAILABLE EMAKEHR(0x2002)
-#define CLR_E_BIND_UNRECOGNIZED_IDENTITY_FORMAT EMAKEHR(0x2003)
-#define CLR_E_BIND_ASSEMBLY_NOT_FOUND EMAKEHR(0x2004)
-#define CLR_E_BIND_TYPE_NOT_FOUND EMAKEHR(0x2005)
-#define CLR_E_BIND_SYS_ASM_NI_MISSING EMAKEHR(0x2006)
-#define CLR_E_BIND_NI_SECURITY_FAILURE EMAKEHR(0x2007)
-#define CLR_E_BIND_NI_DEP_IDENTITY_MISMATCH EMAKEHR(0x2008)
-#define CLR_E_GC_OOM EMAKEHR(0x2009)
-#define COR_E_UNAUTHORIZEDACCESS E_ACCESSDENIED
-#define COR_E_ARGUMENT E_INVALIDARG
-#define COR_E_INVALIDCAST E_NOINTERFACE
-#define COR_E_OUTOFMEMORY E_OUTOFMEMORY
-#define COR_E_NULLREFERENCE E_POINTER
-#define COR_E_ARITHMETIC __HRESULT_FROM_WIN32(ERROR_ARITHMETIC_OVERFLOW)
-#define COR_E_BAD_PATHNAME __HRESULT_FROM_WIN32(ERROR_BAD_PATHNAME)
-#define COR_E_PATHTOOLONG __HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE)
-#define COR_E_FILENOTFOUND __HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
-#define COR_E_ENDOFSTREAM __HRESULT_FROM_WIN32(ERROR_HANDLE_EOF)
-#define COR_E_DIRECTORYNOTFOUND __HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND)
-#define COR_E_STACKOVERFLOW __HRESULT_FROM_WIN32(ERROR_STACK_OVERFLOW)
-#define COR_E_AMBIGUOUSMATCH _HRESULT_TYPEDEF_(0x8000211DL)
-#define COR_E_TARGETPARAMCOUNT _HRESULT_TYPEDEF_(0x8002000EL)
-#define COR_E_DIVIDEBYZERO _HRESULT_TYPEDEF_(0x80020012L)
-#define COR_E_BADIMAGEFORMAT _HRESULT_TYPEDEF_(0x8007000BL)
-
-
-#endif // __COMMON_LANGUAGE_RUNTIME_HRESULTS__
diff --git a/src/installer/uwp/Host/UWPHost/gchost.h b/src/installer/uwp/Host/UWPHost/gchost.h
deleted file mode 100644 (file)
index 1dcc1fd..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information. 
-//
-
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0603 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-#pragma warning( disable: 4049 )  /* more than 64k source lines */
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 475
-#endif
-
-#include "rpc.h"
-#include "rpcndr.h"
-
-#ifndef __RPCNDR_H_VERSION__
-#error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
-
-#ifndef COM_NO_WINDOWS_H
-#include "windows.h"
-#include "ole2.h"
-#endif /*COM_NO_WINDOWS_H*/
-
-#ifndef __gchost_h__
-#define __gchost_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __IDummyDoNotUse_FWD_DEFINED__
-#define __IDummyDoNotUse_FWD_DEFINED__
-typedef interface IDummyDoNotUse IDummyDoNotUse;
-
-#endif         /* __IDummyDoNotUse_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "unknwn.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_gchost_0000_0000 */
-/* [local] */ 
-
-typedef struct _COR_GC_STATS
-    {
-    ULONG Flags;
-    SIZE_T ExplicitGCCount;
-    SIZE_T GenCollectionsTaken[ 3 ];
-    SIZE_T CommittedKBytes;
-    SIZE_T ReservedKBytes;
-    SIZE_T Gen0HeapSizeKBytes;
-    SIZE_T Gen1HeapSizeKBytes;
-    SIZE_T Gen2HeapSizeKBytes;
-    SIZE_T LargeObjectHeapSizeKBytes;
-    SIZE_T KBytesPromotedFromGen0;
-    SIZE_T KBytesPromotedFromGen1;
-    }  COR_GC_STATS;
-
-/*
- * WARNING - This is a dummy interface that should never be used.
- * The code is written this way because Midl requires a CoClass, Interface, etc... that generates
- * a guid.  Removing the IGCHost interface for FEATURE_INCLUDE_ALL_INTERFACES removes the only guid
- * This option was selected because ifdefs are not simple to implement for excluding files in SOURCES
-*/
-
-
-extern RPC_IF_HANDLE __MIDL_itf_gchost_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_gchost_0000_0000_v0_0_s_ifspec;
-
-#ifndef __IDummyDoNotUse_INTERFACE_DEFINED__
-#define __IDummyDoNotUse_INTERFACE_DEFINED__
-
-/* interface IDummyDoNotUse */
-/* [local][unique][uuid][object] */ 
-
-
-EXTERN_C const IID IID_IDummyDoNotUse;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("F9423916-2A35-4f03-9EE9-DDAFA3C8AEE0")
-    IDummyDoNotUse : public IUnknown
-    {
-    public:
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IDummyDoNotUseVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IDummyDoNotUse * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IDummyDoNotUse * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IDummyDoNotUse * This);
-        
-        END_INTERFACE
-    } IDummyDoNotUseVtbl;
-
-    interface IDummyDoNotUse
-    {
-        CONST_VTBL struct IDummyDoNotUseVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IDummyDoNotUse_QueryInterface(This,riid,ppvObject)     \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IDummyDoNotUse_AddRef(This)    \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IDummyDoNotUse_Release(This)   \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IDummyDoNotUse_INTERFACE_DEFINED__ */
-
-
-/* Additional Prototypes for ALL interfaces */
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
diff --git a/src/installer/uwp/Host/UWPHost/ivalidator.h b/src/installer/uwp/Host/UWPHost/ivalidator.h
deleted file mode 100644 (file)
index 583509a..0000000
+++ /dev/null
@@ -1,333 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0603 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-#pragma warning( disable: 4049 )  /* more than 64k source lines */
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 475
-#endif
-
-#include "rpc.h"
-#include "rpcndr.h"
-
-#ifndef __RPCNDR_H_VERSION__
-#error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
-
-#ifndef COM_NO_WINDOWS_H
-#include "windows.h"
-#include "ole2.h"
-#endif /*COM_NO_WINDOWS_H*/
-
-#ifndef __IValidator_h__
-#define __IValidator_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __IValidator_FWD_DEFINED__
-#define __IValidator_FWD_DEFINED__
-typedef interface IValidator IValidator;
-
-#endif         /* __IValidator_FWD_DEFINED__ */
-
-
-#ifndef __ICLRValidator_FWD_DEFINED__
-#define __ICLRValidator_FWD_DEFINED__
-typedef interface ICLRValidator ICLRValidator;
-
-#endif         /* __ICLRValidator_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "ivehandler.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_IValidator_0000_0000 */
-/* [local] */ 
-
-#pragma warning(push)
-#pragma warning(disable:28718)    
-
-
-
-enum ValidatorFlags
-    {
-        VALIDATOR_EXTRA_VERBOSE        = 0x1,
-        VALIDATOR_SHOW_SOURCE_LINES    = 0x2,
-        VALIDATOR_CHECK_ILONLY = 0x4,
-        VALIDATOR_CHECK_PEFORMAT_ONLY  = 0x8,
-        VALIDATOR_NOCHECK_PEFORMAT     = 0x10,
-        VALIDATOR_TRANSPARENT_ONLY     = 0x20
-    } ;
-
-
-extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0000_v0_0_s_ifspec;
-
-#ifndef __IValidator_INTERFACE_DEFINED__
-#define __IValidator_INTERFACE_DEFINED__
-
-/* interface IValidator */
-/* [unique][uuid][object] */ 
-
-
-EXTERN_C const IID IID_IValidator;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("63DF8730-DC81-4062-84A2-1FF943F59FAC")
-    IValidator : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Validate( 
-            /* [in] */ IVEHandler *veh,
-            /* [in] */ IUnknown *pAppDomain,
-            /* [in] */ unsigned long ulFlags,
-            /* [in] */ unsigned long ulMaxError,
-            /* [in] */ unsigned long token,
-            /* [in] */ LPWSTR fileName,
-            /* [size_is][in] */ BYTE *pe,
-            /* [in] */ unsigned long ulSize) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE FormatEventInfo( 
-            /* [in] */ HRESULT hVECode,
-            /* [in] */ VEContext Context,
-            /* [out][in] */ LPWSTR msg,
-            /* [in] */ unsigned long ulMaxLength,
-            /* [in] */ SAFEARRAY * psa) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IValidatorVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IValidator * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IValidator * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IValidator * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Validate )( 
-            IValidator * This,
-            /* [in] */ IVEHandler *veh,
-            /* [in] */ IUnknown *pAppDomain,
-            /* [in] */ unsigned long ulFlags,
-            /* [in] */ unsigned long ulMaxError,
-            /* [in] */ unsigned long token,
-            /* [in] */ LPWSTR fileName,
-            /* [size_is][in] */ BYTE *pe,
-            /* [in] */ unsigned long ulSize);
-        
-        HRESULT ( STDMETHODCALLTYPE *FormatEventInfo )( 
-            IValidator * This,
-            /* [in] */ HRESULT hVECode,
-            /* [in] */ VEContext Context,
-            /* [out][in] */ LPWSTR msg,
-            /* [in] */ unsigned long ulMaxLength,
-            /* [in] */ SAFEARRAY * psa);
-        
-        END_INTERFACE
-    } IValidatorVtbl;
-
-    interface IValidator
-    {
-        CONST_VTBL struct IValidatorVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IValidator_QueryInterface(This,riid,ppvObject) \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IValidator_AddRef(This)        \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IValidator_Release(This)       \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IValidator_Validate(This,veh,pAppDomain,ulFlags,ulMaxError,token,fileName,pe,ulSize)   \
-    ( (This)->lpVtbl -> Validate(This,veh,pAppDomain,ulFlags,ulMaxError,token,fileName,pe,ulSize) ) 
-
-#define IValidator_FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa)   \
-    ( (This)->lpVtbl -> FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IValidator_INTERFACE_DEFINED__ */
-
-
-#ifndef __ICLRValidator_INTERFACE_DEFINED__
-#define __ICLRValidator_INTERFACE_DEFINED__
-
-/* interface ICLRValidator */
-/* [unique][uuid][object] */ 
-
-
-EXTERN_C const IID IID_ICLRValidator;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("63DF8730-DC81-4062-84A2-1FF943F59FDD")
-    ICLRValidator : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Validate( 
-            /* [in] */ IVEHandler *veh,
-            /* [in] */ unsigned long ulAppDomainId,
-            /* [in] */ unsigned long ulFlags,
-            /* [in] */ unsigned long ulMaxError,
-            /* [in] */ unsigned long token,
-            /* [in] */ LPWSTR fileName,
-            /* [size_is][in] */ BYTE *pe,
-            /* [in] */ unsigned long ulSize) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE FormatEventInfo( 
-            /* [in] */ HRESULT hVECode,
-            /* [in] */ VEContext Context,
-            /* [out][in] */ LPWSTR msg,
-            /* [in] */ unsigned long ulMaxLength,
-            /* [in] */ SAFEARRAY * psa) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRValidatorVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRValidator * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRValidator * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRValidator * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Validate )( 
-            ICLRValidator * This,
-            /* [in] */ IVEHandler *veh,
-            /* [in] */ unsigned long ulAppDomainId,
-            /* [in] */ unsigned long ulFlags,
-            /* [in] */ unsigned long ulMaxError,
-            /* [in] */ unsigned long token,
-            /* [in] */ LPWSTR fileName,
-            /* [size_is][in] */ BYTE *pe,
-            /* [in] */ unsigned long ulSize);
-        
-        HRESULT ( STDMETHODCALLTYPE *FormatEventInfo )( 
-            ICLRValidator * This,
-            /* [in] */ HRESULT hVECode,
-            /* [in] */ VEContext Context,
-            /* [out][in] */ LPWSTR msg,
-            /* [in] */ unsigned long ulMaxLength,
-            /* [in] */ SAFEARRAY * psa);
-        
-        END_INTERFACE
-    } ICLRValidatorVtbl;
-
-    interface ICLRValidator
-    {
-        CONST_VTBL struct ICLRValidatorVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRValidator_QueryInterface(This,riid,ppvObject)      \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRValidator_AddRef(This)     \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRValidator_Release(This)    \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRValidator_Validate(This,veh,ulAppDomainId,ulFlags,ulMaxError,token,fileName,pe,ulSize)     \
-    ( (This)->lpVtbl -> Validate(This,veh,ulAppDomainId,ulFlags,ulMaxError,token,fileName,pe,ulSize) ) 
-
-#define ICLRValidator_FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa)        \
-    ( (This)->lpVtbl -> FormatEventInfo(This,hVECode,Context,msg,ulMaxLength,psa) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRValidator_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_IValidator_0000_0002 */
-/* [local] */ 
-
-#pragma warning(pop)
-
-
-extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0002_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_IValidator_0000_0002_v0_0_s_ifspec;
-
-/* Additional Prototypes for ALL interfaces */
-
-unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
-unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
-unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
-void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
diff --git a/src/installer/uwp/Host/UWPHost/ivehandler.h b/src/installer/uwp/Host/UWPHost/ivehandler.h
deleted file mode 100644 (file)
index bdd8cb5..0000000
+++ /dev/null
@@ -1,220 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0603 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-#pragma warning( disable: 4049 )  /* more than 64k source lines */
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 475
-#endif
-
-#include "rpc.h"
-#include "rpcndr.h"
-
-#ifndef __RPCNDR_H_VERSION__
-#error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
-
-#ifndef COM_NO_WINDOWS_H
-#include "windows.h"
-#include "ole2.h"
-#endif /*COM_NO_WINDOWS_H*/
-
-#ifndef __IVEHandler_h__
-#define __IVEHandler_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __VEHandlerClass_FWD_DEFINED__
-#define __VEHandlerClass_FWD_DEFINED__
-
-#ifdef __cplusplus
-typedef class VEHandlerClass VEHandlerClass;
-#else
-typedef struct VEHandlerClass VEHandlerClass;
-#endif /* __cplusplus */
-
-#endif         /* __VEHandlerClass_FWD_DEFINED__ */
-
-
-#ifndef __IVEHandler_FWD_DEFINED__
-#define __IVEHandler_FWD_DEFINED__
-typedef interface IVEHandler IVEHandler;
-
-#endif         /* __IVEHandler_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "unknwn.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_IVEHandler_0000_0000 */
-/* [local] */ 
-
-typedef struct tag_VerError
-    {
-    unsigned long flags;
-    unsigned long opcode;
-    unsigned long uOffset;
-    unsigned long Token;
-    unsigned long item1_flags;
-    int *item1_data;
-    unsigned long item2_flags;
-    int *item2_data;
-    }  _VerError;
-
-typedef _VerError VEContext;
-
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_IVEHandler_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_IVEHandler_0000_0000_v0_0_s_ifspec;
-
-
-#ifndef __VEHandlerLib_LIBRARY_DEFINED__
-#define __VEHandlerLib_LIBRARY_DEFINED__
-
-/* library VEHandlerLib */
-/* [helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID LIBID_VEHandlerLib;
-
-EXTERN_C const CLSID CLSID_VEHandlerClass;
-
-#ifdef __cplusplus
-
-class DECLSPEC_UUID("856CA1B1-7DAB-11d3-ACEC-00C04F86C309")
-VEHandlerClass;
-#endif
-#endif /* __VEHandlerLib_LIBRARY_DEFINED__ */
-
-#ifndef __IVEHandler_INTERFACE_DEFINED__
-#define __IVEHandler_INTERFACE_DEFINED__
-
-/* interface IVEHandler */
-/* [unique][uuid][object] */ 
-
-
-EXTERN_C const IID IID_IVEHandler;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("856CA1B2-7DAB-11d3-ACEC-00C04F86C309")
-    IVEHandler : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE VEHandler( 
-            /* [in] */ HRESULT VECode,
-            /* [in] */ VEContext Context,
-            /* [in] */ SAFEARRAY * psa) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetReporterFtn( 
-            /* [in] */ __int64 lFnPtr) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IVEHandlerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IVEHandler * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IVEHandler * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IVEHandler * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *VEHandler )( 
-            IVEHandler * This,
-            /* [in] */ HRESULT VECode,
-            /* [in] */ VEContext Context,
-            /* [in] */ SAFEARRAY * psa);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetReporterFtn )( 
-            IVEHandler * This,
-            /* [in] */ __int64 lFnPtr);
-        
-        END_INTERFACE
-    } IVEHandlerVtbl;
-
-    interface IVEHandler
-    {
-        CONST_VTBL struct IVEHandlerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IVEHandler_QueryInterface(This,riid,ppvObject) \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IVEHandler_AddRef(This)        \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IVEHandler_Release(This)       \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IVEHandler_VEHandler(This,VECode,Context,psa)  \
-    ( (This)->lpVtbl -> VEHandler(This,VECode,Context,psa) ) 
-
-#define IVEHandler_SetReporterFtn(This,lFnPtr) \
-    ( (This)->lpVtbl -> SetReporterFtn(This,lFnPtr) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IVEHandler_INTERFACE_DEFINED__ */
-
-
-/* Additional Prototypes for ALL interfaces */
-
-unsigned long             __RPC_USER  LPSAFEARRAY_UserSize(     unsigned long *, unsigned long            , LPSAFEARRAY * ); 
-unsigned char * __RPC_USER  LPSAFEARRAY_UserMarshal(  unsigned long *, unsigned char *, LPSAFEARRAY * ); 
-unsigned char * __RPC_USER  LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * ); 
-void                      __RPC_USER  LPSAFEARRAY_UserFree(     unsigned long *, LPSAFEARRAY * ); 
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
-
diff --git a/src/installer/uwp/Host/UWPHost/mscoree.h b/src/installer/uwp/Host/UWPHost/mscoree.h
deleted file mode 100644 (file)
index 56f4160..0000000
+++ /dev/null
@@ -1,2929 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0603 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-#pragma warning( disable: 4049 )  /* more than 64k source lines */
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 475
-#endif
-
-#include "rpc.h"
-#include "rpcndr.h"
-
-#ifndef __RPCNDR_H_VERSION__
-#error this stub requires an updated version of <rpcndr.h>
-#endif // __RPCNDR_H_VERSION__
-
-#ifndef COM_NO_WINDOWS_H
-#include "windows.h"
-#include "ole2.h"
-#endif /*COM_NO_WINDOWS_H*/
-
-#ifndef __mscoree_h__
-#define __mscoree_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __IDebuggerThreadControl_FWD_DEFINED__
-#define __IDebuggerThreadControl_FWD_DEFINED__
-typedef interface IDebuggerThreadControl IDebuggerThreadControl;
-
-#endif         /* __IDebuggerThreadControl_FWD_DEFINED__ */
-
-
-#ifndef __IDebuggerInfo_FWD_DEFINED__
-#define __IDebuggerInfo_FWD_DEFINED__
-typedef interface IDebuggerInfo IDebuggerInfo;
-
-#endif         /* __IDebuggerInfo_FWD_DEFINED__ */
-
-
-#ifndef __ICLRErrorReportingManager_FWD_DEFINED__
-#define __ICLRErrorReportingManager_FWD_DEFINED__
-typedef interface ICLRErrorReportingManager ICLRErrorReportingManager;
-
-#endif         /* __ICLRErrorReportingManager_FWD_DEFINED__ */
-
-
-#ifndef __ICLRErrorReportingManager2_FWD_DEFINED__
-#define __ICLRErrorReportingManager2_FWD_DEFINED__
-typedef interface ICLRErrorReportingManager2 ICLRErrorReportingManager2;
-
-#endif         /* __ICLRErrorReportingManager2_FWD_DEFINED__ */
-
-
-#ifndef __ICLRPolicyManager_FWD_DEFINED__
-#define __ICLRPolicyManager_FWD_DEFINED__
-typedef interface ICLRPolicyManager ICLRPolicyManager;
-
-#endif         /* __ICLRPolicyManager_FWD_DEFINED__ */
-
-
-#ifndef __ICLRGCManager_FWD_DEFINED__
-#define __ICLRGCManager_FWD_DEFINED__
-typedef interface ICLRGCManager ICLRGCManager;
-
-#endif         /* __ICLRGCManager_FWD_DEFINED__ */
-
-
-#ifndef __ICLRGCManager2_FWD_DEFINED__
-#define __ICLRGCManager2_FWD_DEFINED__
-typedef interface ICLRGCManager2 ICLRGCManager2;
-
-#endif         /* __ICLRGCManager2_FWD_DEFINED__ */
-
-
-#ifndef __IHostControl_FWD_DEFINED__
-#define __IHostControl_FWD_DEFINED__
-typedef interface IHostControl IHostControl;
-
-#endif         /* __IHostControl_FWD_DEFINED__ */
-
-
-#ifndef __ICLRControl_FWD_DEFINED__
-#define __ICLRControl_FWD_DEFINED__
-typedef interface ICLRControl ICLRControl;
-
-#endif         /* __ICLRControl_FWD_DEFINED__ */
-
-
-#ifndef __ICLRRuntimeHost_FWD_DEFINED__
-#define __ICLRRuntimeHost_FWD_DEFINED__
-typedef interface ICLRRuntimeHost ICLRRuntimeHost;
-
-#endif         /* __ICLRRuntimeHost_FWD_DEFINED__ */
-
-
-#ifndef __ICLRRuntimeHost2_FWD_DEFINED__
-#define __ICLRRuntimeHost2_FWD_DEFINED__
-typedef interface ICLRRuntimeHost2 ICLRRuntimeHost2;
-
-#endif         /* __ICLRRuntimeHost2_FWD_DEFINED__ */
-
-
-#ifndef __ICLRExecutionManager_FWD_DEFINED__
-#define __ICLRExecutionManager_FWD_DEFINED__
-typedef interface ICLRExecutionManager ICLRExecutionManager;
-
-#endif         /* __ICLRExecutionManager_FWD_DEFINED__ */
-
-
-#ifndef __IHostNetCFDebugControlManager_FWD_DEFINED__
-#define __IHostNetCFDebugControlManager_FWD_DEFINED__
-typedef interface IHostNetCFDebugControlManager IHostNetCFDebugControlManager;
-
-#endif         /* __IHostNetCFDebugControlManager_FWD_DEFINED__ */
-
-
-#ifndef __ITypeName_FWD_DEFINED__
-#define __ITypeName_FWD_DEFINED__
-typedef interface ITypeName ITypeName;
-
-#endif         /* __ITypeName_FWD_DEFINED__ */
-
-
-#ifndef __ITypeNameBuilder_FWD_DEFINED__
-#define __ITypeNameBuilder_FWD_DEFINED__
-typedef interface ITypeNameBuilder ITypeNameBuilder;
-
-#endif         /* __ITypeNameBuilder_FWD_DEFINED__ */
-
-
-#ifndef __ITypeNameFactory_FWD_DEFINED__
-#define __ITypeNameFactory_FWD_DEFINED__
-typedef interface ITypeNameFactory ITypeNameFactory;
-
-#endif         /* __ITypeNameFactory_FWD_DEFINED__ */
-
-
-#ifndef __IManagedObject_FWD_DEFINED__
-#define __IManagedObject_FWD_DEFINED__
-typedef interface IManagedObject IManagedObject;
-
-#endif         /* __IManagedObject_FWD_DEFINED__ */
-
-
-#ifndef __ComCallUnmarshal_FWD_DEFINED__
-#define __ComCallUnmarshal_FWD_DEFINED__
-
-#ifdef __cplusplus
-typedef class ComCallUnmarshal ComCallUnmarshal;
-#else
-typedef struct ComCallUnmarshal ComCallUnmarshal;
-#endif /* __cplusplus */
-
-#endif         /* __ComCallUnmarshal_FWD_DEFINED__ */
-
-
-#ifndef __ComCallUnmarshalV4_FWD_DEFINED__
-#define __ComCallUnmarshalV4_FWD_DEFINED__
-
-#ifdef __cplusplus
-typedef class ComCallUnmarshalV4 ComCallUnmarshalV4;
-#else
-typedef struct ComCallUnmarshalV4 ComCallUnmarshalV4;
-#endif /* __cplusplus */
-
-#endif         /* __ComCallUnmarshalV4_FWD_DEFINED__ */
-
-
-#ifndef __CLRRuntimeHost_FWD_DEFINED__
-#define __CLRRuntimeHost_FWD_DEFINED__
-
-#ifdef __cplusplus
-typedef class CLRRuntimeHost CLRRuntimeHost;
-#else
-typedef struct CLRRuntimeHost CLRRuntimeHost;
-#endif /* __cplusplus */
-
-#endif         /* __CLRRuntimeHost_FWD_DEFINED__ */
-
-
-#ifndef __TypeNameFactory_FWD_DEFINED__
-#define __TypeNameFactory_FWD_DEFINED__
-
-#ifdef __cplusplus
-typedef class TypeNameFactory TypeNameFactory;
-#else
-typedef struct TypeNameFactory TypeNameFactory;
-#endif /* __cplusplus */
-
-#endif         /* __TypeNameFactory_FWD_DEFINED__ */
-
-
-#ifndef __ICLRAppDomainResourceMonitor_FWD_DEFINED__
-#define __ICLRAppDomainResourceMonitor_FWD_DEFINED__
-typedef interface ICLRAppDomainResourceMonitor ICLRAppDomainResourceMonitor;
-
-#endif         /* __ICLRAppDomainResourceMonitor_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "unknwn.h"
-#include "gchost.h"
-#include "ivalidator.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_mscoree_0000_0000 */
-/* [local] */ 
-
-#define DECLARE_DEPRECATED 
-#define DEPRECATED_CLR_STDAPI STDAPI
-
-struct IActivationFactory;
-
-#define        CLR_MAJOR_VERSION       ( 4 )
-
-#define        CLR_MINOR_VERSION       ( 0 )
-
-#define        CLR_BUILD_VERSION       ( 23203 )
-
-#define        CLR_ASSEMBLY_MAJOR_VERSION      ( 4 )
-
-#define        CLR_ASSEMBLY_MINOR_VERSION      ( 0 )
-
-#define        CLR_ASSEMBLY_BUILD_VERSION      ( 0 )
-
-EXTERN_GUID(CLSID_TypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x25);
-EXTERN_GUID(CLSID_ComCallUnmarshal, 0x3F281000,0xE95A,0x11d2,0x88,0x6B,0x00,0xC0,0x4F,0x86,0x9F,0x04);
-EXTERN_GUID(CLSID_ComCallUnmarshalV4, 0x45fb4600,0xe6e8,0x4928,0xb2,0x5e,0x50,0x47,0x6f,0xf7,0x94,0x25);
-EXTERN_GUID(IID_IManagedObject, 0xc3fcc19e, 0xa970, 0x11d2, 0x8b, 0x5a, 0x00, 0xa0, 0xc9, 0xb7, 0xc9, 0xc4);
-EXTERN_GUID(IID_ICLRAppDomainResourceMonitor, 0XC62DE18C, 0X2E23, 0X4AEA, 0X84, 0X23, 0XB4, 0X0C, 0X1F, 0XC5, 0X9E, 0XAE);
-EXTERN_GUID(IID_ICLRPolicyManager, 0x7D290010, 0xD781, 0x45da, 0xA6, 0xF8, 0xAA, 0x5D, 0x71, 0x1A, 0x73, 0x0E);
-EXTERN_GUID(IID_ICLRGCManager, 0x54D9007E, 0xA8E2, 0x4885, 0xB7, 0xBF, 0xF9, 0x98, 0xDE, 0xEE, 0x4F, 0x2A);
-EXTERN_GUID(IID_ICLRGCManager2, 0x0603B793, 0xA97A, 0x4712, 0x9C, 0xB4, 0x0C, 0xD1, 0xC7, 0x4C, 0x0F, 0x7C);
-EXTERN_GUID(IID_ICLRErrorReportingManager, 0x980d2f1a, 0xbf79, 0x4c08, 0x81, 0x2a, 0xbb, 0x97, 0x78, 0x92, 0x8f, 0x78);
-EXTERN_GUID(IID_ICLRErrorReportingManager2, 0xc68f63b1, 0x4d8b, 0x4e0b, 0x95, 0x64, 0x9d, 0x2e, 0xfe, 0x2f, 0xa1, 0x8c);
-EXTERN_GUID(IID_ICLRRuntimeHost, 0x90F1A06C, 0x7712, 0x4762, 0x86, 0xB5, 0x7A, 0x5E, 0xBA, 0x6B, 0xDB, 0x02);
-EXTERN_GUID(IID_ICLRRuntimeHost2, 0x712AB73F, 0x2C22, 0x4807, 0xAD, 0x7E, 0xF5, 0x01, 0xD7, 0xb7, 0x2C, 0x2D);
-EXTERN_GUID(IID_ICLRExecutionManager, 0x1000A3E7, 0xB420, 0x4620, 0xAE, 0x30, 0xFB, 0x19, 0xB5, 0x87, 0xAD, 0x1D);
-EXTERN_GUID(IID_ITypeName, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x22);
-EXTERN_GUID(IID_ITypeNameBuilder, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x23);
-EXTERN_GUID(IID_ITypeNameFactory, 0xB81FF171, 0x20F3, 0x11d2, 0x8d, 0xcc, 0x00, 0xa0, 0xc9, 0xb0, 0x05, 0x21);
-DEPRECATED_CLR_STDAPI GetCORSystemDirectory(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD  cchBuffer, DWORD* dwLength);
-DEPRECATED_CLR_STDAPI GetCORVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbBuffer, DWORD cchBuffer, DWORD* dwLength);
-DEPRECATED_CLR_STDAPI GetFileVersion(LPCWSTR szFilename, _Out_writes_to_opt_(cchBuffer, *dwLength) LPWSTR szBuffer, DWORD cchBuffer, DWORD* dwLength);
-DEPRECATED_CLR_STDAPI GetCORRequiredVersion(_Out_writes_to_(cchBuffer, *dwLength) LPWSTR pbuffer, DWORD cchBuffer, DWORD* dwLength);
-DEPRECATED_CLR_STDAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWSTR pConfigurationFile, DWORD startupFlags, DWORD runtimeInfoFlags, _Out_writes_opt_(dwDirectory) LPWSTR pDirectory, DWORD dwDirectory, _Out_opt_ DWORD *dwDirectoryLength, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwlength);
-DEPRECATED_CLR_STDAPI GetRequestedRuntimeVersion(_In_ LPWSTR pExe, _Out_writes_to_(cchBuffer, *dwLength) LPWSTR pVersion, DWORD cchBuffer, _Out_ DWORD* dwLength);
-DEPRECATED_CLR_STDAPI CorBindToRuntimeHost(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, LPCWSTR pwszHostConfigFile, VOID* pReserved, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
-DEPRECATED_CLR_STDAPI CorBindToRuntimeEx(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, DWORD startupFlags, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
-DEPRECATED_CLR_STDAPI CorBindToRuntimeByCfg(IStream* pCfgStream, DWORD reserved, DWORD startupFlags, REFCLSID rclsid,REFIID riid, LPVOID FAR* ppv);
-DEPRECATED_CLR_STDAPI CorBindToRuntime(LPCWSTR pwszVersion, LPCWSTR pwszBuildFlavor, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
-DEPRECATED_CLR_STDAPI CorBindToCurrentRuntime(LPCWSTR pwszFileName, REFCLSID rclsid, REFIID riid, LPVOID FAR *ppv);
-DEPRECATED_CLR_STDAPI ClrCreateManagedInstance(LPCWSTR pTypeName, REFIID riid, void **ppObject);
-DECLARE_DEPRECATED void STDMETHODCALLTYPE CorMarkThreadInThreadPool();
-DEPRECATED_CLR_STDAPI RunDll32ShimW(HWND hwnd, HINSTANCE hinst, LPCWSTR lpszCmdLine, int nCmdShow);
-DEPRECATED_CLR_STDAPI LoadLibraryShim(LPCWSTR szDllName, LPCWSTR szVersion, LPVOID pvReserved, HMODULE *phModDll);
-DEPRECATED_CLR_STDAPI CallFunctionShim(LPCWSTR szDllName, LPCSTR szFunctionName, LPVOID lpvArgument1, LPVOID lpvArgument2, LPCWSTR szVersion, LPVOID pvReserved);
-DEPRECATED_CLR_STDAPI GetRealProcAddress(LPCSTR pwszProcName, VOID** ppv);
-DECLARE_DEPRECATED void STDMETHODCALLTYPE CorExitProcess(int exitCode);
-DEPRECATED_CLR_STDAPI LoadStringRC(UINT iResouceID, _Out_writes_z_(iMax) LPWSTR szBuffer, int iMax, int bQuiet);
-typedef HRESULT  (STDAPICALLTYPE *FnGetCLRRuntimeHost)(REFIID riid, IUnknown **pUnk);
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0000_0001
-    {
-        HOST_TYPE_DEFAULT      = 0,
-        HOST_TYPE_APPLAUNCH    = 0x1,
-        HOST_TYPE_CORFLAG      = 0x2
-    }  HOST_TYPE;
-
-STDAPI CorLaunchApplication(HOST_TYPE dwClickOnceHost, LPCWSTR pwzAppFullName, DWORD dwManifestPaths, LPCWSTR* ppwzManifestPaths, DWORD dwActivationData, LPCWSTR* ppwzActivationData, LPPROCESS_INFORMATION lpProcessInformation);
-typedef HRESULT ( __stdcall *FExecuteInAppDomainCallback )( 
-    void *cookie);
-
-typedef /* [public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0000_0002
-    {
-        STARTUP_CONCURRENT_GC  = 0x1,
-        STARTUP_LOADER_OPTIMIZATION_MASK       = ( 0x3 << 1 ) ,
-        STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN      = ( 0x1 << 1 ) ,
-        STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN       = ( 0x2 << 1 ) ,
-        STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST  = ( 0x3 << 1 ) ,
-        STARTUP_LOADER_SAFEMODE        = 0x10,
-        STARTUP_LOADER_SETPREFERENCE   = 0x100,
-        STARTUP_SERVER_GC      = 0x1000,
-        STARTUP_HOARD_GC_VM    = 0x2000,
-        STARTUP_SINGLE_VERSION_HOSTING_INTERFACE       = 0x4000,
-        STARTUP_LEGACY_IMPERSONATION   = 0x10000,
-        STARTUP_DISABLE_COMMITTHREADSTACK      = 0x20000,
-        STARTUP_ALWAYSFLOW_IMPERSONATION       = 0x40000,
-        STARTUP_TRIM_GC_COMMIT = 0x80000,
-        STARTUP_ETW    = 0x100000,
-        STARTUP_ARM    = 0x400000,
-        STARTUP_SINGLE_APPDOMAIN       = 0x800000,
-        STARTUP_APPX_APP_MODEL = 0x1000000,
-        STARTUP_DISABLE_RANDOMIZED_STRING_HASHING      = 0x2000000
-    }  STARTUP_FLAGS;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0000_0003
-    {
-        CLSID_RESOLUTION_DEFAULT       = 0,
-        CLSID_RESOLUTION_REGISTERED    = 0x1
-    }  CLSID_RESOLUTION_FLAGS;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0000_0004
-    {
-        RUNTIME_INFO_UPGRADE_VERSION   = 0x1,
-        RUNTIME_INFO_REQUEST_IA64      = 0x2,
-        RUNTIME_INFO_REQUEST_AMD64     = 0x4,
-        RUNTIME_INFO_REQUEST_X86       = 0x8,
-        RUNTIME_INFO_DONT_RETURN_DIRECTORY     = 0x10,
-        RUNTIME_INFO_DONT_RETURN_VERSION       = 0x20,
-        RUNTIME_INFO_DONT_SHOW_ERROR_DIALOG    = 0x40,
-        RUNTIME_INFO_IGNORE_ERROR_MODE = 0x1000
-    }  RUNTIME_INFO_FLAGS;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0000_0005
-    {
-        APPDOMAIN_SECURITY_DEFAULT     = 0,
-        APPDOMAIN_SECURITY_SANDBOXED   = 0x1,
-        APPDOMAIN_SECURITY_FORBID_CROSSAD_REVERSE_PINVOKE      = 0x2,
-        APPDOMAIN_IGNORE_UNHANDLED_EXCEPTIONS  = 0x4,
-        APPDOMAIN_FORCE_TRIVIAL_WAIT_OPERATIONS        = 0x8,
-        APPDOMAIN_ENABLE_PINVOKE_AND_CLASSIC_COMINTEROP        = 0x10,
-        APPDOMAIN_SET_TEST_KEY = 0x20,
-        APPDOMAIN_ENABLE_PLATFORM_SPECIFIC_APPS        = 0x40,
-        APPDOMAIN_ENABLE_ASSEMBLY_LOADFILE     = 0x80,
-        APPDOMAIN_DISABLE_TRANSPARENCY_ENFORCEMENT     = 0x100
-    }  APPDOMAIN_SECURITY_FLAGS;
-
-STDAPI GetRequestedRuntimeVersionForCLSID(REFCLSID rclsid, _Out_writes_opt_(cchBuffer) LPWSTR pVersion, DWORD cchBuffer, _Out_opt_ DWORD* dwLength, CLSID_RESOLUTION_FLAGS dwResolutionFlags);
-EXTERN_GUID(IID_IDebuggerThreadControl, 0x23d86786, 0x0bb5, 0x4774, 0x8f, 0xb5, 0xe3, 0x52, 0x2a, 0xdd, 0x62, 0x46);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0000_v0_0_s_ifspec;
-
-#ifndef __IDebuggerThreadControl_INTERFACE_DEFINED__
-#define __IDebuggerThreadControl_INTERFACE_DEFINED__
-
-/* interface IDebuggerThreadControl */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_IDebuggerThreadControl;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("23D86786-0BB5-4774-8FB5-E3522ADD6246")
-    IDebuggerThreadControl : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE ThreadIsBlockingForDebugger( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ReleaseAllRuntimeThreads( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE StartBlockingForDebugger( 
-            DWORD dwUnused) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IDebuggerThreadControlVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IDebuggerThreadControl * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IDebuggerThreadControl * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IDebuggerThreadControl * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *ThreadIsBlockingForDebugger )( 
-            IDebuggerThreadControl * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *ReleaseAllRuntimeThreads )( 
-            IDebuggerThreadControl * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *StartBlockingForDebugger )( 
-            IDebuggerThreadControl * This,
-            DWORD dwUnused);
-        
-        END_INTERFACE
-    } IDebuggerThreadControlVtbl;
-
-    interface IDebuggerThreadControl
-    {
-        CONST_VTBL struct IDebuggerThreadControlVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IDebuggerThreadControl_QueryInterface(This,riid,ppvObject)     \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IDebuggerThreadControl_AddRef(This)    \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IDebuggerThreadControl_Release(This)   \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IDebuggerThreadControl_ThreadIsBlockingForDebugger(This)       \
-    ( (This)->lpVtbl -> ThreadIsBlockingForDebugger(This) ) 
-
-#define IDebuggerThreadControl_ReleaseAllRuntimeThreads(This)  \
-    ( (This)->lpVtbl -> ReleaseAllRuntimeThreads(This) ) 
-
-#define IDebuggerThreadControl_StartBlockingForDebugger(This,dwUnused) \
-    ( (This)->lpVtbl -> StartBlockingForDebugger(This,dwUnused) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IDebuggerThreadControl_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0001 */
-/* [local] */ 
-
-EXTERN_GUID(IID_IDebuggerInfo, 0xbf24142d, 0xa47d, 0x4d24, 0xa6, 0x6d, 0x8c, 0x21, 0x41, 0x94, 0x4e, 0x44);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0001_v0_0_s_ifspec;
-
-#ifndef __IDebuggerInfo_INTERFACE_DEFINED__
-#define __IDebuggerInfo_INTERFACE_DEFINED__
-
-/* interface IDebuggerInfo */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_IDebuggerInfo;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("BF24142D-A47D-4d24-A66D-8C2141944E44")
-    IDebuggerInfo : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE IsDebuggerAttached( 
-            /* [out] */ BOOL *pbAttached) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IDebuggerInfoVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IDebuggerInfo * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IDebuggerInfo * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IDebuggerInfo * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *IsDebuggerAttached )( 
-            IDebuggerInfo * This,
-            /* [out] */ BOOL *pbAttached);
-        
-        END_INTERFACE
-    } IDebuggerInfoVtbl;
-
-    interface IDebuggerInfo
-    {
-        CONST_VTBL struct IDebuggerInfoVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IDebuggerInfo_QueryInterface(This,riid,ppvObject)      \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IDebuggerInfo_AddRef(This)     \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IDebuggerInfo_Release(This)    \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IDebuggerInfo_IsDebuggerAttached(This,pbAttached)      \
-    ( (This)->lpVtbl -> IsDebuggerAttached(This,pbAttached) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IDebuggerInfo_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0002 */
-/* [local] */ 
-
-typedef void *HDOMAINENUM;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0001
-    {
-        eMemoryAvailableLow    = 1,
-        eMemoryAvailableNeutral        = 2,
-        eMemoryAvailableHigh   = 3
-    }  EMemoryAvailable;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0002
-    {
-        eTaskCritical  = 0,
-        eAppDomainCritical     = 1,
-        eProcessCritical       = 2
-    }  EMemoryCriticalLevel;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0003
-    {
-        WAIT_MSGPUMP   = 0x1,
-        WAIT_ALERTABLE = 0x2,
-        WAIT_NOTINDEADLOCK     = 0x4
-    }  WAIT_OPTION;
-
-typedef UINT64 TASKID;
-
-typedef DWORD CONNID;
-
-typedef 
-enum ETaskType
-    {
-        TT_DEBUGGERHELPER      = 0x1,
-        TT_GC  = 0x2,
-        TT_FINALIZER   = 0x4,
-        TT_THREADPOOL_TIMER    = 0x8,
-        TT_THREADPOOL_GATE     = 0x10,
-        TT_THREADPOOL_WORKER   = 0x20,
-        TT_THREADPOOL_IOCOMPLETION     = 0x40,
-        TT_ADUNLOAD    = 0x80,
-        TT_USER        = 0x100,
-        TT_THREADPOOL_WAIT     = 0x200,
-        TT_UNKNOWN     = 0x80000000
-    }  ETaskType;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0004
-    {
-        eSymbolReadingNever    = 0,
-        eSymbolReadingAlways   = 1,
-        eSymbolReadingFullTrustOnly    = 2
-    }  ESymbolReadingPolicy;
-
-typedef /* [public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0005
-    {
-        DUMP_FLAVOR_Mini       = 0,
-        DUMP_FLAVOR_CriticalCLRState   = 1,
-        DUMP_FLAVOR_NonHeapCLRState    = 2,
-        DUMP_FLAVOR_Default    = DUMP_FLAVOR_Mini
-    }  ECustomDumpFlavor;
-
-typedef /* [public][public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0006
-    {
-        DUMP_ITEM_None = 0
-    }  ECustomDumpItemKind;
-
-typedef /* [public][public] */ struct __MIDL___MIDL_itf_mscoree_0000_0002_0007
-    {
-    ECustomDumpItemKind itemKind;
-    union 
-        {
-        UINT_PTR pReserved;
-        }      ;
-    }  CustomDumpItem;
-
-#define        BucketParamsCount       ( 10 )
-
-#define        BucketParamLength       ( 255 )
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0002_0009
-    {
-        Parameter1     = 0,
-        Parameter2     = ( Parameter1 + 1 ) ,
-        Parameter3     = ( Parameter2 + 1 ) ,
-        Parameter4     = ( Parameter3 + 1 ) ,
-        Parameter5     = ( Parameter4 + 1 ) ,
-        Parameter6     = ( Parameter5 + 1 ) ,
-        Parameter7     = ( Parameter6 + 1 ) ,
-        Parameter8     = ( Parameter7 + 1 ) ,
-        Parameter9     = ( Parameter8 + 1 ) ,
-        InvalidBucketParamIndex        = ( Parameter9 + 1 ) 
-    }  BucketParameterIndex;
-
-typedef struct _BucketParameters
-    {
-    BOOL fInited;
-    WCHAR pszEventTypeName[ 255 ];
-    WCHAR pszParams[ 10 ][ 255 ];
-    }  BucketParameters;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0002_v0_0_s_ifspec;
-
-#ifndef __ICLRErrorReportingManager_INTERFACE_DEFINED__
-#define __ICLRErrorReportingManager_INTERFACE_DEFINED__
-
-/* interface ICLRErrorReportingManager */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRErrorReportingManager;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("980D2F1A-BF79-4c08-812A-BB9778928F78")
-    ICLRErrorReportingManager : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetBucketParametersForCurrentException( 
-            /* [out] */ BucketParameters *pParams) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE BeginCustomDump( 
-            /* [in] */ ECustomDumpFlavor dwFlavor,
-            /* [in] */ DWORD dwNumItems,
-            /* [length_is][size_is][in] */ CustomDumpItem *items,
-            DWORD dwReserved) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE EndCustomDump( void) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRErrorReportingManagerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRErrorReportingManager * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRErrorReportingManager * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRErrorReportingManager * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )( 
-            ICLRErrorReportingManager * This,
-            /* [out] */ BucketParameters *pParams);
-        
-        HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )( 
-            ICLRErrorReportingManager * This,
-            /* [in] */ ECustomDumpFlavor dwFlavor,
-            /* [in] */ DWORD dwNumItems,
-            /* [length_is][size_is][in] */ CustomDumpItem *items,
-            DWORD dwReserved);
-        
-        HRESULT ( STDMETHODCALLTYPE *EndCustomDump )( 
-            ICLRErrorReportingManager * This);
-        
-        END_INTERFACE
-    } ICLRErrorReportingManagerVtbl;
-
-    interface ICLRErrorReportingManager
-    {
-        CONST_VTBL struct ICLRErrorReportingManagerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRErrorReportingManager_QueryInterface(This,riid,ppvObject)  \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRErrorReportingManager_AddRef(This) \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRErrorReportingManager_Release(This)        \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRErrorReportingManager_GetBucketParametersForCurrentException(This,pParams) \
-    ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) ) 
-
-#define ICLRErrorReportingManager_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved)   \
-    ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) ) 
-
-#define ICLRErrorReportingManager_EndCustomDump(This)  \
-    ( (This)->lpVtbl -> EndCustomDump(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRErrorReportingManager_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0003 */
-/* [local] */ 
-
-typedef /* [public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0003_0001
-    {
-        ApplicationID  = 0x1,
-        InstanceID     = 0x2
-    }  ApplicationDataKey;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0003_v0_0_s_ifspec;
-
-#ifndef __ICLRErrorReportingManager2_INTERFACE_DEFINED__
-#define __ICLRErrorReportingManager2_INTERFACE_DEFINED__
-
-/* interface ICLRErrorReportingManager2 */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRErrorReportingManager2;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("C68F63B1-4D8B-4E0B-9564-9D2EFE2FA18C")
-    ICLRErrorReportingManager2 : public ICLRErrorReportingManager
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE SetApplicationData( 
-            /* [in] */ ApplicationDataKey key,
-            /* [in] */ const WCHAR *pValue) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetBucketParametersForUnhandledException( 
-            /* [in] */ const BucketParameters *pBucketParams,
-            /* [out] */ DWORD *pCountParams) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRErrorReportingManager2Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRErrorReportingManager2 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRErrorReportingManager2 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRErrorReportingManager2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetBucketParametersForCurrentException )( 
-            ICLRErrorReportingManager2 * This,
-            /* [out] */ BucketParameters *pParams);
-        
-        HRESULT ( STDMETHODCALLTYPE *BeginCustomDump )( 
-            ICLRErrorReportingManager2 * This,
-            /* [in] */ ECustomDumpFlavor dwFlavor,
-            /* [in] */ DWORD dwNumItems,
-            /* [length_is][size_is][in] */ CustomDumpItem *items,
-            DWORD dwReserved);
-        
-        HRESULT ( STDMETHODCALLTYPE *EndCustomDump )( 
-            ICLRErrorReportingManager2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetApplicationData )( 
-            ICLRErrorReportingManager2 * This,
-            /* [in] */ ApplicationDataKey key,
-            /* [in] */ const WCHAR *pValue);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetBucketParametersForUnhandledException )( 
-            ICLRErrorReportingManager2 * This,
-            /* [in] */ const BucketParameters *pBucketParams,
-            /* [out] */ DWORD *pCountParams);
-        
-        END_INTERFACE
-    } ICLRErrorReportingManager2Vtbl;
-
-    interface ICLRErrorReportingManager2
-    {
-        CONST_VTBL struct ICLRErrorReportingManager2Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRErrorReportingManager2_QueryInterface(This,riid,ppvObject) \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRErrorReportingManager2_AddRef(This)        \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRErrorReportingManager2_Release(This)       \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRErrorReportingManager2_GetBucketParametersForCurrentException(This,pParams)        \
-    ( (This)->lpVtbl -> GetBucketParametersForCurrentException(This,pParams) ) 
-
-#define ICLRErrorReportingManager2_BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved)  \
-    ( (This)->lpVtbl -> BeginCustomDump(This,dwFlavor,dwNumItems,items,dwReserved) ) 
-
-#define ICLRErrorReportingManager2_EndCustomDump(This) \
-    ( (This)->lpVtbl -> EndCustomDump(This) ) 
-
-
-#define ICLRErrorReportingManager2_SetApplicationData(This,key,pValue) \
-    ( (This)->lpVtbl -> SetApplicationData(This,key,pValue) ) 
-
-#define ICLRErrorReportingManager2_SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams)   \
-    ( (This)->lpVtbl -> SetBucketParametersForUnhandledException(This,pBucketParams,pCountParams) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRErrorReportingManager2_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0004 */
-/* [local] */ 
-
-typedef /* [public][public][public][public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0004_0001
-    {
-        OPR_ThreadAbort        = 0,
-        OPR_ThreadRudeAbortInNonCriticalRegion = ( OPR_ThreadAbort + 1 ) ,
-        OPR_ThreadRudeAbortInCriticalRegion    = ( OPR_ThreadRudeAbortInNonCriticalRegion + 1 ) ,
-        OPR_AppDomainUnload    = ( OPR_ThreadRudeAbortInCriticalRegion + 1 ) ,
-        OPR_AppDomainRudeUnload        = ( OPR_AppDomainUnload + 1 ) ,
-        OPR_ProcessExit        = ( OPR_AppDomainRudeUnload + 1 ) ,
-        OPR_FinalizerRun       = ( OPR_ProcessExit + 1 ) ,
-        MaxClrOperation        = ( OPR_FinalizerRun + 1 ) 
-    }  EClrOperation;
-
-typedef /* [public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0004_0002
-    {
-        FAIL_NonCriticalResource       = 0,
-        FAIL_CriticalResource  = ( FAIL_NonCriticalResource + 1 ) ,
-        FAIL_FatalRuntime      = ( FAIL_CriticalResource + 1 ) ,
-        FAIL_OrphanedLock      = ( FAIL_FatalRuntime + 1 ) ,
-        FAIL_StackOverflow     = ( FAIL_OrphanedLock + 1 ) ,
-        FAIL_AccessViolation   = ( FAIL_StackOverflow + 1 ) ,
-        FAIL_CodeContract      = ( FAIL_AccessViolation + 1 ) ,
-        MaxClrFailure  = ( FAIL_CodeContract + 1 ) 
-    }  EClrFailure;
-
-typedef /* [public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0004_0003
-    {
-        eRuntimeDeterminedPolicy       = 0,
-        eHostDeterminedPolicy  = ( eRuntimeDeterminedPolicy + 1 ) 
-    }  EClrUnhandledException;
-
-typedef /* [public][public][public][public][public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0004_0004
-    {
-        eNoAction      = 0,
-        eThrowException        = ( eNoAction + 1 ) ,
-        eAbortThread   = ( eThrowException + 1 ) ,
-        eRudeAbortThread       = ( eAbortThread + 1 ) ,
-        eUnloadAppDomain       = ( eRudeAbortThread + 1 ) ,
-        eRudeUnloadAppDomain   = ( eUnloadAppDomain + 1 ) ,
-        eExitProcess   = ( eRudeUnloadAppDomain + 1 ) ,
-        eFastExitProcess       = ( eExitProcess + 1 ) ,
-        eRudeExitProcess       = ( eFastExitProcess + 1 ) ,
-        eDisableRuntime        = ( eRudeExitProcess + 1 ) ,
-        MaxPolicyAction        = ( eDisableRuntime + 1 ) 
-    }  EPolicyAction;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0004_v0_0_s_ifspec;
-
-#ifndef __ICLRPolicyManager_INTERFACE_DEFINED__
-#define __ICLRPolicyManager_INTERFACE_DEFINED__
-
-/* interface ICLRPolicyManager */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRPolicyManager;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("7D290010-D781-45da-A6F8-AA5D711A730E")
-    ICLRPolicyManager : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE SetDefaultAction( 
-            /* [in] */ EClrOperation operation,
-            /* [in] */ EPolicyAction action) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetTimeout( 
-            /* [in] */ EClrOperation operation,
-            /* [in] */ DWORD dwMilliseconds) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetActionOnTimeout( 
-            /* [in] */ EClrOperation operation,
-            /* [in] */ EPolicyAction action) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetTimeoutAndAction( 
-            /* [in] */ EClrOperation operation,
-            /* [in] */ DWORD dwMilliseconds,
-            /* [in] */ EPolicyAction action) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetActionOnFailure( 
-            /* [in] */ EClrFailure failure,
-            /* [in] */ EPolicyAction action) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetUnhandledExceptionPolicy( 
-            /* [in] */ EClrUnhandledException policy) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRPolicyManagerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRPolicyManager * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRPolicyManager * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRPolicyManager * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetDefaultAction )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrOperation operation,
-            /* [in] */ EPolicyAction action);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetTimeout )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrOperation operation,
-            /* [in] */ DWORD dwMilliseconds);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetActionOnTimeout )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrOperation operation,
-            /* [in] */ EPolicyAction action);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetTimeoutAndAction )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrOperation operation,
-            /* [in] */ DWORD dwMilliseconds,
-            /* [in] */ EPolicyAction action);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetActionOnFailure )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrFailure failure,
-            /* [in] */ EPolicyAction action);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetUnhandledExceptionPolicy )( 
-            ICLRPolicyManager * This,
-            /* [in] */ EClrUnhandledException policy);
-        
-        END_INTERFACE
-    } ICLRPolicyManagerVtbl;
-
-    interface ICLRPolicyManager
-    {
-        CONST_VTBL struct ICLRPolicyManagerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRPolicyManager_QueryInterface(This,riid,ppvObject)  \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRPolicyManager_AddRef(This) \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRPolicyManager_Release(This)        \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRPolicyManager_SetDefaultAction(This,operation,action)      \
-    ( (This)->lpVtbl -> SetDefaultAction(This,operation,action) ) 
-
-#define ICLRPolicyManager_SetTimeout(This,operation,dwMilliseconds)    \
-    ( (This)->lpVtbl -> SetTimeout(This,operation,dwMilliseconds) ) 
-
-#define ICLRPolicyManager_SetActionOnTimeout(This,operation,action)    \
-    ( (This)->lpVtbl -> SetActionOnTimeout(This,operation,action) ) 
-
-#define ICLRPolicyManager_SetTimeoutAndAction(This,operation,dwMilliseconds,action)    \
-    ( (This)->lpVtbl -> SetTimeoutAndAction(This,operation,dwMilliseconds,action) ) 
-
-#define ICLRPolicyManager_SetActionOnFailure(This,failure,action)      \
-    ( (This)->lpVtbl -> SetActionOnFailure(This,failure,action) ) 
-
-#define ICLRPolicyManager_SetUnhandledExceptionPolicy(This,policy)     \
-    ( (This)->lpVtbl -> SetUnhandledExceptionPolicy(This,policy) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRPolicyManager_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0005 */
-/* [local] */ 
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0005_0001
-    {
-        Event_DomainUnload     = 0,
-        Event_ClrDisabled      = ( Event_DomainUnload + 1 ) ,
-        Event_MDAFired = ( Event_ClrDisabled + 1 ) ,
-        Event_StackOverflow    = ( Event_MDAFired + 1 ) ,
-        MaxClrEvent    = ( Event_StackOverflow + 1 ) 
-    }  EClrEvent;
-
-typedef struct _MDAInfo
-    {
-    LPCWSTR lpMDACaption;
-    LPCWSTR lpMDAMessage;
-    LPCWSTR lpStackTrace;
-    }  MDAInfo;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0005_0002
-    {
-        SO_Managed     = 0,
-        SO_ClrEngine   = ( SO_Managed + 1 ) ,
-        SO_Other       = ( SO_ClrEngine + 1 ) 
-    }  StackOverflowType;
-
-typedef struct _StackOverflowInfo
-{
-    StackOverflowType soType;
-    EXCEPTION_POINTERS *pExceptionInfo;
-} StackOverflowInfo;
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0005_v0_0_s_ifspec;
-
-#ifndef __ICLRGCManager_INTERFACE_DEFINED__
-#define __ICLRGCManager_INTERFACE_DEFINED__
-
-/* interface ICLRGCManager */
-/* [object][local][unique][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRGCManager;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("54D9007E-A8E2-4885-B7BF-F998DEEE4F2A")
-    ICLRGCManager : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Collect( 
-            /* [in] */ LONG Generation) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetStats( 
-            /* [out][in] */ COR_GC_STATS *pStats) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimits( 
-            /* [in] */ DWORD SegmentSize,
-            /* [in] */ DWORD MaxGen0Size) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRGCManagerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRGCManager * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRGCManager * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRGCManager * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Collect )( 
-            ICLRGCManager * This,
-            /* [in] */ LONG Generation);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetStats )( 
-            ICLRGCManager * This,
-            /* [out][in] */ COR_GC_STATS *pStats);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( 
-            ICLRGCManager * This,
-            /* [in] */ DWORD SegmentSize,
-            /* [in] */ DWORD MaxGen0Size);
-        
-        END_INTERFACE
-    } ICLRGCManagerVtbl;
-
-    interface ICLRGCManager
-    {
-        CONST_VTBL struct ICLRGCManagerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRGCManager_QueryInterface(This,riid,ppvObject)      \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRGCManager_AddRef(This)     \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRGCManager_Release(This)    \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRGCManager_Collect(This,Generation) \
-    ( (This)->lpVtbl -> Collect(This,Generation) ) 
-
-#define ICLRGCManager_GetStats(This,pStats)    \
-    ( (This)->lpVtbl -> GetStats(This,pStats) ) 
-
-#define ICLRGCManager_SetGCStartupLimits(This,SegmentSize,MaxGen0Size) \
-    ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRGCManager_INTERFACE_DEFINED__ */
-
-
-#ifndef __ICLRGCManager2_INTERFACE_DEFINED__
-#define __ICLRGCManager2_INTERFACE_DEFINED__
-
-/* interface ICLRGCManager2 */
-/* [object][local][unique][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRGCManager2;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("0603B793-A97A-4712-9CB4-0CD1C74C0F7C")
-    ICLRGCManager2 : public ICLRGCManager
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE SetGCStartupLimitsEx( 
-            /* [in] */ SIZE_T SegmentSize,
-            /* [in] */ SIZE_T MaxGen0Size) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRGCManager2Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRGCManager2 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRGCManager2 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRGCManager2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Collect )( 
-            ICLRGCManager2 * This,
-            /* [in] */ LONG Generation);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetStats )( 
-            ICLRGCManager2 * This,
-            /* [out][in] */ COR_GC_STATS *pStats);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimits )( 
-            ICLRGCManager2 * This,
-            /* [in] */ DWORD SegmentSize,
-            /* [in] */ DWORD MaxGen0Size);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetGCStartupLimitsEx )( 
-            ICLRGCManager2 * This,
-            /* [in] */ SIZE_T SegmentSize,
-            /* [in] */ SIZE_T MaxGen0Size);
-        
-        END_INTERFACE
-    } ICLRGCManager2Vtbl;
-
-    interface ICLRGCManager2
-    {
-        CONST_VTBL struct ICLRGCManager2Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRGCManager2_QueryInterface(This,riid,ppvObject)     \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRGCManager2_AddRef(This)    \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRGCManager2_Release(This)   \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRGCManager2_Collect(This,Generation)        \
-    ( (This)->lpVtbl -> Collect(This,Generation) ) 
-
-#define ICLRGCManager2_GetStats(This,pStats)   \
-    ( (This)->lpVtbl -> GetStats(This,pStats) ) 
-
-#define ICLRGCManager2_SetGCStartupLimits(This,SegmentSize,MaxGen0Size)        \
-    ( (This)->lpVtbl -> SetGCStartupLimits(This,SegmentSize,MaxGen0Size) ) 
-
-
-#define ICLRGCManager2_SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size)      \
-    ( (This)->lpVtbl -> SetGCStartupLimitsEx(This,SegmentSize,MaxGen0Size) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRGCManager2_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0007 */
-/* [local] */ 
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0007_0001
-    {
-        ePolicyLevelNone       = 0,
-        ePolicyLevelRetargetable       = 0x1,
-        ePolicyUnifiedToCLR    = 0x2,
-        ePolicyLevelApp        = 0x4,
-        ePolicyLevelPublisher  = 0x8,
-        ePolicyLevelHost       = 0x10,
-        ePolicyLevelAdmin      = 0x20,
-        ePolicyPortability     = 0x40
-    }  EBindPolicyLevels;
-
-typedef struct _AssemblyBindInfo
-    {
-    DWORD dwAppDomainId;
-    LPCWSTR lpReferencedIdentity;
-    LPCWSTR lpPostPolicyIdentity;
-    DWORD ePolicyLevel;
-    }  AssemblyBindInfo;
-
-typedef struct _ModuleBindInfo
-    {
-    DWORD dwAppDomainId;
-    LPCWSTR lpAssemblyIdentity;
-    LPCWSTR lpModuleName;
-    }  ModuleBindInfo;
-
-typedef 
-enum _HostApplicationPolicy
-    {
-        HOST_APPLICATION_BINDING_POLICY        = 1
-    }  EHostApplicationPolicy;
-
-STDAPI GetCLRIdentityManager(REFIID riid, IUnknown **ppManager);
-EXTERN_GUID(IID_IHostControl, 0x02CA073C, 0x7079, 0x4860, 0x88, 0x0A, 0xC2, 0xF7, 0xA4, 0x49, 0xC9, 0x91);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0007_v0_0_s_ifspec;
-
-#ifndef __IHostControl_INTERFACE_DEFINED__
-#define __IHostControl_INTERFACE_DEFINED__
-
-/* interface IHostControl */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_IHostControl;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("02CA073C-7079-4860-880A-C2F7A449C991")
-    IHostControl : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetHostManager( 
-            /* [in] */ REFIID riid,
-            /* [out] */ void **ppObject) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager( 
-            /* [in] */ DWORD dwAppDomainID,
-            /* [in] */ IUnknown *pUnkAppDomainManager) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IHostControlVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IHostControl * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IHostControl * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IHostControl * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetHostManager )( 
-            IHostControl * This,
-            /* [in] */ REFIID riid,
-            /* [out] */ void **ppObject);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetAppDomainManager )( 
-            IHostControl * This,
-            /* [in] */ DWORD dwAppDomainID,
-            /* [in] */ IUnknown *pUnkAppDomainManager);
-        
-        END_INTERFACE
-    } IHostControlVtbl;
-
-    interface IHostControl
-    {
-        CONST_VTBL struct IHostControlVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IHostControl_QueryInterface(This,riid,ppvObject)       \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IHostControl_AddRef(This)      \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IHostControl_Release(This)     \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IHostControl_GetHostManager(This,riid,ppObject)        \
-    ( (This)->lpVtbl -> GetHostManager(This,riid,ppObject) ) 
-
-#define IHostControl_SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager)      \
-    ( (This)->lpVtbl -> SetAppDomainManager(This,dwAppDomainID,pUnkAppDomainManager) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IHostControl_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0008 */
-/* [local] */ 
-
-EXTERN_GUID(IID_ICLRControl, 0x9065597E, 0xD1A1, 0x4fb2, 0xB6, 0xBA, 0x7E, 0x1F, 0xCE, 0x23, 0x0F, 0x61);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0008_v0_0_s_ifspec;
-
-#ifndef __ICLRControl_INTERFACE_DEFINED__
-#define __ICLRControl_INTERFACE_DEFINED__
-
-/* interface ICLRControl */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRControl;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9065597E-D1A1-4fb2-B6BA-7E1FCE230F61")
-    ICLRControl : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetCLRManager( 
-            /* [in] */ REFIID riid,
-            /* [out] */ void **ppObject) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType( 
-            /* [in] */ LPCWSTR pwzAppDomainManagerAssembly,
-            /* [in] */ LPCWSTR pwzAppDomainManagerType) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRControlVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRControl * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRControl * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRControl * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCLRManager )( 
-            ICLRControl * This,
-            /* [in] */ REFIID riid,
-            /* [out] */ void **ppObject);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetAppDomainManagerType )( 
-            ICLRControl * This,
-            /* [in] */ LPCWSTR pwzAppDomainManagerAssembly,
-            /* [in] */ LPCWSTR pwzAppDomainManagerType);
-        
-        END_INTERFACE
-    } ICLRControlVtbl;
-
-    interface ICLRControl
-    {
-        CONST_VTBL struct ICLRControlVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRControl_QueryInterface(This,riid,ppvObject)        \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRControl_AddRef(This)       \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRControl_Release(This)      \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRControl_GetCLRManager(This,riid,ppObject)  \
-    ( (This)->lpVtbl -> GetCLRManager(This,riid,ppObject) ) 
-
-#define ICLRControl_SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType)  \
-    ( (This)->lpVtbl -> SetAppDomainManagerType(This,pwzAppDomainManagerAssembly,pwzAppDomainManagerType) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRControl_INTERFACE_DEFINED__ */
-
-
-#ifndef __ICLRRuntimeHost_INTERFACE_DEFINED__
-#define __ICLRRuntimeHost_INTERFACE_DEFINED__
-
-/* interface ICLRRuntimeHost */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRRuntimeHost;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("90F1A06C-7712-4762-86B5-7A5EBA6BDB02")
-    ICLRRuntimeHost : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetHostControl( 
-            /* [in] */ IHostControl *pHostControl) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetCLRControl( 
-            /* [out] */ ICLRControl **pCLRControl) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ BOOL fWaitUntilDone) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ExecuteInAppDomain( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ FExecuteInAppDomainCallback pCallback,
-            /* [in] */ void *cookie) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetCurrentAppDomainId( 
-            /* [out] */ DWORD *pdwAppDomainId) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ExecuteApplication( 
-            /* [in] */ LPCWSTR pwzAppFullName,
-            /* [in] */ DWORD dwManifestPaths,
-            /* [in] */ LPCWSTR *ppwzManifestPaths,
-            /* [in] */ DWORD dwActivationData,
-            /* [in] */ LPCWSTR *ppwzActivationData,
-            /* [out] */ int *pReturnValue) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ExecuteInDefaultAppDomain( 
-            /* [in] */ LPCWSTR pwzAssemblyPath,
-            /* [in] */ LPCWSTR pwzTypeName,
-            /* [in] */ LPCWSTR pwzMethodName,
-            /* [in] */ LPCWSTR pwzArgument,
-            /* [out] */ DWORD *pReturnValue) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRRuntimeHostVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRRuntimeHost * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRRuntimeHost * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Start )( 
-            ICLRRuntimeHost * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Stop )( 
-            ICLRRuntimeHost * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetHostControl )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ IHostControl *pHostControl);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCLRControl )( 
-            ICLRRuntimeHost * This,
-            /* [out] */ ICLRControl **pCLRControl);
-        
-        HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ BOOL fWaitUntilDone);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteInAppDomain )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ FExecuteInAppDomainCallback pCallback,
-            /* [in] */ void *cookie);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCurrentAppDomainId )( 
-            ICLRRuntimeHost * This,
-            /* [out] */ DWORD *pdwAppDomainId);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteApplication )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ LPCWSTR pwzAppFullName,
-            /* [in] */ DWORD dwManifestPaths,
-            /* [in] */ LPCWSTR *ppwzManifestPaths,
-            /* [in] */ DWORD dwActivationData,
-            /* [in] */ LPCWSTR *ppwzActivationData,
-            /* [out] */ int *pReturnValue);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteInDefaultAppDomain )( 
-            ICLRRuntimeHost * This,
-            /* [in] */ LPCWSTR pwzAssemblyPath,
-            /* [in] */ LPCWSTR pwzTypeName,
-            /* [in] */ LPCWSTR pwzMethodName,
-            /* [in] */ LPCWSTR pwzArgument,
-            /* [out] */ DWORD *pReturnValue);
-        
-        END_INTERFACE
-    } ICLRRuntimeHostVtbl;
-
-    interface ICLRRuntimeHost
-    {
-        CONST_VTBL struct ICLRRuntimeHostVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRRuntimeHost_QueryInterface(This,riid,ppvObject)    \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRRuntimeHost_AddRef(This)   \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRRuntimeHost_Release(This)  \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRRuntimeHost_Start(This)    \
-    ( (This)->lpVtbl -> Start(This) ) 
-
-#define ICLRRuntimeHost_Stop(This)     \
-    ( (This)->lpVtbl -> Stop(This) ) 
-
-#define ICLRRuntimeHost_SetHostControl(This,pHostControl)      \
-    ( (This)->lpVtbl -> SetHostControl(This,pHostControl) ) 
-
-#define ICLRRuntimeHost_GetCLRControl(This,pCLRControl)        \
-    ( (This)->lpVtbl -> GetCLRControl(This,pCLRControl) ) 
-
-#define ICLRRuntimeHost_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone)     \
-    ( (This)->lpVtbl -> UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) ) 
-
-#define ICLRRuntimeHost_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie)        \
-    ( (This)->lpVtbl -> ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) ) 
-
-#define ICLRRuntimeHost_GetCurrentAppDomainId(This,pdwAppDomainId)     \
-    ( (This)->lpVtbl -> GetCurrentAppDomainId(This,pdwAppDomainId) ) 
-
-#define ICLRRuntimeHost_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue)     \
-    ( (This)->lpVtbl -> ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) ) 
-
-#define ICLRRuntimeHost_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue)     \
-    ( (This)->lpVtbl -> ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRRuntimeHost_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0010 */
-/* [local] */ 
-
-#define CORECLR_HOST_AUTHENTICATION_KEY 0x1C6CA6F94025800LL
-#define CORECLR_HOST_AUTHENTICATION_KEY_NONGEN 0x1C6CA6F94025801LL
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0010_v0_0_s_ifspec;
-
-#ifndef __ICLRRuntimeHost2_INTERFACE_DEFINED__
-#define __ICLRRuntimeHost2_INTERFACE_DEFINED__
-
-/* interface ICLRRuntimeHost2 */
-/* [local][unique][helpstring][version][uuid][object] */ 
-
-
-EXTERN_C const IID IID_ICLRRuntimeHost2;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("712AB73F-2C22-4807-AD7E-F501D7B72C2D")
-    ICLRRuntimeHost2 : public ICLRRuntimeHost
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE CreateAppDomainWithManager( 
-            /* [in] */ LPCWSTR wszFriendlyName,
-            /* [in] */ DWORD dwFlags,
-            /* [in] */ LPCWSTR wszAppDomainManagerAssemblyName,
-            /* [in] */ LPCWSTR wszAppDomainManagerTypeName,
-            /* [in] */ int nProperties,
-            /* [in] */ LPCWSTR *pPropertyNames,
-            /* [in] */ LPCWSTR *pPropertyValues,
-            /* [out] */ DWORD *pAppDomainID) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateDelegate( 
-            /* [in] */ DWORD appDomainID,
-            /* [in] */ LPCWSTR wszAssemblyName,
-            /* [in] */ LPCWSTR wszClassName,
-            /* [in] */ LPCWSTR wszMethodName,
-            /* [out] */ INT_PTR *fnPtr) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE Authenticate( 
-            /* [in] */ ULONGLONG authKey) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE RegisterMacEHPort( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetStartupFlags( 
-            /* [in] */ STARTUP_FLAGS dwFlags) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE DllGetActivationFactory( 
-            /* [in] */ DWORD appDomainID,
-            /* [in] */ LPCWSTR wszTypeName,
-            /* [out] */ IActivationFactory **factory) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ExecuteAssembly( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ LPCWSTR pwzAssemblyPath,
-            /* [in] */ int argc,
-            /* [in] */ LPCWSTR *argv,
-            /* [out] */ DWORD *pReturnValue) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRRuntimeHost2Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRRuntimeHost2 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRRuntimeHost2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Start )( 
-            ICLRRuntimeHost2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Stop )( 
-            ICLRRuntimeHost2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetHostControl )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ IHostControl *pHostControl);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCLRControl )( 
-            ICLRRuntimeHost2 * This,
-            /* [out] */ ICLRControl **pCLRControl);
-        
-        HRESULT ( STDMETHODCALLTYPE *UnloadAppDomain )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ BOOL fWaitUntilDone);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteInAppDomain )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ FExecuteInAppDomainCallback pCallback,
-            /* [in] */ void *cookie);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCurrentAppDomainId )( 
-            ICLRRuntimeHost2 * This,
-            /* [out] */ DWORD *pdwAppDomainId);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteApplication )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ LPCWSTR pwzAppFullName,
-            /* [in] */ DWORD dwManifestPaths,
-            /* [in] */ LPCWSTR *ppwzManifestPaths,
-            /* [in] */ DWORD dwActivationData,
-            /* [in] */ LPCWSTR *ppwzActivationData,
-            /* [out] */ int *pReturnValue);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteInDefaultAppDomain )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ LPCWSTR pwzAssemblyPath,
-            /* [in] */ LPCWSTR pwzTypeName,
-            /* [in] */ LPCWSTR pwzMethodName,
-            /* [in] */ LPCWSTR pwzArgument,
-            /* [out] */ DWORD *pReturnValue);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateAppDomainWithManager )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ LPCWSTR wszFriendlyName,
-            /* [in] */ DWORD dwFlags,
-            /* [in] */ LPCWSTR wszAppDomainManagerAssemblyName,
-            /* [in] */ LPCWSTR wszAppDomainManagerTypeName,
-            /* [in] */ int nProperties,
-            /* [in] */ LPCWSTR *pPropertyNames,
-            /* [in] */ LPCWSTR *pPropertyValues,
-            /* [out] */ DWORD *pAppDomainID);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateDelegate )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ DWORD appDomainID,
-            /* [in] */ LPCWSTR wszAssemblyName,
-            /* [in] */ LPCWSTR wszClassName,
-            /* [in] */ LPCWSTR wszMethodName,
-            /* [out] */ INT_PTR *fnPtr);
-        
-        HRESULT ( STDMETHODCALLTYPE *Authenticate )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ ULONGLONG authKey);
-        
-        HRESULT ( STDMETHODCALLTYPE *RegisterMacEHPort )( 
-            ICLRRuntimeHost2 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetStartupFlags )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ STARTUP_FLAGS dwFlags);
-        
-        HRESULT ( STDMETHODCALLTYPE *DllGetActivationFactory )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ DWORD appDomainID,
-            /* [in] */ LPCWSTR wszTypeName,
-            /* [out] */ IActivationFactory **factory);
-        
-        HRESULT ( STDMETHODCALLTYPE *ExecuteAssembly )( 
-            ICLRRuntimeHost2 * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ LPCWSTR pwzAssemblyPath,
-            /* [in] */ int argc,
-            /* [in] */ LPCWSTR *argv,
-            /* [out] */ DWORD *pReturnValue);
-        
-        END_INTERFACE
-    } ICLRRuntimeHost2Vtbl;
-
-    interface ICLRRuntimeHost2
-    {
-        CONST_VTBL struct ICLRRuntimeHost2Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRRuntimeHost2_QueryInterface(This,riid,ppvObject)   \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRRuntimeHost2_AddRef(This)  \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRRuntimeHost2_Release(This) \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRRuntimeHost2_Start(This)   \
-    ( (This)->lpVtbl -> Start(This) ) 
-
-#define ICLRRuntimeHost2_Stop(This)    \
-    ( (This)->lpVtbl -> Stop(This) ) 
-
-#define ICLRRuntimeHost2_SetHostControl(This,pHostControl)     \
-    ( (This)->lpVtbl -> SetHostControl(This,pHostControl) ) 
-
-#define ICLRRuntimeHost2_GetCLRControl(This,pCLRControl)       \
-    ( (This)->lpVtbl -> GetCLRControl(This,pCLRControl) ) 
-
-#define ICLRRuntimeHost2_UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone)    \
-    ( (This)->lpVtbl -> UnloadAppDomain(This,dwAppDomainId,fWaitUntilDone) ) 
-
-#define ICLRRuntimeHost2_ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie)       \
-    ( (This)->lpVtbl -> ExecuteInAppDomain(This,dwAppDomainId,pCallback,cookie) ) 
-
-#define ICLRRuntimeHost2_GetCurrentAppDomainId(This,pdwAppDomainId)    \
-    ( (This)->lpVtbl -> GetCurrentAppDomainId(This,pdwAppDomainId) ) 
-
-#define ICLRRuntimeHost2_ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue)    \
-    ( (This)->lpVtbl -> ExecuteApplication(This,pwzAppFullName,dwManifestPaths,ppwzManifestPaths,dwActivationData,ppwzActivationData,pReturnValue) ) 
-
-#define ICLRRuntimeHost2_ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue)    \
-    ( (This)->lpVtbl -> ExecuteInDefaultAppDomain(This,pwzAssemblyPath,pwzTypeName,pwzMethodName,pwzArgument,pReturnValue) ) 
-
-
-#define ICLRRuntimeHost2_CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID)  \
-    ( (This)->lpVtbl -> CreateAppDomainWithManager(This,wszFriendlyName,dwFlags,wszAppDomainManagerAssemblyName,wszAppDomainManagerTypeName,nProperties,pPropertyNames,pPropertyValues,pAppDomainID) ) 
-
-#define ICLRRuntimeHost2_CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr)     \
-    ( (This)->lpVtbl -> CreateDelegate(This,appDomainID,wszAssemblyName,wszClassName,wszMethodName,fnPtr) ) 
-
-#define ICLRRuntimeHost2_Authenticate(This,authKey)    \
-    ( (This)->lpVtbl -> Authenticate(This,authKey) ) 
-
-#define ICLRRuntimeHost2_RegisterMacEHPort(This)       \
-    ( (This)->lpVtbl -> RegisterMacEHPort(This) ) 
-
-#define ICLRRuntimeHost2_SetStartupFlags(This,dwFlags) \
-    ( (This)->lpVtbl -> SetStartupFlags(This,dwFlags) ) 
-
-#define ICLRRuntimeHost2_DllGetActivationFactory(This,appDomainID,wszTypeName,factory) \
-    ( (This)->lpVtbl -> DllGetActivationFactory(This,appDomainID,wszTypeName,factory) ) 
-
-#define ICLRRuntimeHost2_ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue)    \
-    ( (This)->lpVtbl -> ExecuteAssembly(This,dwAppDomainId,pwzAssemblyPath,argc,argv,pReturnValue) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRRuntimeHost2_INTERFACE_DEFINED__ */
-
-
-#ifndef __ICLRExecutionManager_INTERFACE_DEFINED__
-#define __ICLRExecutionManager_INTERFACE_DEFINED__
-
-/* interface ICLRExecutionManager */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_ICLRExecutionManager;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("1000A3E7-B420-4620-AE30-FB19B587AD1D")
-    ICLRExecutionManager : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Pause( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ DWORD dwFlags) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE Resume( 
-            /* [in] */ DWORD dwAppDomainId) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRExecutionManagerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRExecutionManager * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRExecutionManager * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRExecutionManager * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *Pause )( 
-            ICLRExecutionManager * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [in] */ DWORD dwFlags);
-        
-        HRESULT ( STDMETHODCALLTYPE *Resume )( 
-            ICLRExecutionManager * This,
-            /* [in] */ DWORD dwAppDomainId);
-        
-        END_INTERFACE
-    } ICLRExecutionManagerVtbl;
-
-    interface ICLRExecutionManager
-    {
-        CONST_VTBL struct ICLRExecutionManagerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRExecutionManager_QueryInterface(This,riid,ppvObject)       \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRExecutionManager_AddRef(This)      \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRExecutionManager_Release(This)     \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRExecutionManager_Pause(This,dwAppDomainId,dwFlags) \
-    ( (This)->lpVtbl -> Pause(This,dwAppDomainId,dwFlags) ) 
-
-#define ICLRExecutionManager_Resume(This,dwAppDomainId)        \
-    ( (This)->lpVtbl -> Resume(This,dwAppDomainId) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRExecutionManager_INTERFACE_DEFINED__ */
-
-
-#ifndef __IHostNetCFDebugControlManager_INTERFACE_DEFINED__
-#define __IHostNetCFDebugControlManager_INTERFACE_DEFINED__
-
-/* interface IHostNetCFDebugControlManager */
-/* [object][local][unique][helpstring][version][uuid] */ 
-
-
-EXTERN_C const IID IID_IHostNetCFDebugControlManager;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("F2833A0C-F944-48d8-940E-F59425EDBFCF")
-    IHostNetCFDebugControlManager : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE NotifyPause( 
-            DWORD dwReserved) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE NotifyResume( 
-            DWORD dwReserved) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IHostNetCFDebugControlManagerVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IHostNetCFDebugControlManager * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IHostNetCFDebugControlManager * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IHostNetCFDebugControlManager * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *NotifyPause )( 
-            IHostNetCFDebugControlManager * This,
-            DWORD dwReserved);
-        
-        HRESULT ( STDMETHODCALLTYPE *NotifyResume )( 
-            IHostNetCFDebugControlManager * This,
-            DWORD dwReserved);
-        
-        END_INTERFACE
-    } IHostNetCFDebugControlManagerVtbl;
-
-    interface IHostNetCFDebugControlManager
-    {
-        CONST_VTBL struct IHostNetCFDebugControlManagerVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IHostNetCFDebugControlManager_QueryInterface(This,riid,ppvObject)      \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IHostNetCFDebugControlManager_AddRef(This)     \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IHostNetCFDebugControlManager_Release(This)    \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IHostNetCFDebugControlManager_NotifyPause(This,dwReserved)     \
-    ( (This)->lpVtbl -> NotifyPause(This,dwReserved) ) 
-
-#define IHostNetCFDebugControlManager_NotifyResume(This,dwReserved)    \
-    ( (This)->lpVtbl -> NotifyResume(This,dwReserved) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IHostNetCFDebugControlManager_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0013 */
-/* [local] */ 
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0013_0001
-    {
-        eNoChecks      = 0,
-        eSynchronization       = 0x1,
-        eSharedState   = 0x2,
-        eExternalProcessMgmt   = 0x4,
-        eSelfAffectingProcessMgmt      = 0x8,
-        eExternalThreading     = 0x10,
-        eSelfAffectingThreading        = 0x20,
-        eSecurityInfrastructure        = 0x40,
-        eUI    = 0x80,
-        eMayLeakOnAbort        = 0x100,
-        eAll   = 0x1ff
-    }  EApiCategories;
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0013_0002
-    {
-        eInitializeNewDomainFlags_None = 0,
-        eInitializeNewDomainFlags_NoSecurityChanges    = 0x2
-    }  EInitializeNewDomainFlags;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0013_v0_0_s_ifspec;
-
-
-#ifndef __mscoree_LIBRARY_DEFINED__
-#define __mscoree_LIBRARY_DEFINED__
-
-/* library mscoree */
-/* [helpstring][version][uuid] */ 
-
-#define CCW_PTR int *
-
-EXTERN_C const IID LIBID_mscoree;
-
-#ifndef __ITypeName_INTERFACE_DEFINED__
-#define __ITypeName_INTERFACE_DEFINED__
-
-/* interface ITypeName */
-/* [unique][helpstring][uuid][oleautomation][object] */ 
-
-
-EXTERN_C const IID IID_ITypeName;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00522")
-    ITypeName : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetNameCount( 
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetNames( 
-            /* [in] */ DWORD count,
-            /* [out] */ BSTR *rgbszNames,
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetTypeArgumentCount( 
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetTypeArguments( 
-            /* [in] */ DWORD count,
-            /* [out] */ ITypeName **rgpArguments,
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetModifierLength( 
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetModifiers( 
-            /* [in] */ DWORD count,
-            /* [out] */ DWORD *rgModifiers,
-            /* [retval][out] */ DWORD *pCount) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetAssemblyName( 
-            /* [retval][out] */ BSTR *rgbszAssemblyNames) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ITypeNameVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ITypeName * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ITypeName * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ITypeName * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetNameCount )( 
-            ITypeName * This,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetNames )( 
-            ITypeName * This,
-            /* [in] */ DWORD count,
-            /* [out] */ BSTR *rgbszNames,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetTypeArgumentCount )( 
-            ITypeName * This,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetTypeArguments )( 
-            ITypeName * This,
-            /* [in] */ DWORD count,
-            /* [out] */ ITypeName **rgpArguments,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetModifierLength )( 
-            ITypeName * This,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetModifiers )( 
-            ITypeName * This,
-            /* [in] */ DWORD count,
-            /* [out] */ DWORD *rgModifiers,
-            /* [retval][out] */ DWORD *pCount);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetAssemblyName )( 
-            ITypeName * This,
-            /* [retval][out] */ BSTR *rgbszAssemblyNames);
-        
-        END_INTERFACE
-    } ITypeNameVtbl;
-
-    interface ITypeName
-    {
-        CONST_VTBL struct ITypeNameVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ITypeName_QueryInterface(This,riid,ppvObject)  \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ITypeName_AddRef(This) \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ITypeName_Release(This)        \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ITypeName_GetNameCount(This,pCount)    \
-    ( (This)->lpVtbl -> GetNameCount(This,pCount) ) 
-
-#define ITypeName_GetNames(This,count,rgbszNames,pCount)       \
-    ( (This)->lpVtbl -> GetNames(This,count,rgbszNames,pCount) ) 
-
-#define ITypeName_GetTypeArgumentCount(This,pCount)    \
-    ( (This)->lpVtbl -> GetTypeArgumentCount(This,pCount) ) 
-
-#define ITypeName_GetTypeArguments(This,count,rgpArguments,pCount)     \
-    ( (This)->lpVtbl -> GetTypeArguments(This,count,rgpArguments,pCount) ) 
-
-#define ITypeName_GetModifierLength(This,pCount)       \
-    ( (This)->lpVtbl -> GetModifierLength(This,pCount) ) 
-
-#define ITypeName_GetModifiers(This,count,rgModifiers,pCount)  \
-    ( (This)->lpVtbl -> GetModifiers(This,count,rgModifiers,pCount) ) 
-
-#define ITypeName_GetAssemblyName(This,rgbszAssemblyNames)     \
-    ( (This)->lpVtbl -> GetAssemblyName(This,rgbszAssemblyNames) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ITypeName_INTERFACE_DEFINED__ */
-
-
-#ifndef __ITypeNameBuilder_INTERFACE_DEFINED__
-#define __ITypeNameBuilder_INTERFACE_DEFINED__
-
-/* interface ITypeNameBuilder */
-/* [unique][helpstring][uuid][oleautomation][object] */ 
-
-
-EXTERN_C const IID IID_ITypeNameBuilder;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00523")
-    ITypeNameBuilder : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE OpenGenericArguments( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CloseGenericArguments( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE OpenGenericArgument( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CloseGenericArgument( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddName( 
-            /* [in] */ LPCWSTR szName) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddPointer( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddByRef( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddSzArray( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddArray( 
-            /* [in] */ DWORD rank) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddAssemblySpec( 
-            /* [in] */ LPCWSTR szAssemblySpec) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE ToString( 
-            /* [retval][out] */ BSTR *pszStringRepresentation) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE Clear( void) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ITypeNameBuilderVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ITypeNameBuilder * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ITypeNameBuilder * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *OpenGenericArguments )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *CloseGenericArguments )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *OpenGenericArgument )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *CloseGenericArgument )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddName )( 
-            ITypeNameBuilder * This,
-            /* [in] */ LPCWSTR szName);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddPointer )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddByRef )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddSzArray )( 
-            ITypeNameBuilder * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddArray )( 
-            ITypeNameBuilder * This,
-            /* [in] */ DWORD rank);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddAssemblySpec )( 
-            ITypeNameBuilder * This,
-            /* [in] */ LPCWSTR szAssemblySpec);
-        
-        HRESULT ( STDMETHODCALLTYPE *ToString )( 
-            ITypeNameBuilder * This,
-            /* [retval][out] */ BSTR *pszStringRepresentation);
-        
-        HRESULT ( STDMETHODCALLTYPE *Clear )( 
-            ITypeNameBuilder * This);
-        
-        END_INTERFACE
-    } ITypeNameBuilderVtbl;
-
-    interface ITypeNameBuilder
-    {
-        CONST_VTBL struct ITypeNameBuilderVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ITypeNameBuilder_QueryInterface(This,riid,ppvObject)   \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ITypeNameBuilder_AddRef(This)  \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ITypeNameBuilder_Release(This) \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ITypeNameBuilder_OpenGenericArguments(This)    \
-    ( (This)->lpVtbl -> OpenGenericArguments(This) ) 
-
-#define ITypeNameBuilder_CloseGenericArguments(This)   \
-    ( (This)->lpVtbl -> CloseGenericArguments(This) ) 
-
-#define ITypeNameBuilder_OpenGenericArgument(This)     \
-    ( (This)->lpVtbl -> OpenGenericArgument(This) ) 
-
-#define ITypeNameBuilder_CloseGenericArgument(This)    \
-    ( (This)->lpVtbl -> CloseGenericArgument(This) ) 
-
-#define ITypeNameBuilder_AddName(This,szName)  \
-    ( (This)->lpVtbl -> AddName(This,szName) ) 
-
-#define ITypeNameBuilder_AddPointer(This)      \
-    ( (This)->lpVtbl -> AddPointer(This) ) 
-
-#define ITypeNameBuilder_AddByRef(This)        \
-    ( (This)->lpVtbl -> AddByRef(This) ) 
-
-#define ITypeNameBuilder_AddSzArray(This)      \
-    ( (This)->lpVtbl -> AddSzArray(This) ) 
-
-#define ITypeNameBuilder_AddArray(This,rank)   \
-    ( (This)->lpVtbl -> AddArray(This,rank) ) 
-
-#define ITypeNameBuilder_AddAssemblySpec(This,szAssemblySpec)  \
-    ( (This)->lpVtbl -> AddAssemblySpec(This,szAssemblySpec) ) 
-
-#define ITypeNameBuilder_ToString(This,pszStringRepresentation)        \
-    ( (This)->lpVtbl -> ToString(This,pszStringRepresentation) ) 
-
-#define ITypeNameBuilder_Clear(This)   \
-    ( (This)->lpVtbl -> Clear(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ITypeNameBuilder_INTERFACE_DEFINED__ */
-
-
-#ifndef __ITypeNameFactory_INTERFACE_DEFINED__
-#define __ITypeNameFactory_INTERFACE_DEFINED__
-
-/* interface ITypeNameFactory */
-/* [unique][helpstring][uuid][oleautomation][object] */ 
-
-
-EXTERN_C const IID IID_ITypeNameFactory;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("B81FF171-20F3-11d2-8DCC-00A0C9B00521")
-    ITypeNameFactory : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE ParseTypeName( 
-            /* [in] */ LPCWSTR szName,
-            /* [out] */ DWORD *pError,
-            /* [retval][out] */ ITypeName **ppTypeName) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetTypeNameBuilder( 
-            /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ITypeNameFactoryVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ITypeNameFactory * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ITypeNameFactory * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ITypeNameFactory * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *ParseTypeName )( 
-            ITypeNameFactory * This,
-            /* [in] */ LPCWSTR szName,
-            /* [out] */ DWORD *pError,
-            /* [retval][out] */ ITypeName **ppTypeName);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetTypeNameBuilder )( 
-            ITypeNameFactory * This,
-            /* [retval][out] */ ITypeNameBuilder **ppTypeBuilder);
-        
-        END_INTERFACE
-    } ITypeNameFactoryVtbl;
-
-    interface ITypeNameFactory
-    {
-        CONST_VTBL struct ITypeNameFactoryVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ITypeNameFactory_QueryInterface(This,riid,ppvObject)   \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ITypeNameFactory_AddRef(This)  \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ITypeNameFactory_Release(This) \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ITypeNameFactory_ParseTypeName(This,szName,pError,ppTypeName)  \
-    ( (This)->lpVtbl -> ParseTypeName(This,szName,pError,ppTypeName) ) 
-
-#define ITypeNameFactory_GetTypeNameBuilder(This,ppTypeBuilder)        \
-    ( (This)->lpVtbl -> GetTypeNameBuilder(This,ppTypeBuilder) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ITypeNameFactory_INTERFACE_DEFINED__ */
-
-
-#ifndef __IManagedObject_INTERFACE_DEFINED__
-#define __IManagedObject_INTERFACE_DEFINED__
-
-/* interface IManagedObject */
-/* [proxy][unique][helpstring][uuid][oleautomation][object] */ 
-
-
-EXTERN_C const IID IID_IManagedObject;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("C3FCC19E-A970-11d2-8B5A-00A0C9B7C9C4")
-    IManagedObject : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetSerializedBuffer( 
-            /* [out] */ BSTR *pBSTR) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetObjectIdentity( 
-            /* [out] */ BSTR *pBSTRGUID,
-            /* [out] */ int *AppDomainID,
-            /* [out] */ int *pCCW) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct IManagedObjectVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            IManagedObject * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            IManagedObject * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            IManagedObject * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetSerializedBuffer )( 
-            IManagedObject * This,
-            /* [out] */ BSTR *pBSTR);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetObjectIdentity )( 
-            IManagedObject * This,
-            /* [out] */ BSTR *pBSTRGUID,
-            /* [out] */ int *AppDomainID,
-            /* [out] */ int *pCCW);
-        
-        END_INTERFACE
-    } IManagedObjectVtbl;
-
-    interface IManagedObject
-    {
-        CONST_VTBL struct IManagedObjectVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define IManagedObject_QueryInterface(This,riid,ppvObject)     \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define IManagedObject_AddRef(This)    \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define IManagedObject_Release(This)   \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define IManagedObject_GetSerializedBuffer(This,pBSTR) \
-    ( (This)->lpVtbl -> GetSerializedBuffer(This,pBSTR) ) 
-
-#define IManagedObject_GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW)      \
-    ( (This)->lpVtbl -> GetObjectIdentity(This,pBSTRGUID,AppDomainID,pCCW) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __IManagedObject_INTERFACE_DEFINED__ */
-
-
-EXTERN_C const CLSID CLSID_ComCallUnmarshal;
-
-#ifdef __cplusplus
-
-class DECLSPEC_UUID("3F281000-E95A-11d2-886B-00C04F869F04")
-ComCallUnmarshal;
-#endif
-
-EXTERN_C const CLSID CLSID_ComCallUnmarshalV4;
-
-#ifdef __cplusplus
-
-class DECLSPEC_UUID("45FB4600-E6E8-4928-B25E-50476FF79425")
-ComCallUnmarshalV4;
-#endif
-
-EXTERN_C const CLSID CLSID_CLRRuntimeHost;
-
-#ifdef __cplusplus
-
-class DECLSPEC_UUID("90F1A06E-7712-4762-86B5-7A5EBA6BDB02")
-CLRRuntimeHost;
-#endif
-
-EXTERN_C const CLSID CLSID_TypeNameFactory;
-
-#ifdef __cplusplus
-
-class DECLSPEC_UUID("B81FF171-20F3-11d2-8DCC-00A0C9B00525")
-TypeNameFactory;
-#endif
-#endif /* __mscoree_LIBRARY_DEFINED__ */
-
-/* interface __MIDL_itf_mscoree_0000_0014 */
-/* [local] */ 
-
-typedef /* [public] */ 
-enum __MIDL___MIDL_itf_mscoree_0000_0014_0001
-    {
-        eCurrentContext        = 0,
-        eRestrictedContext     = 0x1
-    }  EContextType;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0014_v0_0_s_ifspec;
-
-#ifndef __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__
-#define __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__
-
-/* interface ICLRAppDomainResourceMonitor */
-/* [object][local][unique][helpstring][uuid][version] */ 
-
-
-EXTERN_C const IID IID_ICLRAppDomainResourceMonitor;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("c62de18c-2e23-4aea-8423-b40c1fc59eae")
-    ICLRAppDomainResourceMonitor : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE GetCurrentAllocated( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pBytesAllocated) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetCurrentSurvived( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pAppDomainBytesSurvived,
-            /* [out] */ ULONGLONG *pTotalBytesSurvived) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetCurrentCpuTime( 
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pMilliseconds) = 0;
-        
-    };
-    
-    
-#else  /* C style interface */
-
-    typedef struct ICLRAppDomainResourceMonitorVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ICLRAppDomainResourceMonitor * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ICLRAppDomainResourceMonitor * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ICLRAppDomainResourceMonitor * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCurrentAllocated )( 
-            ICLRAppDomainResourceMonitor * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pBytesAllocated);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCurrentSurvived )( 
-            ICLRAppDomainResourceMonitor * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pAppDomainBytesSurvived,
-            /* [out] */ ULONGLONG *pTotalBytesSurvived);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetCurrentCpuTime )( 
-            ICLRAppDomainResourceMonitor * This,
-            /* [in] */ DWORD dwAppDomainId,
-            /* [out] */ ULONGLONG *pMilliseconds);
-        
-        END_INTERFACE
-    } ICLRAppDomainResourceMonitorVtbl;
-
-    interface ICLRAppDomainResourceMonitor
-    {
-        CONST_VTBL struct ICLRAppDomainResourceMonitorVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ICLRAppDomainResourceMonitor_QueryInterface(This,riid,ppvObject)       \
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ICLRAppDomainResourceMonitor_AddRef(This)      \
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ICLRAppDomainResourceMonitor_Release(This)     \
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ICLRAppDomainResourceMonitor_GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated)   \
-    ( (This)->lpVtbl -> GetCurrentAllocated(This,dwAppDomainId,pBytesAllocated) ) 
-
-#define ICLRAppDomainResourceMonitor_GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived)        \
-    ( (This)->lpVtbl -> GetCurrentSurvived(This,dwAppDomainId,pAppDomainBytesSurvived,pTotalBytesSurvived) ) 
-
-#define ICLRAppDomainResourceMonitor_GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds)       \
-    ( (This)->lpVtbl -> GetCurrentCpuTime(This,dwAppDomainId,pMilliseconds) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif         /* C style interface */
-
-
-
-
-#endif         /* __ICLRAppDomainResourceMonitor_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_mscoree_0000_0015 */
-/* [local] */ 
-
-#undef DEPRECATED_CLR_STDAPI
-#undef DECLARE_DEPRECATED
-#undef DEPRECATED_CLR_API_MESG
-
-
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_mscoree_0000_0015_v0_0_s_ifspec;
-
-/* Additional Prototypes for ALL interfaces */
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
-
diff --git a/src/installer/uwp/Host/UWPHost/native.rc b/src/installer/uwp/Host/UWPHost/native.rc
deleted file mode 100644 (file)
index 62aa395..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "version_info.h"
-
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION     VER_FILEVERSION
-PRODUCTVERSION  VER_PRODUCTVERSION
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
-FILEFLAGS       VER_DEBUG
-FILEOS          VOS__WINDOWS32
-FILETYPE        VFT_DLL
-FILESUBTYPE     VFT2_UNKNOWN
-BEGIN
-    BLOCK "StringFileInfo"
-    BEGIN
-        BLOCK "040904E4"
-        BEGIN
-            VALUE "CompanyName",      VER_COMPANYNAME_STR
-            VALUE "FileDescription",  VER_FILEDESCRIPTION_STR
-            VALUE "FileVersion",      VER_FILEVERSION_STR
-            VALUE "InternalName",     VER_INTERNALNAME_STR
-            VALUE "LegalCopyright",   VER_LEGALCOPYRIGHT_STR
-            VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
-            VALUE "ProductName",      VER_PRODUCTNAME_STR
-            VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
-        END
-    END
-
-    BLOCK "VarFileInfo"
-    BEGIN
-        /* The following line should only be modified for localized versions.     */
-        /* It consists of any number of WORD,WORD pairs, with each pair           */
-        /* describing a language,codepage combination supported by the file.      */
-        /*                                                                        */
-        /* For example, a file might have values "0x409,1252" indicating that it  */
-        /* supports English language (0x409) in the Windows ANSI codepage (1252). */
-
-        VALUE "Translation", 0x409, 1252
-
-    END
-END
-
diff --git a/src/installer/uwp/Host/UWPShim/CMakeLists.txt b/src/installer/uwp/Host/UWPShim/CMakeLists.txt
deleted file mode 100644 (file)
index d499c6d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-add_subdirectory(Console)
-add_subdirectory(Windows)
\ No newline at end of file
diff --git a/src/installer/uwp/Host/UWPShim/Console/CMakeLists.txt b/src/installer/uwp/Host/UWPShim/Console/CMakeLists.txt
deleted file mode 100644 (file)
index e070fd3..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-include(../../../../settings.cmake)
-
-add_definitions(-DUNICODE)
-add_definitions(-D_UNICODE)
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:CONSOLE")
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ENTRY:wmain")
-set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib")
-
-include_directories("${CLI_CMAKE_RESOURCE_DIR}/uwpshim")
-link_directories(${UWPHOST_LIB_PATH})
-set (PLATFORM STORE)
-
-add_executable(ConsoleUWPShim
-  ../uwpshim.cpp
-  ../native.rc
-)
-
-target_link_libraries(ConsoleUWPShim
-    UWPHost
-    vcruntime
-)
-
-install(TARGETS ConsoleUWPShim DESTINATION .)
diff --git a/src/installer/uwp/Host/UWPShim/UWPShim.cpp b/src/installer/uwp/Host/UWPShim/UWPShim.cpp
deleted file mode 100644 (file)
index 93a7442..0000000
+++ /dev/null
@@ -1,193 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-//
-
-
-// 
-// A simple in-app shim for UWP app activation
-//
-
-#include "windows.h"
-
-// Function forwarder to DllGetActivationFactory in UWPHost
-// App model requires the inproc server for WinRt components to be in the package which
-// installs the component itself. UWPHost is not app-local hence can't be declared as 
-// inproc server. Instead UWPShim will be the inproc server which merely forwards 
-// the request to UWPHost
-#pragma comment(linker, "/export:DllGetActivationFactory=uwphost.DllGetActivationFactory")
-
-extern HRESULT ExecuteAssembly(_In_z_ wchar_t *entryPointAssemblyFileName, int argc, LPCWSTR* argv, DWORD *exitCode);
-
-#ifndef IfFailRet
-#define IfFailRet(EXPR) \
-do { errno_t x = (EXPR); if(FAILED(x)) { return (x); } } while (0)
-#endif
-
-
-// Alternative implementation to CommandLineToArgvW, which is not available to Store profile
-// apps (including this UWP shim).
-LPWSTR *SegmentCommandLine(LPCWSTR lpCmdLine, int *pNumArgs)
-{
-    *pNumArgs = 0;
-
-    int nch = (int)wcslen(lpCmdLine);
-
-    // Calculate the worst-case storage requirement. (One pointer for
-    // each argument, plus storage for the arguments themselves.)
-    int cbAlloc = (nch+1)*sizeof(LPWSTR) + sizeof(wchar_t)*(nch + 1);
-    
-    LPWSTR pAlloc = (LPWSTR)malloc(cbAlloc);
-    if (!pAlloc)
-        return NULL;
-
-    LPWSTR *argv = (LPWSTR*) pAlloc;  // We store the argv pointers in the first halt
-    LPWSTR  pdst = (LPWSTR)( ((BYTE*)pAlloc) + sizeof(LPWSTR)*(nch+1) ); // A running pointer to second half to store arguments
-    LPCWSTR psrc = lpCmdLine;
-    wchar_t   c;
-    BOOL    inquote;
-    BOOL    copychar;
-    int     numslash;
-
-    // First, parse the program name (argv[0]). Argv[0] is parsed under
-    // special rules. Anything up to the first whitespace outside a quoted
-    // subtring is accepted. Backslashes are treated as normal characters.
-    argv[ (*pNumArgs)++ ] = pdst;
-    inquote = FALSE;
-    do {
-        if (*psrc == L'"' )
-        {
-            inquote = !inquote;
-            c = *psrc++;
-            continue;
-        }
-        *pdst++ = *psrc;
-
-        c = *psrc++;
-
-    } while ( (c != L'\0' && (inquote || (c != L' ' && c != L'\t'))) );
-
-    if ( c == L'\0' ) {
-        psrc--;
-    } else {
-        *(pdst-1) = L'\0';
-    }
-
-    inquote = FALSE;
-
-
-
-    /* loop on each argument */
-    for(;;)
-    {
-        if ( *psrc )
-        {
-            while (*psrc == L' ' || *psrc == L'\t')
-            {
-                ++psrc;
-            }
-        }
-
-        if (*psrc == L'\0')
-            break;              /* end of args */
-
-        /* scan an argument */
-        argv[ (*pNumArgs)++ ] = pdst;
-
-        /* loop through scanning one argument */
-        for (;;)
-        {
-            copychar = 1;
-            /* Rules: 2N backslashes + " ==> N backslashes and begin/end quote
-               2N+1 backslashes + " ==> N backslashes + literal "
-               N backslashes ==> N backslashes */
-            numslash = 0;
-            while (*psrc == L'\\')
-            {
-                /* count number of backslashes for use below */
-                ++psrc;
-                ++numslash;
-            }
-            if (*psrc == L'"')
-            {
-                /* if 2N backslashes before, start/end quote, otherwise
-                   copy literally */
-                if (numslash % 2 == 0)
-                {
-                    if (inquote && psrc[1] == L'"')
-                    {
-                        psrc++;    /* Double quote inside quoted string */
-                    }
-                    else
-                    {
-                        /* skip first quote char and copy second */
-                        copychar = 0;       /* don't copy quote */
-                        inquote = !inquote;
-                    }
-                }
-                numslash /= 2;          /* divide numslash by two */
-            }
-    
-            /* copy slashes */
-            while (numslash--)
-            {
-                *pdst++ = L'\\';
-            }
-    
-            /* if at end of arg, break loop */
-            if (*psrc == L'\0' || (!inquote && (*psrc == L' ' || *psrc == L'\t')))
-                break;
-    
-            /* copy character into argument */
-            if (copychar)
-            {
-                *pdst++ = *psrc;
-            }
-            ++psrc;
-        }
-
-        /* null-terminate the argument */
-
-        *pdst++ = L'\0';          /* terminate string */
-    }
-
-    /* We put one last argument in -- a null ptr */
-    argv[ (*pNumArgs) ] = NULL;
-
-    return argv;
-}
-
-int __cdecl wmain()
-{
-    DWORD exitCode = -1;
-    int argc;
-    LPCWSTR* wszArglist = const_cast<LPCWSTR*>(SegmentCommandLine(GetCommandLineW(), &argc));
-
-    // This module is merely a shim to figure out what the actual EntryPoint assembly is and call the Host with 
-    // that information. The EntryPoint would be found based on the following assumptions
-    //
-    // 1) Current module lives under the "CoreRuntime" subfolder of the AppX package installation folder.
-    // 2) It has the same name as the EntryPoint assembly that will reside in the parent folder (i.e. the AppX package installation folder).
-    
-    wchar_t pActivationModulePath[MAX_PATH];
-    if (!GetModuleFileName(nullptr, pActivationModulePath, MAX_PATH))
-    {
-        return GetLastError();
-    }
-
-    const wchar_t *pLastSlash = wcsrchr(pActivationModulePath, L'\\');
-    if (pLastSlash == NULL)
-    {
-        TerminateProcess(GetCurrentProcess(), exitCode);
-    }
-    
-    wchar_t entryPointAssemblyFileName[MAX_PATH];
-    IfFailRet(wcsncpy_s(entryPointAssemblyFileName, MAX_PATH, pActivationModulePath, pLastSlash-pActivationModulePath));
-    IfFailRet(wcscat_s(entryPointAssemblyFileName, MAX_PATH, L"\\entrypoint"));
-    IfFailRet(wcscat_s(entryPointAssemblyFileName, MAX_PATH, pLastSlash));
-    
-    auto success = ExecuteAssembly(entryPointAssemblyFileName, argc-1, &(wszArglist[1]), &exitCode);
-
-    TerminateProcess(GetCurrentProcess(), exitCode);
-}
-
diff --git a/src/installer/uwp/Host/UWPShim/Windows/CMakeLists.txt b/src/installer/uwp/Host/UWPShim/Windows/CMakeLists.txt
deleted file mode 100644 (file)
index 16b7003..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-include(../../../../settings.cmake)
-
-add_definitions(-DUNICODE)
-add_definitions(-D_UNICODE)
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
-set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ENTRY:wmain")
-set(CMAKE_EXE_LINKER_FLAGS_DEBUG "/NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib")
-
-include_directories("${CLI_CMAKE_RESOURCE_DIR}/uwpshim")
-link_directories(${UWPHOST_LIB_PATH})
-set (PLATFORM STORE)
-
-add_executable(UWPShim
-  ../uwpshim.cpp
-  ../native.rc
-)
-
-target_link_libraries(UWPShim
-    UWPHost
-    vcruntime
-)
-
-install(TARGETS UWPShim DESTINATION .)
diff --git a/src/installer/uwp/Host/UWPShim/native.rc b/src/installer/uwp/Host/UWPShim/native.rc
deleted file mode 100644 (file)
index 62aa395..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "version_info.h"
-
-VS_VERSION_INFO VERSIONINFO
-FILEVERSION     VER_FILEVERSION
-PRODUCTVERSION  VER_PRODUCTVERSION
-FILEFLAGSMASK   VS_FFI_FILEFLAGSMASK
-FILEFLAGS       VER_DEBUG
-FILEOS          VOS__WINDOWS32
-FILETYPE        VFT_DLL
-FILESUBTYPE     VFT2_UNKNOWN
-BEGIN
-    BLOCK "StringFileInfo"
-    BEGIN
-        BLOCK "040904E4"
-        BEGIN
-            VALUE "CompanyName",      VER_COMPANYNAME_STR
-            VALUE "FileDescription",  VER_FILEDESCRIPTION_STR
-            VALUE "FileVersion",      VER_FILEVERSION_STR
-            VALUE "InternalName",     VER_INTERNALNAME_STR
-            VALUE "LegalCopyright",   VER_LEGALCOPYRIGHT_STR
-            VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
-            VALUE "ProductName",      VER_PRODUCTNAME_STR
-            VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
-        END
-    END
-
-    BLOCK "VarFileInfo"
-    BEGIN
-        /* The following line should only be modified for localized versions.     */
-        /* It consists of any number of WORD,WORD pairs, with each pair           */
-        /* describing a language,codepage combination supported by the file.      */
-        /*                                                                        */
-        /* For example, a file might have values "0x409,1252" indicating that it  */
-        /* supports English language (0x409) in the Windows ANSI codepage (1252). */
-
-        VALUE "Translation", 0x409, 1252
-
-    END
-END
-
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ErrorCodes.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ErrorCodes.cs
deleted file mode 100644 (file)
index 4bdea57..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-/// <summary>
-/// Errors codes the application may return.
-/// The codes are divided up into buckets at the Phone team's behest so that they can easily
-/// triage errors.
-/// </summary>
-enum ErrorCodes
-{
-    Success = 0,
-
-    //
-    // Bucket 1: Deployment / Usage
-    //           Errors that the Marketplace team should address in their deployment
-    //
-
-    // 1000+: tool usage errors
-    EmptyFileList = 1000,
-    IncorrectInputFolder = 1001,
-    IncorrectOutputFolder = 1002,
-    IncorrectConfigFile = 1003,
-    InvalidArgument = 1004,
-    CrossGenNotOnPath = 1005,
-    InvalidAppManifest = 1006,
-    IncorrectPlatformFolder = 1007,
-    IncorrectFrameworkFolder = 1008,
-    IncorrectMakePriPath = 1009,
-    IncorrectRcPath = 1009, 
-
-    // 1200+: Errors getting crossgen off the ground and running
-    UnknownCrossgenError = 1200,
-    CLRInitError = 1201,
-    InvalidCrossgenArguments = 1202,
-    AssemblyNotFound = 1203,
-
-    // 1300+: Errors that occur while processing the app
-    InputFileReadError = 1300,
-    InputPackageFolderStructureTooComplex = 1301,
-    SecurityException = 1302,
-    UnauthorizedAccessException = 1303,
-    PathTooLongException = 1304,
-    NotSupported = 1305,
-    CoreRuntimeLinkageError = 1306,
-    InternalWireUpCoreRuntimeError = 1307,
-
-    // 1400+: Errors from the OS that were unexpected (ie, not specifically caused by user input or config)
-    FailedCreatingJobObject = 1400,
-
-    //
-    // Bucket 2: Invalid IL
-    //           Expected errors that occur because the user's application was malformed
-    //
-
-    CompilationFailedBadInputIL = 2001,
-    ExceededMaximumMethodSize =   2002,
-
-    //
-    // Bucket 3: Transient Errors
-    //           Errors most likely caused by machine state that could pass given a second chance
-    //
-    CrossgenTimeout = 3000,
-    InsufficientMemory = 3001,
-    InsufficientDiskSpace = 3003,
-    SharingViolation = 3004,
-    
-    //
-    // Bucket 4: Unexpected Errors
-    //           Errors that most likely indicate a bug in the runtime and need investigation by the CLR team
-    //
-    CorEExecutionEngine = 4000,
-    CorESecurity = 4001,
-    CldbEInternalError = 4002,
-    AccessViolation = 4004,
-    AppCompileInternalFailure = 4005
-
-}
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergePriConfigTask.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergePriConfigTask.cs
deleted file mode 100644 (file)
index f7afa0c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.Build.Framework;
-using Microsoft.Build.Utilities;
-using System.IO;
-using System.Xml.Linq;
-
-namespace Microsoft.Build.Net.CoreRuntimeTask
-{
-    public sealed class MergePriConfigTask : Task
-    {
-        [Required]
-        public string AppPriConfig { get; set; }
-
-        [Required]
-        public string CustomPriConfig { get; set; }
-
-        [Required]
-        public string MergedPriConfig { get; set; }
-
-        public override bool Execute()
-        {
-            return (0 == InternalExecute());
-        }
-
-        private int InternalExecute()
-        {
-            XElement appConfig = XElement.Load(AppPriConfig);
-            if (appConfig == null)
-            {
-                Log.LogErrorFromResources(Resources.Error_FailedToLoadResourceConfig, AppPriConfig);
-                return -1;
-            }
-
-            XElement customConfig = XElement.Load(CustomPriConfig);
-            if (customConfig == null)
-            {
-                Log.LogError(Resources.Error_FailedToLoadResourceConfig, CustomPriConfig);
-                return -1;
-            }
-
-
-            IEnumerable<XElement> customIndexRoot = customConfig.Descendants("index").Where(x => x.Descendants("indexer-config").Any(y => y.Attribute("type").Value == "RESW")).Select(x => x);
-            if (customIndexRoot.Count() > 0)
-            {
-                appConfig.Add(customIndexRoot);
-                appConfig.Save(MergedPriConfig);
-                return 0;
-            }
-            else
-            {
-                Log.LogError(Resources.Error_InvalidResourceConfig, CustomPriConfig);
-                return -1;
-            }
-        }
-    }
-}
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergeResWFilesTask.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/MergeResWFilesTask.cs
deleted file mode 100644 (file)
index 29afe10..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-using System.IO;
-using System.Xml;
-using System.Xml.Linq;
-using Microsoft.Build.Framework;
-using Microsoft.Build.Utilities;
-
-namespace Microsoft.Build.Net.CoreRuntimeTask
-{
-    public sealed class MergeResWFilesTask : Task
-    {
-        private List<ITaskItem> mergedResources = new List<ITaskItem>();
-
-        /// <summary>
-        /// The list of merged resource files
-        /// </summary>
-        [Output]
-        public ITaskItem[] MergedResources { get; set; }
-
-        /// <summary>
-        /// OutputLocation is where the merged resw files are going to be stored.
-        /// The merged resw files are going to be overwriting the existing files
-        /// in OutputLocation
-        /// </summary>
-        [Required]
-        public string OutputLocation { get; set; }
-        /// <summary>
-        /// The *.resw files to merge for
-        /// </summary>
-        [Required]
-        public ITaskItem[] ResourceFiles { get; set; }
-        /// <summary>
-        /// Implementation of Microsoft.Build.Utilities.Task.Execute
-        /// </summary>
-        /// <returns></returns>
-        public override bool Execute()
-        {
-            bool succeeded = (0 == InternalExecute());
-            MergedResources = mergedResources.ToArray();
-            return succeeded;
-
-        }
-
-        /// <summary>
-        /// The actual implementation of the Execute
-        /// </summary>
-        /// <returns>Returns 0 on success</returns>
-        private int InternalExecute()
-        {
-
-            // Loop through the ResourceFiles in groups of ResourceIndexName
-            foreach (var resourceIndex in GetResourceIndexes())
-            {
-                var resourceFiles = GetResourceFilesOfResourceIndex(resourceIndex);
-                var firstResourceFile = resourceFiles.FirstOrDefault();
-                if (firstResourceFile != null)
-                {
-                    XDocument doc = XDocument.Load(firstResourceFile.ItemSpec);
-                    HashSet<string> mergedResourceKeys = new HashSet<string>();
-                    foreach (var key in doc.Descendants("data").Select(x => x.Attribute("name").Value))
-                        mergedResourceKeys.Add(key);
-                    foreach (var resourceFile in resourceFiles.Skip(1))
-                    {
-                        XDocument mergee = XDocument.Load(resourceFile.ItemSpec);
-                        
-                        foreach (var dataNode in mergee.Descendants("data"))
-                        {
-                            if (mergedResourceKeys.Add(dataNode.Attribute("name").Value))
-                                doc.Root.Add(dataNode);
-                        }
-
-                    }
-                    Directory.CreateDirectory(Path.GetFullPath(OutputLocation));
-                    var mergedFilePath = Path.Combine(Path.GetFullPath(OutputLocation), Path.GetFileName(firstResourceFile.ItemSpec));
-                    doc.Save(mergedFilePath);
-                    TaskItem newItem = new TaskItem(firstResourceFile);
-                    newItem.ItemSpec = mergedFilePath;
-                    mergedResources.Add(newItem);
-                }
-                    
-            }
-            return 0;
-        }
-
-        /// <summary>
-        /// Returns the unique resource indexes from the list of resource files
-        /// </summary>
-        /// <returns>Unique list of resource</returns>
-        private IEnumerable<string> GetResourceIndexes()
-        {
-            return ResourceFiles.Select(x => x.GetMetadata("ResourceIndexName")).Distinct();
-        }
-        /// <summary>
-        /// Filters the resources according to the index
-        /// </summary>
-        /// <param name="resourceIndex">Item metadata value (of ResourceIndex) to filter the ResourceFiles</param>
-        /// <returns>Filtered list of ResourceFiles</returns>
-        private IEnumerable<ITaskItem> GetResourceFilesOfResourceIndex(string resourceIndex)
-        {
-            return ResourceFiles.Where(x => x.GetMetadata("ResourceIndexname").Equals(resourceIndex, StringComparison.OrdinalIgnoreCase));
-        }
-
-    }
-}
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.builds b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.builds
deleted file mode 100644 (file)
index c320fdd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <ItemGroup>
-    <Project Include="$(MSBuildThisFileDirectory)$(MSBuildProjectName).csproj" />
-  </ItemGroup>
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
-</Project>
\ No newline at end of file
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.csproj b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.csproj
deleted file mode 100644 (file)
index ada9ee4..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
-  <PropertyGroup>
-    <AllowCrossTargeting>true</AllowCrossTargeting>
-    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
-  </PropertyGroup>
-
-  <PropertyGroup>
-    <ProjectGuid>{49082C55-62B7-4DEC-BC9E-3F57945AC37E}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>Microsoft.Build.Net.CoreRuntimeTask</RootNamespace>
-    <AssemblyName>Microsoft.Build.Net.CoreRuntimeTask</AssemblyName>
-    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-    <SccProjectName>SAK</SccProjectName>
-    <SccLocalPath>SAK</SccLocalPath>
-    <SccAuxPath>SAK</SccAuxPath>
-    <SccProvider>SAK</SccProvider>
-
-    <!-- turn off CLS compliant check to make it work with CCI code -->
-    <AssemblyAttributeClsCompliant>false</AssemblyAttributeClsCompliant>
-
-    <AssemblyVersion>$(MajorVersion).$(MinorVersion).$(PatchVersion).0</AssemblyVersion>
-    <AssemblyComVisible>false</AssemblyComVisible>
-    <OutputType>Library</OutputType>
-    <NuGetTargetMoniker>.NETFramework,Version=v4.6</NuGetTargetMoniker>
-    <NuGetTargetMonikerShort>net46</NuGetTargetMonikerShort>
-    <CLSCompliant>false</CLSCompliant>
-    <ProjectGuid>{49082C55-62B7-4DEC-BC9E-3F57945AC37E}</ProjectGuid>
-    <PackageTargetFallback>dnxcore50;portable-net45+win8+wpa81</PackageTargetFallback>
-    <ContainsPackageReferences>true</ContainsPackageReferences>
-    <TargetFrameworkIdentifier>.NETStandard</TargetFrameworkIdentifier>
-    <RestoreOutputPath>obj</RestoreOutputPath>
-    <AssemblyKey>MSFT</AssemblyKey>
-    <RestorePackages>true</RestorePackages>
-    <NoWarn>$(NoWarn);NU1603</NoWarn>
-  </PropertyGroup>
-  <!-- Default configurations to help VS understand the options -->
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|amd64' ">
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|amd64' ">
-  </PropertyGroup>
-
-  <ItemGroup>
-    <Compile Include="ErrorCodes.cs" />
-    <Compile Include="Resources.Designer.cs">
-      <AutoGen>True</AutoGen>
-      <DesignTime>True</DesignTime>
-      <DependentUpon>Resources.resx</DependentUpon>
-    </Compile>
-    <Compile Include="WireUpCoreRuntime.cs" />
-    <Compile Include="MergePriConfigTask.cs" />
-    <Compile Include="MergeResWFilesTask.cs" />
-    <Compile Include="ResourceHandlingTask.cs" />
-  </ItemGroup>
-
-  <ItemGroup>
-    <PackageReference Include="Microsoft.Cci">
-      <Version>4.0.0-rc4-24217-00</Version>
-    </PackageReference>
-    <PackageReference Include="Microsoft.TargetingPack.NETFramework.v4.6">
-      <Version>1.0.1</Version>
-    </PackageReference>
-    <TargetingPackReference Include="System" />
-    <TargetingPackReference Include="System.Core" />
-    <TargetingPackReference Include="System.Xml" />
-    <TargetingPackReference Include="System.Xml.Linq" />
-    <TargetingPackReference Include="System.Runtime" />
-    <TargetingPackReference Include="System.Runtime.Serialization" />
-    <TargetingPackReference Include="System.Windows.Forms" />
-    <TargetingPackReference Include="Microsoft.Build" />
-    <TargetingPackReference Include="Microsoft.Build.Framework" />
-    <TargetingPackReference Include="Microsoft.Build.Utilities.v4.0" />
-  </ItemGroup>
-  <ItemGroup>
-    <EmbeddedResource Include="Resources.resx">
-      <Generator>ResXFileCodeGenerator</Generator>
-      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
-    </EmbeddedResource>
-  </ItemGroup>
-
-  <Target Name="CopyLocalMicrosoftCci" BeforeTargets="ResolveAssemblyReferences">
-    <ItemGroup>
-      <ModifiedCci Include="@(Reference)" Condition="'%(NuGetPackageId)' == 'Microsoft.Cci'">
-        <Private>true</Private>
-      </ModifiedCci>
-      <Reference Remove="@(Reference)" Condition="'%(NuGetPackageId)' == 'Microsoft.Cci'" />
-      <Reference Include="@(ModifiedCci)" />
-    </ItemGroup>
-  </Target>
-
-  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project>
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ResourceHandlingTask.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/ResourceHandlingTask.cs
deleted file mode 100644 (file)
index 16a6651..0000000
+++ /dev/null
@@ -1,474 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.Build.Framework;
-using Microsoft.Build.Utilities;
-using System.Diagnostics;
-using System.IO;
-using System.Xml.Linq;
-using System.Collections;
-using System.Resources;
-using Microsoft.Cci;
-using System.Runtime.Serialization;
-using System.Runtime.Serialization.Formatters.Binary;
-
-namespace Microsoft.Build.Net.CoreRuntimeTask
-{
-
-    public sealed class ResourceHandlingTask : Task
-    {
-        [Serializable()]
-        public sealed class ResWInfo
-        {
-            public DateTime ResWTimeUtc;
-            public string   ResWPath;
-            public string   ResourceIndexName;
-            public string   NeutralResourceLanguage;
-        }
-        [Serializable()]
-        public sealed class PortableLibraryResourceStateInfo
-        {
-            public DateTime PLibTimeUtc;
-            public bool ContainsFrameworkResources;
-            public List<ResWInfo> ResWInfoList;
-        }
-
-        [Serializable()]
-        public sealed class ResourceHandlingState
-        {
-            [NonSerialized]
-            private TaskLoggingHelper _logger;
-            public Dictionary<string, PortableLibraryResourceStateInfo> PortableLibraryStatesLookup = new Dictionary<string, PortableLibraryResourceStateInfo>();
-
-            public void SetLogger(TaskLoggingHelper logger) { _logger = logger; } 
-
-            public bool IsUpToDate(string assemblyPath, out bool containsFrameworkResources, out List<ResWInfo> reswInfoList)
-            {
-                reswInfoList = null;
-                containsFrameworkResources = false;
-
-                if (PortableLibraryStatesLookup == null)
-                {
-                    PortableLibraryStatesLookup = new Dictionary<string, PortableLibraryResourceStateInfo>();
-                    return false;
-                }
-                if (PortableLibraryStatesLookup.Count == 0)
-                {
-                    return false;
-                }
-
-                try
-                {
-                    if (assemblyPath == null || !File.Exists(assemblyPath))
-                    {
-                        return false;
-                    }
-                    PortableLibraryResourceStateInfo info; 
-                    if (!PortableLibraryStatesLookup.TryGetValue(assemblyPath, out info))
-                    {
-                        return false;
-                    }
-                    FileInfo fiPlib = new FileInfo(assemblyPath);
-                    if (!fiPlib.LastWriteTimeUtc.Equals(info.PLibTimeUtc))
-                    {
-                        _logger.LogMessage(MessageImportance.Low, Resources.Message_CachedReswNotUpToDateAssemblyNewer, assemblyPath); 
-                        return false;
-                    }
-                    if (info.ResWInfoList == null)
-                    {
-                        return false;
-                    }
-                    else
-                    {
-                        foreach (ResWInfo reswInfo in info.ResWInfoList)
-                        {
-                            if (reswInfo.ResWPath == null || !File.Exists(reswInfo.ResWPath))
-                            {
-                                _logger.LogMessage(MessageImportance.Low, Resources.Message_CachedReswNotExists, assemblyPath, reswInfo.ResWPath);
-                                return false;
-                            }
-
-                            FileInfo fiResW = new FileInfo(reswInfo.ResWPath);
-                            if (!fiResW.LastWriteTimeUtc.Equals(reswInfo.ResWTimeUtc))
-                            {
-                                _logger.LogMessage(MessageImportance.Low, Resources.Message_CachedReswNotUpToDate, reswInfo.ResWPath);
-                                return false;
-                            }
-                        }
-
-                    }
-
-                    foreach (ResWInfo reswInfo in info.ResWInfoList)
-                    {
-                        _logger.LogMessage(MessageImportance.Low, Resources.Message_UsingCachedResw, reswInfo.ResWPath, assemblyPath);
-                    }
-
-                    reswInfoList = info.ResWInfoList;
-                    containsFrameworkResources = info.ContainsFrameworkResources;
-                    return true;
-                }
-                catch (Exception e)
-                {
-                    _logger.LogMessage(MessageImportance.Low, Resources.Error_UnspecifiedCheckUpToDate, assemblyPath, e.Message);
-                    return false;
-                }
-            }
-
-            public void Save(string assemblyPath, DateTime plibTimeUtc, bool containsFrameworkResources, List<ResWInfo> reswInfoList)
-            {
-                try
-                {
-                    PortableLibraryStatesLookup[assemblyPath] = new PortableLibraryResourceStateInfo() { PLibTimeUtc = plibTimeUtc, ContainsFrameworkResources = containsFrameworkResources, ResWInfoList = reswInfoList};
-                }
-                catch (Exception e) 
-                {
-                    _logger.LogMessage(MessageImportance.Low, Resources.Error_UnspecifiedSaveState, assemblyPath, e.Message);
-                }
-            }
-
-        }
-
-        [Required]
-        public ITaskItem[] AssemblyList { get; set; }
-
-        [Required]
-        public string OutResWPath { get; set; }
-
-        [Required]
-        public string StateFile { get; set; }
-
-        public bool SkipFrameworkResources { get; set; }
-
-        [Output]
-        public ITaskItem[] ReswFileList { get; set; }
-
-        [Output]
-        public ITaskItem[] UnprocessedAssemblyList { get; set; }
-
-        private MetadataReaderHost _host; 
-
-        private ResourceHandlingState _state = null;
-        private List<ITaskItem> _mainAssemblies;
-        private List<ITaskItem> _satelliteAssemblies;
-        private HashSet<String> _processedAssemblies;
-
-        public override bool Execute()
-        {
-            ReswFileList            = null;
-            UnprocessedAssemblyList = null;
-
-            List<ITaskItem> unprocessedAssemblyList = new List<ITaskItem>();
-            List<ITaskItem> reswList = new List<ITaskItem>();
-
-            _state = ReadStateFile(StateFile);
-            if (_state == null)
-            {
-                _state = new ResourceHandlingState();
-            }
-            _state.SetLogger(Log);
-
-            using (_host = new PeReader.DefaultHost())
-            {
-                try
-                {
-                    // Separate main assemblies and satellite assemblies so main assemblies get processed first
-                    _mainAssemblies = new List<ITaskItem>();
-                    _satelliteAssemblies = new List<ITaskItem>();
-                    _processedAssemblies = new HashSet<String>(StringComparer.OrdinalIgnoreCase);
-
-                    foreach (ITaskItem item in AssemblyList)
-                    {
-                        if (_processedAssemblies.Contains(item.ItemSpec))
-                        {
-                            continue;
-                        }
-                        _processedAssemblies.Add(item.ItemSpec);
-
-                        if (item.ItemSpec.EndsWith(".dll", StringComparison.OrdinalIgnoreCase))
-                        {
-                            if (item.ItemSpec.EndsWith(".resources.dll", StringComparison.OrdinalIgnoreCase))
-                            {
-                                _satelliteAssemblies.Add(item);
-                            }
-                            else
-                            {
-                                _mainAssemblies.Add(item);
-                            }
-                        }
-                    }
-
-                    foreach (ITaskItem assemblyFilePath in _mainAssemblies.Concat(_satelliteAssemblies))
-                    {
-                        List<ResWInfo> resWInfoList = null;
-                        bool containsFrameworkResources = false;
-                        if (!_state.IsUpToDate(assemblyFilePath.ItemSpec, out containsFrameworkResources, out resWInfoList))
-                        {
-                            resWInfoList = ExtractAssemblyResWList(assemblyFilePath.ItemSpec, out containsFrameworkResources);
-
-                            if (resWInfoList != null)
-                            {
-                                FileInfo fiAssembly = new FileInfo(assemblyFilePath.ItemSpec);
-                                _state.Save(assemblyFilePath.ItemSpec, fiAssembly.LastWriteTimeUtc, containsFrameworkResources, resWInfoList);
-                            }
-                        }
-
-                        if (resWInfoList != null)
-                        {
-                            foreach (ResWInfo reswInfo in resWInfoList)
-                            {
-                                TaskItem newTaskItem = new TaskItem(reswInfo.ResWPath);
-                                newTaskItem.SetMetadata("ResourceIndexName", reswInfo.ResourceIndexName);
-                                if (!String.IsNullOrEmpty(reswInfo.NeutralResourceLanguage))
-                                {
-                                    newTaskItem.SetMetadata("NeutralResourceLanguage", reswInfo.NeutralResourceLanguage);
-                                }
-
-                                if (!containsFrameworkResources)
-                                {
-                                    newTaskItem.SetMetadata("OriginalItemSpec", reswInfo.ResWPath); // Original GenerateResource behavior creates this additional metadata item on processed non-framework assemblies
-                                    reswList.Add(newTaskItem);
-                                }
-                                else if (!SkipFrameworkResources)
-                                {
-                                    reswList.Add(newTaskItem);
-                                }
-                            }
-                        }
-
-                    }
-
-                    UnprocessedAssemblyList = unprocessedAssemblyList.ToArray(); // For now this list will always be empty
-                    ReswFileList = reswList.ToArray();
-                    WriteStateFile(StateFile, _state);
-                } 
-                catch (Exception e)
-                {
-                    Log.LogError(Resources.Error_ResourceExtractionFailed, e.Message);
-                    return false;
-                }
-            }
-
-            return true;
-        }
-
-        private ResourceHandlingState ReadStateFile(string stateFile)
-        {
-            try 
-            {
-                if (!String.IsNullOrEmpty(stateFile) && File.Exists(stateFile))
-                {
-                    using (FileStream fs = new FileStream(stateFile, FileMode.Open))
-                    {
-                        BinaryFormatter formatter = new BinaryFormatter();
-                        object deserializedObject = formatter.Deserialize(fs);
-                        ResourceHandlingState state = deserializedObject as ResourceHandlingState;
-                        if (state == null && deserializedObject != null)
-                        {
-                            Log.LogMessage(MessageImportance.Normal, Resources.Message_UnspecifiedStateFileCorrupted, stateFile);
-                        }
-                        return state;
-                    }
-                }
-                else
-                    return null;
-            }
-            catch (Exception e)
-            {
-                Log.LogMessage(MessageImportance.Low, Resources.Message_UnspecifiedReadStateFile, e.Message);
-                return null;
-            }
-        }
-
-        private bool IsAtOutputFolder(string path)
-        {
-            try
-            {
-                return (Path.GetDirectoryName(path).Equals(OutResWPath.TrimEnd(new char[] {Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar}), StringComparison.OrdinalIgnoreCase));
-            }
-            catch
-            {
-                return false;
-            }
-        }
-
-        private void WriteStateFile(string stateFile, ResourceHandlingState state)
-        {
-            try
-            {
-                if (stateFile != null && stateFile.Length > 0 )
-                {
-                    using (FileStream fs = new FileStream(stateFile, FileMode.Create))
-                    {
-                        BinaryFormatter formatter = new BinaryFormatter();
-                        formatter.Serialize(fs, state);
-                    }
-                }
-
-            }
-            catch (Exception e) 
-            {
-                Log.LogMessage(MessageImportance.Low, Resources.Message_UnspecifiedSaveStateFile, e.Message);
-            }
-        }
-
-        private ResWInfo ExtractResourcesFromStream(Stream stream, IAssembly assembly, string resourceFileName, bool containsFrameworkResources)
-        {
-            string reswFilePath;
-            string resourceIndexName;
-            string neutralResourceLanguage = "";
-
-            if (containsFrameworkResources)
-            {
-                reswFilePath = OutResWPath + Path.AltDirectorySeparatorChar + resourceFileName + ".resw";
-                resourceIndexName = resourceFileName;
-                neutralResourceLanguage = "en-US";
-            }
-            else
-            {
-                string culturePath = "";
-                string culture = assembly.Culture;
-                string assemblyName = assembly.Name.Value;
-
-                if (!String.IsNullOrEmpty(culture))
-                {
-                    culturePath = culture + Path.DirectorySeparatorChar;
-                }
-                else if (TryGetNeutralResourcesLanguageAttribute(assembly, out neutralResourceLanguage))
-                {
-                    culturePath = neutralResourceLanguage + Path.DirectorySeparatorChar;
-                }
-                // Must have NeutralResourcesLanguageAttribute
-                // warning MSB3817: The assembly "<FullPath>\ClassLibrary1.dll" does not have a NeutralResourcesLanguageAttribute on it.
-                // To be used in an app package, portable libraries must define a NeutralResourcesLanguageAttribute on their main assembly
-                // (ie, the one containing code, not a satellite assembly).
-                else
-                {
-                    return null;
-                }
-
-                if (resourceFileName.EndsWith("." + culture, StringComparison.OrdinalIgnoreCase))
-                {
-                    resourceFileName = resourceFileName.Remove(resourceFileName.Length - (culture.Length + 1));
-                }
-
-                resourceIndexName = assemblyName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) ? assemblyName.Remove(assemblyName.Length - 10) : assemblyName;
-                reswFilePath = OutResWPath + resourceIndexName + Path.DirectorySeparatorChar + culturePath + resourceFileName + ".resw";
-                if (!Directory.Exists(Directory.GetParent(reswFilePath).ToString()))
-                {
-                    Directory.CreateDirectory(Directory.GetParent(reswFilePath).ToString());
-                }
-            }
-
-            WriteResW(stream, reswFilePath);
-
-            FileInfo fiResW = new FileInfo(reswFilePath);
-            return new ResWInfo() { ResWPath = reswFilePath, ResWTimeUtc = fiResW.LastWriteTimeUtc, ResourceIndexName = resourceIndexName, NeutralResourceLanguage = neutralResourceLanguage };
-        }
-
-        private bool TryGetNeutralResourcesLanguageAttribute(IAssembly assembly, out String neutralResourceLanguage)
-        {
-            neutralResourceLanguage = "";
-            foreach (ICustomAttribute attribute in assembly.AssemblyAttributes)
-            {
-                if (TypeHelper.GetTypeName(attribute.Type, NameFormattingOptions.None).Equals("System.Resources.NeutralResourcesLanguageAttribute"))
-                {
-                    if (attribute.Arguments.Count() > 0)
-                    {
-                        IMetadataConstant metadataConstant = attribute.Arguments.ElementAt(0) as IMetadataConstant;
-                        if (metadataConstant == null)
-                        {
-                            return false; // Unable to parse
-                        }
-
-                        Object value = metadataConstant.Value;
-                        if (!(value is String))
-                        {
-                            return false; // Expected to be a string
-                        }
-                        neutralResourceLanguage = (String)value;
-                        return true;
-                    }
-                }
-            }
-            return false;
-        }
-
-        private void WriteResW(Stream stream, string reswFilePath)
-        {
-            using (ResourceReader rr = new ResourceReader(stream))
-            {
-                using (ResXResourceWriter rw = new ResXResourceWriter(reswFilePath))
-                {
-                    foreach (DictionaryEntry dict in rr)
-                    {
-                        rw.AddResource((string)dict.Key, dict.Value);
-                    }
-                }
-            }
-        }
-
-        private List<ResWInfo> ExtractAssemblyResWList(string assemblyFilePath, out bool containsFrameworkResources)
-        {
-            containsFrameworkResources = false;
-
-            IAssembly assembly = _host.LoadUnitFrom(assemblyFilePath) as IAssembly;
-            if (assembly == null || assembly == Dummy.Assembly)
-            {
-                return null;
-            }
-
-            if (assembly.Resources == null)
-            {
-                return null;
-            }
-
-            List<ResWInfo> reswInfoList = new List<ResWInfo>();
-            string frameworkResourcesName = "FxResources." + assembly.Name.Value + ".SR.resources";
-
-            foreach (IResourceReference resourceReference in assembly.Resources)
-            {
-                if (!resourceReference.Resource.IsInExternalFile && resourceReference.Name.Value.EndsWith(".resources", StringComparison.OrdinalIgnoreCase))
-                {
-                    const int BUFFERSIZE = 4096;
-                    byte[] buffer = new byte[BUFFERSIZE];
-                    int index = 0;
-
-                    using (MemoryStream ms = new MemoryStream(BUFFERSIZE))
-                    {
-                        foreach (byte b in resourceReference.Resource.Data)
-                        {
-                            if (index == BUFFERSIZE)
-                            {
-                                ms.Write(buffer, 0, BUFFERSIZE);
-                                index = 0;
-                            }
-                            buffer[index++] = b;
-                        }
-                        ms.Write(buffer, 0, index);
-                        ms.Seek(0, SeekOrigin.Begin);
-                        
-                        string resourceFileName = resourceReference.Name.Value.Remove(resourceReference.Name.Value.Length - 10);
-                        bool isFrameworkResource = resourceReference.Name.Value.Equals(frameworkResourcesName, StringComparison.OrdinalIgnoreCase);
-                        ResWInfo reswInfo = ExtractResourcesFromStream(ms, assembly, resourceFileName, isFrameworkResource);
-
-                        if (reswInfo != null)
-                        {
-                            reswInfoList.Add(reswInfo);
-                        }
-
-                        if (isFrameworkResource)
-                        {
-                            containsFrameworkResources = true;
-                            return reswInfoList;
-                        }
-                    }
-                }
-            }
-
-            return reswInfoList;
-        }
-    }
-}
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.Designer.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.Designer.cs
deleted file mode 100644 (file)
index 0a35eab..0000000
+++ /dev/null
@@ -1,252 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:4.0.30319.42000
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace Microsoft.Build.Net.CoreRuntimeTask {
-    using System;
-    
-    
-    /// <summary>
-    ///   A strongly-typed resource class, for looking up localized strings, etc.
-    /// </summary>
-    // This class was auto-generated by the StronglyTypedResourceBuilder
-    // class via a tool like ResGen or Visual Studio.
-    // To add or remove a member, edit your .ResX file then rerun ResGen
-    // with the /str option, or rebuild your VS project.
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
-    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    internal class Resources {
-        
-        private static global::System.Resources.ResourceManager resourceMan;
-        
-        private static global::System.Globalization.CultureInfo resourceCulture;
-        
-        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
-        internal Resources() {
-        }
-        
-        /// <summary>
-        ///   Returns the cached ResourceManager instance used by this class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Resources.ResourceManager ResourceManager {
-            get {
-                if (object.ReferenceEquals(resourceMan, null)) {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Build.Net.CoreRuntimeTask.Resources", typeof(Resources).Assembly);
-                    resourceMan = temp;
-                }
-                return resourceMan;
-            }
-        }
-        
-        /// <summary>
-        ///   Overrides the current thread's CurrentUICulture property for all
-        ///   resource lookups using this strongly typed resource class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Globalization.CultureInfo Culture {
-            get {
-                return resourceCulture;
-            }
-            set {
-                resourceCulture = value;
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to CopyWin32Resources failed with exit code {0}.
-        /// </summary>
-        internal static string Error_CopyWin32ResourcesFailed {
-            get {
-                return ResourceManager.GetString("Error_CopyWin32ResourcesFailed", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Applications with custom entry point executables are not supported. Check Executable attribute of the Application element in the package manifest.
-        /// </summary>
-        internal static string Error_CustomEntryPointNotSupported {
-            get {
-                return ResourceManager.GetString("Error_CustomEntryPointNotSupported", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Failed to load resource config file &quot;{0}&quot;.
-        /// </summary>
-        internal static string Error_FailedToLoadResourceConfig {
-            get {
-                return ResourceManager.GetString("Error_FailedToLoadResourceConfig", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to WireUpCoreRuntime encountered an error: {0}.
-        /// </summary>
-        internal static string Error_InternalWireUpCoreRuntimeError {
-            get {
-                return ResourceManager.GetString("Error_InternalWireUpCoreRuntimeError", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Invalid resource config file &apos;{0}&apos;.
-        /// </summary>
-        internal static string Error_InvalidResourceConfig {
-            get {
-                return ResourceManager.GetString("Error_InvalidResourceConfig", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to IO exception while copying file {0}.  {1}.
-        /// </summary>
-        internal static string Error_IOExceptionCopyFile {
-            get {
-                return ResourceManager.GetString("Error_IOExceptionCopyFile", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to IO exception while creating output folder. {0}.
-        /// </summary>
-        internal static string Error_IOExceptionOutputFolder {
-            get {
-                return ResourceManager.GetString("Error_IOExceptionOutputFolder", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to PathTooLongException while copying file {0}.
-        /// </summary>
-        internal static string Error_PathTooLongExceptionCopyFile {
-            get {
-                return ResourceManager.GetString("Error_PathTooLongExceptionCopyFile", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to PathTooLongException while creating output folder.
-        /// </summary>
-        internal static string Error_PathTooLongExceptionOutputFolder {
-            get {
-                return ResourceManager.GetString("Error_PathTooLongExceptionOutputFolder", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Framework resource extraction failed. {0}.
-        /// </summary>
-        internal static string Error_ResourceExtractionFailed {
-            get {
-                return ResourceManager.GetString("Error_ResourceExtractionFailed", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Encountered an error while checking if the resource cache of &quot;{0}&quot; is up to date: {1}.
-        /// </summary>
-        internal static string Error_UnspecifiedCheckUpToDate {
-            get {
-                return ResourceManager.GetString("Error_UnspecifiedCheckUpToDate", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Exception while creating entry point shim for hybrid apps: {0}.
-        /// </summary>
-        internal static string Error_UnspecifiedCreatingUWPShimForHybrid {
-            get {
-                return ResourceManager.GetString("Error_UnspecifiedCreatingUWPShimForHybrid", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Encountered an error while saving the resource state for &quot;{0}&quot;: {1}.
-        /// </summary>
-        internal static string Error_UnspecifiedSaveState {
-            get {
-                return ResourceManager.GetString("Error_UnspecifiedSaveState", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Cached ResW of assembly &quot;{0}&quot; doesn&apos;t exist: &quot;{1}&quot;.
-        /// </summary>
-        internal static string Message_CachedReswNotExists {
-            get {
-                return ResourceManager.GetString("Message_CachedReswNotExists", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Cached ResW &quot;{0}&quot; is not up to date.
-        /// </summary>
-        internal static string Message_CachedReswNotUpToDate {
-            get {
-                return ResourceManager.GetString("Message_CachedReswNotUpToDate", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Cached ResW of assembly &quot;{0}&quot; is not up to date, assembly itself is newer.
-        /// </summary>
-        internal static string Message_CachedReswNotUpToDateAssemblyNewer {
-            get {
-                return ResourceManager.GetString("Message_CachedReswNotUpToDateAssemblyNewer", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Processing file: &quot;{0}&quot;.
-        /// </summary>
-        internal static string Message_ProcessingFile {
-            get {
-                return ResourceManager.GetString("Message_ProcessingFile", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to An error occured while reading the state file: {0}.
-        /// </summary>
-        internal static string Message_UnspecifiedReadStateFile {
-            get {
-                return ResourceManager.GetString("Message_UnspecifiedReadStateFile", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to An error occured while writing the state file: {0}.
-        /// </summary>
-        internal static string Message_UnspecifiedSaveStateFile {
-            get {
-                return ResourceManager.GetString("Message_UnspecifiedSaveStateFile", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Encountered an error while reading the  state file &quot;{0}&quot;. The state file may be corrupt. Disregarding the state file..
-        /// </summary>
-        internal static string Message_UnspecifiedStateFileCorrupted {
-            get {
-                return ResourceManager.GetString("Message_UnspecifiedStateFileCorrupted", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///   Looks up a localized string similar to Using cached ResW &quot;{0}&quot; for &quot;{1}&quot;.
-        /// </summary>
-        internal static string Message_UsingCachedResw {
-            get {
-                return ResourceManager.GetString("Message_UsingCachedResw", resourceCulture);
-            }
-        }
-    }
-}
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.resx b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/Resources.resx
deleted file mode 100644 (file)
index 8e86564..0000000
+++ /dev/null
@@ -1,183 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Error_CopyWin32ResourcesFailed" xml:space="preserve">
-    <value>CopyWin32Resources failed with exit code {0}</value>
-  </data>
-  <data name="Error_CustomEntryPointNotSupported" xml:space="preserve">
-    <value>Applications with custom entry point executables are not supported. Check Executable attribute of the Application element in the package manifest</value>
-  </data>
-  <data name="Error_FailedToLoadResourceConfig" xml:space="preserve">
-    <value>Failed to load resource config file "{0}"</value>
-  </data>
-  <data name="Error_InternalWireUpCoreRuntimeError" xml:space="preserve">
-    <value>WireUpCoreRuntime encountered an error: {0}</value>
-  </data>
-  <data name="Error_InvalidResourceConfig" xml:space="preserve">
-    <value>Invalid resource config file '{0}'</value>
-  </data>
-  <data name="Error_IOExceptionCopyFile" xml:space="preserve">
-    <value>IO exception while copying file {0}.  {1}</value>
-  </data>
-  <data name="Error_IOExceptionOutputFolder" xml:space="preserve">
-    <value>IO exception while creating output folder. {0}</value>
-  </data>
-  <data name="Error_PathTooLongExceptionCopyFile" xml:space="preserve">
-    <value>PathTooLongException while copying file {0}</value>
-  </data>
-  <data name="Error_PathTooLongExceptionOutputFolder" xml:space="preserve">
-    <value>PathTooLongException while creating output folder</value>
-  </data>
-  <data name="Error_ResourceExtractionFailed" xml:space="preserve">
-    <value>Framework resource extraction failed. {0}</value>
-  </data>
-  <data name="Error_UnspecifiedCheckUpToDate" xml:space="preserve">
-    <value>Encountered an error while checking if the resource cache of "{0}" is up to date: {1}</value>
-  </data>
-  <data name="Error_UnspecifiedCreatingUWPShimForHybrid" xml:space="preserve">
-    <value>Exception while creating entry point shim for hybrid apps: {0}</value>
-  </data>
-  <data name="Error_UnspecifiedSaveState" xml:space="preserve">
-    <value>Encountered an error while saving the resource state for "{0}": {1}</value>
-  </data>
-  <data name="Message_CachedReswNotExists" xml:space="preserve">
-    <value>Cached ResW of assembly "{0}" doesn't exist: "{1}"</value>
-  </data>
-  <data name="Message_CachedReswNotUpToDate" xml:space="preserve">
-    <value>Cached ResW "{0}" is not up to date</value>
-  </data>
-  <data name="Message_CachedReswNotUpToDateAssemblyNewer" xml:space="preserve">
-    <value>Cached ResW of assembly "{0}" is not up to date, assembly itself is newer</value>
-  </data>
-  <data name="Message_ProcessingFile" xml:space="preserve">
-    <value>Processing file: "{0}"</value>
-  </data>
-  <data name="Message_UnspecifiedReadStateFile" xml:space="preserve">
-    <value>An error occured while reading the state file: {0}</value>
-  </data>
-  <data name="Message_UnspecifiedSaveStateFile" xml:space="preserve">
-    <value>An error occured while writing the state file: {0}</value>
-  </data>
-  <data name="Message_UnspecifiedStateFileCorrupted" xml:space="preserve">
-    <value>Encountered an error while reading the  state file "{0}". The state file may be corrupt. Disregarding the state file.</value>
-  </data>
-  <data name="Message_UsingCachedResw" xml:space="preserve">
-    <value>Using cached ResW "{0}" for "{1}"</value>
-  </data>
-</root>
\ No newline at end of file
diff --git a/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/WireUpCoreRuntime.cs b/src/installer/uwp/Microsoft.Build.Net.CoreRuntimeTask/WireUpCoreRuntime.cs
deleted file mode 100644 (file)
index e50b96d..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-// Copyright (c) .NET Foundation and contributors. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-namespace Microsoft.Build.Net.CoreRuntimeTask
-{
-    using System;
-    using System.Collections.Generic;
-    using System.ComponentModel;
-    using System.Diagnostics;
-    using System.IO;
-    using System.Linq;
-    using System.Reflection;
-    using System.Runtime.Serialization;
-    using System.Text;
-    using System.Xml;
-    using System.Xml.Linq;
-    using System.Xml.Serialization;
-    using Microsoft.Build.Framework;
-    using Microsoft.Build.Utilities;
-    using System.Runtime.InteropServices;
-
-    /// <summary> Task for wiring up CoreRuntime to appx payload </summary>
-    public class WireUpCoreRuntime : Task
-    {
-        private static int timeoutDuration = 360000; // 6 minutes
-
-        // HRESULT exit codes from Crossgen that indicate the input file is not a managed assembly
-        private const int ErrorNotAnAssembly = -2146230517; // 0x80131f0b
-        
-        private const string PackageDependencyElementName = "PackageDependency";
-
-        private const string AppEntryPointDir = "entrypoint";
-
-        private const string WindowsUWPShimEXE = "UWPShim.exe";
-        private const string ConsoleUWPShimEXE = "consoleUWPShim.exe";
-
-        /// <summary> Gets or sets the path to the input AppxManifest file </summary>
-        [Required]
-        public string AppxManifest { get; set; }
-
-        /// <summary> Gets or sets the appx package payload that will be processed </summary>
-        [Required]
-        public ITaskItem[] AppxPackagePayload { get; set; }
-
-        /// <summary> Gets or sets the output directory that will contain the output appx manifest and any output executables </summary>
-        [Required]
-        public string OutputPath { get; set; }
-
-        /// <summary> Gets ot sets the target runtime of the application </summary>
-        [Required]
-        public string TargetRuntime { get; set; }
-
-        /// <summary> Gets or sets the target architecture </summary>
-        [Required]
-        public string TargetArch { get; set; } 
-
-        /// <summary> Gets or sets the framework packages to be added as PackageDependencies </summary>
-        [Required]
-        public ITaskItem[] FrameworkPackages { get; set; }
-
-        /// <summary> Gets or sets the CoreRuntime Extension SDK location. This is used to locate the UWPShim.exe </summary>
-        [Required]
-        public string CoreRuntimeSDKLocation { get; set; }
-
-        /// <summary> Location of CopyWin32Resources.exe </summary>
-        [Required]
-        public string CopyWin32ResourcesLocation { get; set; }
-
-        /// <summary> Gets ot sets the timeout duration in which the call to CopyWin32Resources is expected to return </summary>
-        public int TimeoutDuration 
-        { 
-            get 
-            { 
-                return timeoutDuration; 
-            }  
-            set
-            {
-                timeoutDuration = value;
-            }
-        }
-
-        /// <summary> Output parameter indicating the error code of executing this task </summary>
-        [Output]
-        public int ErrorCode { get; private set; }
-
-        /// <summary> 
-        /// Output parameter indicating whether the CoreRuntime framework package needs to be deployed before
-        /// deploying the application
-        /// </summary>
-        [Output]
-        public bool FrameworkPackagesNeedsToBeDeployed { get; private set; }
-
-        /// <summary> Gets or sets the appx package payload that has been processed </summary>
-        [Output]
-        public ITaskItem[] TransformedAppxPackagePayload { get; set; }
-
-
-        /// <summary> Execute the task. </summary>
-        /// <returns> True if succeeeds </returns>
-        public override bool Execute()
-        {
-            ErrorCode = InternalExecute();
-            return (ErrorCode == (int)ErrorCodes.Success);
-        }
-
-        /// <summary> The internal implementation of the execute task </summary>
-        /// <returns> ErrorCodes.Success if succeeds, one of the other ErrorCodes otherwise </returns>
-        internal int InternalExecute()
-        {
-            bool isTargetRuntimeManaged = TargetRuntime.Equals("Managed", StringComparison.OrdinalIgnoreCase);
-            List<ITaskItem> currentAppxPackagePayload = AppxPackagePayload.ToList();
-            string transformedAppxManifest = Path.Combine(OutputPath, "AppxManifest.xml");
-
-            // Perform setup:
-            //   - Create output directory if it does not already exist
-            //   - Delete existing AppxManifest.xml if it exists
-            try
-            {
-                Directory.CreateDirectory(OutputPath);
-                File.Delete(transformedAppxManifest);
-            }
-            catch (PathTooLongException)
-            {
-                Log.LogError(Resources.Error_PathTooLongExceptionOutputFolder);
-                return (int)ErrorCodes.PathTooLongException;
-            }
-            catch (IOException ioException)
-            {
-                Log.LogError(Resources.Error_IOExceptionOutputFolder, ioException.Message);
-                return (int)ErrorCodes.InputFileReadError;
-            }
-            catch (Exception e)
-            {
-                Log.LogError(Resources.Error_InternalWireUpCoreRuntimeError, e.Message);
-                return (int)ErrorCodes.InternalWireUpCoreRuntimeError;
-            }
-
-            // Apply transformations required to hook up the Core Runtime
-            // 1. For Managed apps, move <app.exe> to [AppEntryPointDir]\<app.exe> and copy UWPShim.exe to package root as <app.exe>
-            // 2. Replace all ClrHost.dll with either UWPShim.exe (for hybrid apps) or <app.exe> (for managed apps)
-            // 3. If #2 above is performed, inject UWPShim.exe into the output directory for unmanaged apps
-            //    which contain managed winmd and for managed background tasks (which do not contain entrypoint exe)
-            // 4. If #1 or #2 above is performed, add a package dependency to CoreRuntime framework package.
-
-            using (StreamReader sr = new StreamReader(AppxManifest))
-            {
-                XDocument doc = XDocument.Load(sr, LoadOptions.None);
-                XNamespace ns = @"http://schemas.microsoft.com/appx/manifest/foundation/windows10";
-                XNamespace desktop4NameSpace = @"http://schemas.microsoft.com/appx/manifest/desktop/windows10/4";
-
-                string inprocServer = WindowsUWPShimEXE;
-                var windowsUwpShimLocation = Path.Combine(new [] {
-                            CoreRuntimeSDKLocation,
-                            "AppLocal",
-                            WindowsUWPShimEXE} );
-
-                var consoleUwpShimLocation = Path.Combine(new [] {
-                            CoreRuntimeSDKLocation,
-                            "AppLocal",
-                            ConsoleUWPShimEXE} );
-
-                if (isTargetRuntimeManaged)
-                {
-                    // 1. For Managed apps, move <app.exe> to [AppEntryPointDir]\<app.exe> and copy UWPShim.exe to package root as <app.exe>
-                    var entryPointExecutables = doc.
-                                                Descendants(ns + "Applications").
-                                                Descendants(ns + "Application").
-                                                Where(x => x.Attribute("Executable") != null).
-                                                Select(x => new { Executable = x.Attribute("Executable").Value,
-                                                                  ShimFileName = "console".Equals(x.Attribute(desktop4NameSpace + "Subsystem")?.Value, StringComparison.OrdinalIgnoreCase) ? consoleUwpShimLocation : windowsUwpShimLocation});
-
-                    if (entryPointExecutables.Any())
-                    {
-                        // Set the inprocServer to the <app.exe>. From this point on that's our UWPShim.exe
-                        // and since we will be copying uwpShim possibly several times with different names, yet they are all 
-                        // uwpshim.exe, it's OK to grab the first one and use it as inprocserver entry
-                        inprocServer = entryPointExecutables.First().Executable;
-                        if (entryPointExecutables.Any(x => x.Executable.Contains(Path.DirectorySeparatorChar)))
-                        {
-                            Log.LogError(Resources.Error_CustomEntryPointNotSupported);
-                            return (int)ErrorCodes.NotSupported;
-                        }
-
-                        foreach (var entryPointExecutable in entryPointExecutables)
-                        {
-                            // Do not copy <app.exe> from original location, just modify TargetPath to [AppEntryPointDir]\<app.exe>
-                            ITaskItem currentManagedEntryPointExecutableTaskItem = AppxPackagePayload.Where(x => x.GetMetadata("TargetPath") == entryPointExecutable.Executable).Single();
-                            currentManagedEntryPointExecutableTaskItem.SetMetadata("TargetPath", AppEntryPointDir + "\\" + entryPointExecutable.Executable);
-
-                            // Copy UWPShim
-                            var entryPointExecutableShim = Path.Combine(OutputPath, entryPointExecutable.Executable);
-                            File.Copy(entryPointExecutable.ShimFileName, entryPointExecutableShim, true);
-                            var copyResourcesReturncode = CopyWin32Resources(currentManagedEntryPointExecutableTaskItem.ItemSpec, entryPointExecutableShim);
-                            if (copyResourcesReturncode != 0)
-                            {
-                                Log.LogError(Resources.Error_CopyWin32ResourcesFailed, copyResourcesReturncode);
-                                return (int)ErrorCodes.CoreRuntimeLinkageError;
-                            }
-
-                            // Add UWPShim to appx package payload
-                            ITaskItem entryPointExecutableShimTaskItem = new TaskItem(entryPointExecutableShim);
-                            entryPointExecutableShimTaskItem.SetMetadata("TargetPath", entryPointExecutable.Executable);
-                            currentManagedEntryPointExecutableTaskItem.CopyMetadataTo(entryPointExecutableShimTaskItem);
-                            currentAppxPackagePayload.Add(entryPointExecutableShimTaskItem);
-                        }
-                    }
-                }
-                
-                // 
-                // 2. Replace all ClrHost.dll with either UWPShim.exe (for hybrid apps) or <app.exe> (for managed apps)
-                var inprocServerNodes = doc.DescendantNodes().OfType<XText>()
-                                           .Where(x => x.Value.Equals("ClrHost.dll", StringComparison.OrdinalIgnoreCase))
-                                           .Select(x => x);
-
-                bool bHasManagedWinMD = false;
-                foreach (var node in inprocServerNodes)
-                {
-                    node.Value = inprocServer;
-                    bHasManagedWinMD = true;
-                }
-
-                //
-                // 3. If #2 above is performed, inject UWPShim.exe into the output directory for unmanaged apps
-                //    which contain managed winmd and for managed background tasks (which do not contain entrypoint exe)
-                if (bHasManagedWinMD && inprocServer.Equals(WindowsUWPShimEXE))
-                {
-                    try 
-                    {
-                        // Copy UWPShim
-                        string uwpDestination = Path.Combine(OutputPath, inprocServer);
-                        File.Copy(windowsUwpShimLocation, uwpDestination, true);
-
-                        // Add UWPShim to appx package payload
-                        TaskItem uwpShimTaskItem = new TaskItem(uwpDestination);
-                        uwpShimTaskItem.SetMetadata("TargetPath", inprocServer);
-                        currentAppxPackagePayload.Add(uwpShimTaskItem);
-                    }
-                    catch (Exception exception)
-                    {
-                        Log.LogError(Resources.Error_UnspecifiedCreatingUWPShimForHybrid, exception.Message);
-                        return (int)ErrorCodes.CoreRuntimeLinkageError;
-                    }
-
-                }
-
-                //
-                // 4. If #1 or #2 above is performed, add a package dependency to CoreRuntime framework package.
-                if (isTargetRuntimeManaged || bHasManagedWinMD)
-                {
-                    foreach (var FrameworkPackage in FrameworkPackages) 
-                    {
-                        string FrameworkPackageName = FrameworkPackage.GetMetadata("Name");
-                        string FrameworkPackageMinVersion = FrameworkPackage.GetMetadata("Version");
-                        string FrameworkPackagePublisher = FrameworkPackage.GetMetadata("Publisher");
-                        if (!doc.Descendants(ns + "PackageDependency").Any(x => x.Attributes("Name").SingleOrDefault().Value == FrameworkPackageName))
-                        {
-                            // There aren't any such PackageDependency. Add it now.
-                            XElement packageDependency = new XElement(
-                                                            ns + "PackageDependency",
-                                                            new XAttribute("Name",          FrameworkPackageName),
-                                                            new XAttribute("MinVersion",    FrameworkPackageMinVersion),
-                                                            new XAttribute("Publisher",     FrameworkPackagePublisher)
-                                                        );
-                            doc.Descendants(ns + "Dependencies").SingleOrDefault().Add(packageDependency);
-                            FrameworkPackagesNeedsToBeDeployed = true;
-
-                        }
-                    }
-                }
-
-                doc.Save(transformedAppxManifest);
-            }
-
-            TransformedAppxPackagePayload = currentAppxPackagePayload.ToArray();
-            return (int)ErrorCodes.Success;
-
-        }
-
-        int CopyWin32Resources(string lpPEFileToReadResourcesFrom, string lpPEFileToInsertResourcesInto)
-        {
-
-            Process process = new Process();
-            process.StartInfo.FileName = CopyWin32ResourcesLocation ;
-            process.StartInfo.CreateNoWindow = true;
-            process.StartInfo.UseShellExecute = false;
-
-            string args = "/input:\"" + lpPEFileToReadResourcesFrom + "\" ";
-            args += "/output:\"" + lpPEFileToInsertResourcesInto + "\"";
-
-            process.StartInfo.Arguments = args;
-            string output = String.Empty;
-
-            process.Start();
-
-            bool timeOut = !process.WaitForExit(TimeoutDuration);
-
-            if (timeOut)
-            {
-                try 
-                {
-                    process.Kill();
-                }
-                catch {}
-                
-                return -1;
-            }
-
-            return process.ExitCode;
-        }
-    }
-}
-
diff --git a/src/installer/uwp/Windows/gen-buildsys-win.bat b/src/installer/uwp/Windows/gen-buildsys-win.bat
deleted file mode 100644 (file)
index 81d6efd..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-@if "%_echo%" neq "on" echo off
-rem
-rem This file invokes cmake and generates the build system for windows.
-
-set argC=0
-for %%x in (%*) do Set /A argC+=1
-
-if NOT %argC%==4 GOTO :USAGE
-if %1=="/?" GOTO :USAGE
-
-echo %1
-echo %2
-echo %3
-echo %4
-echo %5
-
-setlocal
-set __sourceDir=%1
-
-set __VSString=14 2015
-if "%__VSVersion%" == "vs2017" (
-set __VSString=15 2017
-)
-
-:: Set the target architecture to a format cmake understands. ANYCPU defaults to x64
-set cm_BaseRid=win10-%2
-if /i "%2" == "x86"     (set cm_Arch=I386&&set __VSString=%__VSString%)
-if /i "%2" == "x64"     (set cm_Arch=AMD64&&set __VSString=%__VSString% Win64)
-if /i "%2" == "arm"     (set cm_Arch=ARM&&set __VSString=%__VSString% ARM)
-
-set __ResourcesDir=%3
-set __OutputDir=%4
-
-echo "Computed RID for native build is %cm_BaseRid%"
-
-if defined CMakePath goto DoGen
-
-:: Eval the output from probe-win1.ps1
-pushd "%__sourceDir%"
-for /f "delims=" %%a in ('powershell -NoProfile -ExecutionPolicy ByPass "& %~dp0\probe-win.ps1"') do %%a
-popd
-
-:DoGen
-echo "%CMakePath%" %__sourceDir% %__SDKVersion% %__CMAKE_SYSTEM% %__CMAKE_CUSTOM_DEFINES% "-DCLI_CMAKE_PKG_RID:STRING=%cm_BaseRid%" "-DCLI_CMAKE_PLATFORM_ARCH_%cm_Arch%=1" "-DCMAKE_INSTALL_PREFIX=%__OutputDir%" "-DCLI_CMAKE_RESOURCE_DIR:STRING=%__ResourcesDir%" -G "Visual Studio %__VSString%"
-
-"%CMakePath%" %__sourceDir% %__SDKVersion% %__CMAKE_SYSTEM% %__CMAKE_CUSTOM_DEFINES% "-DCLI_CMAKE_PKG_RID:STRING=%cm_BaseRid%" "-DCLI_CMAKE_PLATFORM_ARCH_%cm_Arch%=1" "-DCMAKE_INSTALL_PREFIX=%__OutputDir%" "-DCLI_CMAKE_RESOURCE_DIR:STRING=%__ResourcesDir%" -G "Visual Studio %__VSString%"
-endlocal
-GOTO :DONE
-
-:USAGE
-  echo "Usage..."
-  echo "gen-buildsys-win.bat <path to top level CMakeLists.txt> <Target Architecture> <Commit Hash> <NativeResourceDir> <OutputDir>"
-  EXIT /B 1
-
-:DONE
-  EXIT /B 0
\ No newline at end of file
diff --git a/src/installer/uwp/Windows/probe-win.ps1 b/src/installer/uwp/Windows/probe-win.ps1
deleted file mode 100644 (file)
index d1ae1fd..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-# This file probes for the prerequisites for the build system, and outputs commands for eval'ing
-# from the cmd scripts to set variables (and exit on error)
-
-function GetCMakeVersions
-{
-  $items = @()
-  $items += @(Get-ChildItem hklm:\SOFTWARE\Wow6432Node\Kitware -ErrorAction SilentlyContinue)
-  $items += @(Get-ChildItem hklm:\SOFTWARE\Kitware -ErrorAction SilentlyContinue)
-  return $items | Where-Object { $_.PSChildName.StartsWith("CMake ") }
-}
-
-function GetCMakeInfo($regKey)
-{
-  # This no longer works for versions 3.5+
-  try {
-    $version = [System.Version] $regKey.PSChildName.Split(' ')[1]
-  }
-  catch {
-    return $null
-  }
-  $cmakeDir = (Get-ItemProperty $regKey.PSPath).'(default)'
-  $cmakePath = [System.IO.Path]::Combine($cmakeDir, "bin\cmake.exe")
-  if (![System.IO.File]::Exists($cmakePath)) {
-    return $null
-  }
-  return @{'version' = $version; 'path' = $cmakePath}
-}
-
-function LocateCMake
-{
-  $errorMsg = "CMake is a pre-requisite to build this repository but it was not found on the path. Please install CMake from http://www.cmake.org/download/ and ensure it is on your path."
-  $inPathPath = (get-command cmake.exe -ErrorAction SilentlyContinue).Path
-  if ($inPathPath -ne $null) {
-    return $inPathPath
-  }
-  # Check the default installation directory
-  $inDefaultDir = [System.IO.Path]::Combine(${Env:ProgramFiles(x86)}, "CMake\bin\cmake.exe")
-  if ([System.IO.File]::Exists($inDefaultDir)) {
-    return $inDefaultDir
-  }
-  # Let us hope that CMake keep using their current version scheme
-  $validVersions = @()
-  foreach ($regKey in GetCMakeVersions) {
-    $info = GetCMakeInfo($regKey)
-    if ($info -ne $null) { 
-      $validVersions += @($info)
-    }
-  }
-  $newestCMakePath = ($validVersions |
-    Sort-Object -property @{Expression={$_.version}; Ascending=$false} |
-    Select-Object -first 1).path
-  if ($newestCMakePath -eq $null) {
-    Throw $errorMsg
-  }
-  return $newestCMakePath
-}
-
-try {
-  $cmakePath = LocateCMake
-  [System.Console]::WriteLine("set CMakePath=" + $cmakePath)
-}
-catch {
-  [System.Console]::Error.WriteLine($_.Exception.Message)
-  [System.Console]::WriteLine("exit /b 1")
-}
diff --git a/src/installer/uwp/build.cmd b/src/installer/uwp/build.cmd
deleted file mode 100644 (file)
index c245d7e..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-@if not defined _echo @echo off
-setlocal
-
-:SetupArgs
-:: Initialize the args that will be passed to cmake
-set __thisScriptFolder=%~dp0
-set __nativeWindowsDir=%~dp0Windows
-set __binDir=%~dp0..\..\Bin
-set __rootDir=%~dp0..\..
-set __CMakeBinBaseDir=""
-set __IntermediatesBaseDir=""
-set __BuildArch=x64
-set __appContainer=""
-set __VCBuildArch=x86_amd64
-set CMAKE_BUILD_TYPE=Debug
-set "__LinkArgs= "
-set "__LinkLibraries= "
-set __PortableBuild=0
-
-:Arg_Loop
-if [%1] == [] goto :ToolsVersion
-if /i [%1] == [Release]     ( set CMAKE_BUILD_TYPE=Release&&shift&goto Arg_Loop)
-if /i [%1] == [Debug]       ( set CMAKE_BUILD_TYPE=Debug&&shift&goto Arg_Loop)
-
-if /i [%1] == [AnyCPU]      ( set __BuildArch=x64&&set __VCBuildArch=x86_amd64&&shift&goto Arg_Loop)
-if /i [%1] == [x86]         ( set __BuildArch=x86&&set __VCBuildArch=x86&&shift&goto Arg_Loop)
-if /i [%1] == [arm]         ( set __BuildArch=arm&&set __VCBuildArch=x86_arm&&set __SDKVersion="-DCMAKE_SYSTEM_VERSION=10.0"&&shift&goto Arg_Loop)
-if /i [%1] == [x64]         ( set __BuildArch=x64&&set __VCBuildArch=x86_amd64&&shift&goto Arg_Loop)
-if /i [%1] == [amd64]       ( set __BuildArch=x64&&set __VCBuildArch=x86_amd64&&shift&goto Arg_Loop)
-
-if /i [%1] == [rid]         ( set __TargetRid=%2&&shift&&shift&goto Arg_Loop)
-shift
-goto :Arg_Loop
-
-:ToolsVersion
-if defined VisualStudioVersion goto :RunVCVars
-
-set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
-if exist %_VSWHERE% (
-  for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
-)
-if not exist "%_VSCOMNTOOLS%" set _VSCOMNTOOLS=%VS140COMNTOOLS%
-if not exist "%_VSCOMNTOOLS%" goto :MissingVersion
-
-set VSCMD_START_DIR="%~dp0"
-call "%_VSCOMNTOOLS%\VsDevCmd.bat"
-
-:RunVCVars
-if "%VisualStudioVersion%"=="15.0" (
-    goto :VS2017
-) else if "%VisualStudioVersion%"=="14.0" (
-    goto :VS2015
-)
-
-:MissingVersion
-:: Can't find VS 2015 or 2017
-echo Error: Visual Studio 2015 or 2017 required
-echo        Please see https://github.com/dotnet/corefx/tree/master/Documentation for build instructions.
-exit /b 1
-
-:VS2017
-:: Setup vars for VS2017
-set __VSVersion=vs2017
-set __PlatformToolset=v141
-if NOT "%__BuildArch%" == "arm64" (
-    :: Set the environment for the native build
-    call "%VS150COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat" %__VCBuildArch%
-)
-goto :SetupDirs
-
-:VS2015
-:: Setup vars for VS2015build
-set __VSVersion=vs2015
-set __PlatformToolset=v140
-if NOT "%__BuildArch%" == "arm64" (
-    :: Set the environment for the native build
-    call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" %__VCBuildArch%
-)
-
-:SetupDirs
-
-:: Setup to cmake the native components
-echo Commencing build of native UWP components
-echo.
-
-if %__CMakeBinBaseDir% == "" (
-    set "__CMakeBinBaseDir=%__binDir%\%__TargetRid%.%CMAKE_BUILD_TYPE%\"
-)
-if %__IntermediatesBaseDir% == "" (
-    set "__IntermediatesBaseDir=%__binDir%\obj\%__TargetRid%.%CMAKE_BUILD_TYPE%\"
-)
-set "__ResourcesDir=%__binDir%\obj\%__TargetRid%.%CMAKE_BUILD_TYPE%\uwphostResourceFiles"
-set "__CMakeBinBaseDir=%__CMakeBinBaseDir:\=/%"
-set "__IntermediatesBaseDir=%__IntermediatesBaseDir:\=/%"
-
-set __SDKVersion="-DCMAKE_SYSTEM_VERSION=10.0"
-set __CMAKE_SYSTEM=
-set __CMAKE_CUSTOM_DEFINES=
-
-call :GenerateAndCompile uwphost %__thisScriptFolder%
-if ERRORLEVEL 1 goto :Failure
-set __CMAKE_SYSTEM="-DCMAKE_SYSTEM_NAME:STRING=WindowsStore"
-set __CMAKE_CUSTOM_DEFINES="-DUWPHOST_LIB_PATH:STRING=%__IntermediatesBaseDir%\uwphost\Host\UWPHost\%CMAKE_BUILD_TYPE%"
-call :GenerateAndCompile uwpshim %__thisScriptFolder%host\UWPShim
-if ERRORLEVEL 1 goto :Failure
-
-echo Done building Native components
-exit /b 0
-
-:GenerateAndCompile
-    set __IntermediatesDir=%__IntermediatesBaseDir%%1
-    set __CMakeBinDir=%__CMakeBinBaseDir%%1
-
-    echo Building project system for %__IntermediatesDir% Source: %2
-    :: Check that the intermediate directory exists so we can place our cmake build tree there
-    if exist "%__IntermediatesDir%" rd /s /q "%__IntermediatesDir%"
-    if not exist "%__IntermediatesDir%" md "%__IntermediatesDir%"
-
-    :: Regenerate the VS solution
-
-    echo Calling "%__nativeWindowsDir%\gen-buildsys-win.bat" %2 %__BuildArch% %__ResourcesDir% %__CMakeBinDir%
-    pushd "%__IntermediatesDir%"
-    call "%__nativeWindowsDir%\gen-buildsys-win.bat" %2 %__BuildArch% %__ResourcesDir% %__CMakeBinDir%
-    popd
-
-    :CheckForProj
-    :: Check that the project created by Cmake exists
-    if exist "%__IntermediatesDir%\ALL_BUILD.vcxproj" goto BuildNativeProj
-    exit /b 1
-
-    :BuildNativeProj
-    :: Build the project created by Cmake
-    set __msbuildArgs=/p:Platform=%__BuildArch% /p:PlatformToolset="%__PlatformToolset%"
-
-    cd %__rootDir%
-
-    echo %__rootDir%\run.cmd build-native -- "%__IntermediatesDir%\ALL_BUILD.vcxproj" /t:rebuild /p:Configuration=%CMAKE_BUILD_TYPE% %__msbuildArgs% /v:d
-    call %__rootDir%\run.cmd build-native -- "%__IntermediatesDir%\ALL_BUILD.vcxproj" /t:rebuild /p:Configuration=%CMAKE_BUILD_TYPE% %__msbuildArgs% /v:d
-    IF ERRORLEVEL 1 (
-        exit /b 1
-    )
-
-    goto :eof
-
-:Failure
-:: Build failed
-echo Failed to generate native component build project!
-exit /b 1
\ No newline at end of file
diff --git a/src/installer/uwp/build.proj b/src/installer/uwp/build.proj
deleted file mode 100644 (file)
index 92d3236..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="dir.props" />
-  <Import Project="..\..\dir.targets" />
-  <Import Project="..\..\dir.traversal.targets" />
-
-  <!-- Target that builds UWP Host for CoreCLR.
-  -->
-  <Target Name="Build" DependsOnTargets="BuildUWPHost;BuildMSBuildTask" />
-
-  <Target Name="BuildUWPHost" DependsOnTargets="GetLatestCommitHash">
-    <!-- Generate Version files -->
-    <ItemGroup>
-      <HostFiles Include="uwphost;uwpshim;copywin32resources" />
-    </ItemGroup>
-    <MSBuild Projects="$(MSBuildProjectFullPath)"
-             Properties="GenerateNativeVersionInfo=true;AssemblyName=%(HostFiles.Identity);NativeVersionFileDir=$(IntermediateOutputRootPath)uwphostResourceFiles\%(HostFiles.Identity);NativeVersionHeaderFile=$(IntermediateOutputRootPath)uwphostResourceFiles\%(HostFiles.Identity)\version_info.h"
-             Targets="GenerateVersionHeader" />
-    <PropertyGroup>
-      <BuildArgs>$(ConfigurationGroup) $(TargetArchitecture) rid $(OutputRid)</BuildArgs>
-    </PropertyGroup>
-
-    <!-- Run script that invokes Cmake to create VS files, and then calls msbuild to compile them -->
-    <Message Text="$(MSBuildProjectDirectory)\build.cmd $(BuildArgs)" Importance="High"/>
-    <Exec Command="$(MSBuildProjectDirectory)\build.cmd $(BuildArgs)" />
-
-    <ItemGroup>
-      <CMakeOutput Include="$(IntermediateOutputRootPath)uwphost\host\uwphost\$(ConfigurationGroup)\uwphost.dll" />
-      <CMakeOutput Include="$(IntermediateOutputRootPath)uwpshim\Windows\$(ConfigurationGroup)\uwpshim.exe" />
-      <CMakeOutput Include="$(IntermediateOutputRootPath)uwpshim\Console\$(ConfigurationGroup)\consoleuwpshim.exe" />
-      <CMakeOutput Include="$(IntermediateOutputRootPath)uwphost\copywin32resources\$(ConfigurationGroup)\copywin32resources.exe" />
-    </ItemGroup>
-    
-    <Copy SourceFiles="@(CMakeOutput)"
-          DestinationFolder="$(UWPOutputDir)"/>
-  </Target>
-
-  <Target Name="BuildMSBuildTask" DependsOnTargets="GetLatestCommitHash">
-    <MSBuild Projects="$(MSBuildThisFileDirectory)Microsoft.Build.Net.CoreRuntimeTask/Microsoft.Build.Net.CoreRuntimeTask.builds" />
-  </Target>
-</Project>
diff --git a/src/installer/uwp/dir.props b/src/installer/uwp/dir.props
deleted file mode 100644 (file)
index 92f17e3..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildThisFileDirectory)..\dir.props" />
-</Project>
\ No newline at end of file
index d21e712..d0035ea 100644 (file)
@@ -36,8 +36,6 @@ namespace Microsoft.DotNet.Build.Tasks
         [Required]
         public string SharedHostNugetVersion { get; set; }
         [Required]
-        public string UWPCoreRuntimeSdkFullVersion { get; set; }
-        [Required]
         public string ProductVersion { get; set; }
         [Required]
         public string Version { get; set; }
@@ -125,8 +123,7 @@ namespace Microsoft.DotNet.Build.Tasks
             {
                 string targetName = Path.GetFileName(blob)
                                         .Replace(SharedFrameworkNugetVersion, "latest")
-                                        .Replace(SharedHostNugetVersion, "latest")
-                                        .Replace(UWPCoreRuntimeSdkFullVersion, "latest");
+                                        .Replace(SharedHostNugetVersion, "latest");
                 string sourceBlob = blob.Replace($"/{ContainerName}/", "");
                 string destinationBlob = $"{destinationFolder}{targetName}";
                 Log.LogMessage($"Copying blob '{sourceBlob}' to '{destinationBlob}'");