onnxruntime/csharp/src/Microsoft.AI.MachineLearning/Microsoft.AI.MachineLearning.Rules.Project.xml

22 lines
1 KiB
XML
Raw Normal View History

<?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>