mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-27 22:45:57 +00:00
Transitions from the ORT-only DML NuGet (hosted on the onnxruntime_public feed) to the new unified DirectML NuGet (Microsoft.AI.DirectML) on nuget.org. In addition, the Microsoft.AI.MachineLearning (WinML) and Microsoft.ML.OnnxRuntime.DirectML packages now take a dependency on the Microsoft.AI.DirectML package. This means we can remove the extra copy of DML binaries in these packages since they will be installed by the DML package.
21 lines
1 KiB
XML
21 lines
1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Rule Name="WindowsAI" DisplayName="Microsoft.AI.MachineLearning NuGet Settings" Order="75" PageTemplate="generic" xmlns="http://schemas.microsoft.com/build/2009/properties">
|
|
<Rule.Categories>
|
|
<Category Name="General" DisplayName="General"/>
|
|
</Rule.Categories>
|
|
|
|
<Rule.DataSource>
|
|
<DataSource Persistence="ProjectFile" HasConfigurationCondition="false" Label="Globals" />
|
|
</Rule.DataSource>
|
|
|
|
<BoolProperty Name="DisableOnnxRuntimeDllCopy"
|
|
DisplayName="Disable onnxruntime.dll copy on build"
|
|
Description="Suppresses binplacing the onnxruntime.dll from the Mirosoft.AI.MachineLearning NuGet distribution."
|
|
Category="General" />
|
|
|
|
<BoolProperty Name="UseWindowsMLStaticRuntime"
|
|
DisplayName="Use a dll that links statically to runtimes"
|
|
Description="Use a larger DLL that doesn't depend on installed versions of the vcruntime and CRT."
|
|
Category="General"
|
|
Condition="'$(WindowsStoreApp)' != 'true'" />
|
|
</Rule>
|