onnxruntime/csharp/src/Microsoft.AI.MachineLearning/Microsoft.AI.MachineLearning.Rules.Project.xml
Justin Stoecker bd236ecc26
Switch to unified DirectML 1.4.0 redistributable (#5794)
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.
2020-11-17 13:42:23 -08:00

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>