2020-04-25 03:20:04 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2021-12-21 20:34:03 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(PlatformTarget)' == 'x64'">$(Platform)</WindowsAI-Platform>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(PlatformTarget)' == 'Win32' Or '$(PlatformTarget)' == 'x86'">x86</WindowsAI-Platform>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(PlatformTarget)' == 'ARM'">$(Platform)</WindowsAI-Platform>
|
|
|
|
|
<WindowsAI-Platform Condition="'$(PlatformTarget)' == 'ARM64'">$(Platform)</WindowsAI-Platform>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<RuntimesDirectory>$(MSBuildThisFileDirectory)..\..\runtimes\win-$(WindowsAI-Platform)\_native</RuntimesDirectory>
|
|
|
|
|
<WindowsAIBinarySubfolder Condition="'$(UseWindowsMLStaticRuntime)' == 'true'">static\</WindowsAIBinarySubfolder>
|
|
|
|
|
<WindowsAIBinary>$(RuntimesDirectory)\$(WindowsAIBinarySubfolder)microsoft.ai.machinelearning.dll</WindowsAIBinary>
|
|
|
|
|
<WindowsAIWinMD>$(MSBuildThisFileDirectory)..\..\winmds\Microsoft.AI.MachineLearning.winmd</WindowsAIWinMD>
|
|
|
|
|
<WindowsAIExperimentalWinMD>$(MSBuildThisFileDirectory)..\..\winmds\Microsoft.AI.MachineLearning.Experimental.winmd</WindowsAIExperimentalWinMD>
|
|
|
|
|
|
|
|
|
|
<WindowsAIBinary>$([System.IO.Path]::GetFullPath($(WindowsAIBinary)))</WindowsAIBinary>
|
|
|
|
|
<WindowsAIWinMD>$([System.IO.Path]::GetFullPath($(WindowsAIWinMD)))</WindowsAIWinMD>
|
|
|
|
|
<WindowsAIExperimentalWinMD>$([System.IO.Path]::GetFullPath($(WindowsAIExperimentalWinMD)))</WindowsAIExperimentalWinMD>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<PropertyGroup Condition="'$(DisableOnnxRuntimeDllCopy)' != 'true'">
|
|
|
|
|
<OnnxRuntimeBinary>$(RuntimesDirectory)\$(WindowsAIBinarySubfolder)onnxruntime.dll</OnnxRuntimeBinary>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-04-25 03:20:04 +00:00
|
|
|
<ItemGroup>
|
2021-03-04 19:16:25 +00:00
|
|
|
<Reference Include="$(WindowsAIWinMD)">
|
2020-04-25 03:20:04 +00:00
|
|
|
<Implementation>$(WindowsAIBinary)</Implementation>
|
|
|
|
|
</Reference>
|
2021-03-04 19:16:25 +00:00
|
|
|
<Reference Include="$(WindowsAIExperimentalWinMD)">
|
2021-02-12 22:17:10 +00:00
|
|
|
<Implementation>$(WindowsAIBinary)</Implementation>
|
|
|
|
|
</Reference>
|
2020-04-25 03:20:04 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
2021-03-04 19:16:25 +00:00
|
|
|
<ItemGroup Condition="'$(NuGetProjectStyle)' != 'PackageReference'">
|
2021-12-21 20:34:03 +00:00
|
|
|
<ReferenceCopyLocalPaths Include="$(WindowsAIBinary);" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup Condition="'$(NuGetProjectStyle)' != 'PackageReference' OR '$(TargetPlatformIdentifier)' == 'UAP'">
|
|
|
|
|
<ReferenceCopyLocalPaths Include="$(OnnxRuntimeBinary)" />
|
2020-09-16 17:37:09 +00:00
|
|
|
</ItemGroup>
|
2020-04-25 03:20:04 +00:00
|
|
|
</Project>
|