net.r_eg.DllExport.targets 6.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <DllExportModImported>true</DllExportModImported>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <DllExportRootPkg Condition="'$(DllExportRootPkg)' == ''">$(MSBuildThisFileDirectory)..\</DllExportRootPkg>
  8. <DllExportVSRoot Condition="'$(DllExportVSRoot)' == '' And '$(VsInstallRoot)' != ''">$(VsInstallRoot)\</DllExportVSRoot>
  9. <DllExportVSRoot Condition="'$(DllExportVSRoot)' == ''">$(DevEnvDir)\..\..\</DllExportVSRoot>
  10. <DllExportVSBin Condition="'$(DllExportVSBin)' == ''">$(DllExportVSRoot)Common7\IDE\</DllExportVSBin>
  11. <DllExportLibPath Condition="'$(DllExportLibPath)' == ''">gcache\metalib\$(DllExportNamespace)\</DllExportLibPath>
  12. <DllExportToolsPath Condition="'$(DllExportToolsPath)' == ''">tools\</DllExportToolsPath>
  13. <DllExportNamespace Condition="'$(DllExportNamespace)' == ''"></DllExportNamespace>
  14. <DllExportLibFullPath Condition="'$(DllExportLibFullPath)' == ''">$(DllExportRootPkg)$(DllExportLibPath)</DllExportLibFullPath>
  15. <DllExportMetaLibAttr Condition="'$(DllExportMetaLibAttr)' == ''">DllExportAttribute</DllExportMetaLibAttr>
  16. <DllExportMetaLibName Condition="'$(DllExportMetaLibName)' == ''">DllExport.dll</DllExportMetaLibName>
  17. <DllExportMetaLibFullPath Condition="'$(DllExportMetaLibFullPath)' == ''">$(DllExportLibFullPath)$(DllExportMetaLibName)</DllExportMetaLibFullPath>
  18. <DllExportOurILAsmPath Condition="'$(DllExportOurILAsmPath)' == ''">$(DllExportRootPkg)$(DllExportToolsPath)coreclr\</DllExportOurILAsmPath>
  19. <DllExportILAsmCustomPath Condition="'$(DllExportILAsmCustomPath)' == ''"></DllExportILAsmCustomPath>
  20. <DllExportAttributeFullName Condition="'$(DllExportNamespace)' != ''">$(DllExportNamespace).$(DllExportMetaLibAttr)</DllExportAttributeFullName>
  21. <DllExportAttributeFullName Condition="'$(DllExportNamespace)' == ''">$(DllExportMetaLibAttr)</DllExportAttributeFullName>
  22. </PropertyGroup>
  23. <Target Name="DllExportMod" BeforeTargets="PostBuildEvent" DependsOnTargets="GetFrameworkPaths">
  24. <PropertyGroup>
  25. <DllExportPlatform Condition="'$(DllExportPlatform)' == ''">$(PlatformTarget)</DllExportPlatform>
  26. <DllExportCpuType Condition="'$(DllExportCpuType)' == ''">$(CpuType)</DllExportCpuType>
  27. <DllExportEmitDebugSymbols Condition="'$(DllExportEmitDebugSymbols)' == ''">$(DebugSymbols)</DllExportEmitDebugSymbols>
  28. <DllExportLeaveIntermediateFiles Condition="'$(DllExportLeaveIntermediateFiles)' == ''">false</DllExportLeaveIntermediateFiles>
  29. <DllExportTimeout Condition="'$(DllExportTimeout)' == ''">45000</DllExportTimeout>
  30. <DllExportKeyContainer Condition="'$(DllExportKeyContainer)' == ''">$(KeyContainerName)$(AssemblyKeyContainerName)</DllExportKeyContainer>
  31. <DllExportKeyFile Condition="'$(DllExportKeyFile)' == ''">$(KeyOriginatorFile)</DllExportKeyFile>
  32. <DllExportProjectDirectory Condition="'$(DllExportProjectDirectory)' == ''">$(MSBuildProjectDirectory)</DllExportProjectDirectory>
  33. <DllExportInputFileName Condition="'$(DllExportInputFileName)' == ''">$(TargetPath)</DllExportInputFileName>
  34. <DllExportFrameworkPath Condition="'$(DllExportFrameworkPath)' == ''">$(DllExportILAsmCustomPath);$(TargetedFrameworkDir);$(TargetFrameworkDirectory)</DllExportFrameworkPath>
  35. <DllExportLibToolPath Condition="'$(DllExportLibToolPath)' == ''">$(DllExportVSRoot)VC\bin</DllExportLibToolPath>
  36. <DllExportLibToolDllPath Condition="'$(DllExportLibToolDllPath)' == ''">$(DllExportVSBin)</DllExportLibToolDllPath>
  37. <DllExportTargetFrameworkVersion Condition="'$(DllExportTargetFrameworkVersion)' == ''">$(TargetFrameworkVersion)</DllExportTargetFrameworkVersion>
  38. <DllExportSdkPath Condition="'$(DllExportSdkPath)' == ''">$(DllExportILAsmCustomPath);$(TargetFrameworkSDKToolsDirectory)</DllExportSdkPath>
  39. <DllExportSkipOnAnyCpu Condition="'$(DllExportSkipOnAnyCpu)' == ''">$(NoDllExportsForAnyCpu)</DllExportSkipOnAnyCpu>
  40. <DllExportDDNSCecil Condition="'$(DllExportDDNSCecil)' == ''">true</DllExportDDNSCecil>
  41. <DllExportOurILAsm Condition="'$(DllExportOurILAsm)' == ''">false</DllExportOurILAsm>
  42. <DllExportOrdinalsBase Condition="'$(DllExportOrdinalsBase)' == ''">1</DllExportOrdinalsBase>
  43. <DllExportGenExpLib Condition="'$(DllExportGenExpLib)' == ''">false</DllExportGenExpLib>
  44. <DllExportOurILAsmPath Condition="'$(DllExportOurILAsm)' != 'true'"></DllExportOurILAsmPath>
  45. <DllExportVsDevCmd Condition="'$(DllExportVsDevCmd)' == ''">$(DllExportVSRoot)Common7\Tools\VsDevCmd.bat</DllExportVsDevCmd>
  46. <DllExportVcVarsAll Condition="'$(DllExportVcVarsAll)' == ''">$(DllExportVSRoot)VC\vcvarsall.bat;$(DllExportVSRoot)VC\Auxiliary\Build\vcvarsall.bat</DllExportVcVarsAll>
  47. <DllExportPeCheck Condition="'$(DllExportPeCheck)' == ''"></DllExportPeCheck>
  48. </PropertyGroup>
  49. <DllExportAppDomainIsolatedTask
  50. Platform="$(DllExportPlatform)"
  51. CpuType="$(DllExportCpuType)"
  52. DllExportAttributeFullName="$(DllExportAttributeFullName)"
  53. EmitDebugSymbols="$(DllExportEmitDebugSymbols)"
  54. LeaveIntermediateFiles="$(DllExportLeaveIntermediateFiles)"
  55. Timeout="$(DllExportTimeout)"
  56. KeyContainer="$(DllExportKeyContainer)"
  57. KeyFile="$(DllExportKeyFile)"
  58. ProjectDirectory="$(DllExportProjectDirectory)"
  59. InputFileName="$(DllExportInputFileName)"
  60. FrameworkPath="$(DllExportFrameworkPath)"
  61. VsDevCmd="$(DllExportVsDevCmd)"
  62. VcVarsAll="$(DllExportVcVarsAll)"
  63. LibToolPath="$(DllExportLibToolPath)"
  64. LibToolDllPath="$(DllExportLibToolDllPath)"
  65. TargetFrameworkVersion="$(DllExportTargetFrameworkVersion)"
  66. SdkPath="$(DllExportSdkPath)"
  67. SkipOnAnyCpu="$(DllExportSkipOnAnyCpu)"
  68. OrdinalsBase="$(DllExportOrdinalsBase)"
  69. GenExpLib="$(DllExportGenExpLib)"
  70. OurILAsmPath="$(DllExportOurILAsmPath)"
  71. MetaLib="$(DllExportMetaLibFullPath)"
  72. PeCheckRaw="$(DllExportPeCheck)"
  73. />
  74. <PropertyGroup>
  75. <DllExportModExecuted>true</DllExportModExecuted>
  76. </PropertyGroup>
  77. </Target>
  78. <UsingTask TaskName="RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask" AssemblyFile="RGiesecke.DllExport.MSBuild.dll" />
  79. </Project>