|
10 | 10 | </ResourceCompile>
|
11 | 11 | </ItemDefinitionGroup>
|
12 | 12 |
|
13 |
| - <ItemDefinitionGroup> |
| 13 | + <ItemDefinitionGroup Condition="'$(PlatformTarget)' == 'x64'"> |
14 | 14 | <Link>
|
15 | 15 | <AdditionalDependencies>$(MSBuildThisFileDirectory)../../runtimes/win-x64/native/onnxruntime.lib</AdditionalDependencies>
|
16 | 16 | </Link>
|
17 | 17 | </ItemDefinitionGroup>
|
18 | 18 |
|
| 19 | + <ItemDefinitionGroup Condition="'$(PlatformTarget)' == 'x86'"> |
| 20 | + <Link> |
| 21 | + <AdditionalDependencies>$(MSBuildThisFileDirectory)../../runtimes/win-x86/native/onnxruntime.lib</AdditionalDependencies> |
| 22 | + </Link> |
| 23 | + </ItemDefinitionGroup> |
| 24 | + |
19 | 25 | <ItemGroup Condition="Exists('packages.config') OR
|
20 | 26 | Exists('$(MSBuildProjectName).packages.config') OR
|
21 | 27 | Exists('packages.$(MSBuildProjectName).config')">
|
22 | 28 | <None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x64\native\onnxruntime.dll"
|
23 | 29 | Condition="'$(PlatformTarget)' == 'x64'">
|
24 |
| - <Link>onnxruntime.dll</Link> |
| 30 | + <Link>onnxruntime.dll</Link> |
25 | 31 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
26 | 32 | <Visible>false</Visible>
|
27 | 33 | </None>
|
|
46 | 52 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
47 | 53 | <Visible>false</Visible>
|
48 | 54 | </None>
|
| 55 | + <None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\onnxruntime.dll" |
| 56 | + Condition="'$(PlatformTarget)' == 'x86'"> |
| 57 | + <Link>onnxruntime.dll</Link> |
| 58 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 59 | + <Visible>false</Visible> |
| 60 | + </None> |
| 61 | + <None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\mkldnn.dll" |
| 62 | + Condition="'$(PlatformTarget)' == 'x86' AND |
| 63 | + Exists('$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\mkldnn.dll')"> |
| 64 | + <Link>mkldnn.dll</Link> |
| 65 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 66 | + <Visible>false</Visible> |
| 67 | + </None> |
| 68 | + <None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\mklml.dll" |
| 69 | + Condition="'$(PlatformTarget)' == 'x86' AND |
| 70 | + Exists('$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\mklml.dll')"> |
| 71 | + <Link>mklml.dll</Link> |
| 72 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 73 | + <Visible>false</Visible> |
| 74 | + </None> |
| 75 | + <None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\libiomp5md.dll" |
| 76 | + Condition="'$(PlatformTarget)' == 'x86' AND |
| 77 | + Exists('$(MSBuildThisFileDirectory)..\..\runtimes\win-x86\native\libiomp5md.dll')"> |
| 78 | + <Link>libiomp5md.dll</Link> |
| 79 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 80 | + <Visible>false</Visible> |
| 81 | + </None> |
49 | 82 | </ItemGroup>
|
50 | 83 | </Project>
|
0 commit comments