onnxruntime/csharp/test
Ashwini Khade 65201e47bf
Enable nuget packages for on device training (#13637)
### Description
This PR enables building nuget packages locally for on device training
using --build_nuget arg.
This PR also enables the C# bindings by default in the managed package.
If a user triggers any training apis when the native binary is not built
for training, an exception with message "Training is disabled in the
current build. Please build ONNXRuntime from source with the build flags
enable_training and enable_training_on_device. " is thrown.

Build command for creating nuget packes for on device training:
build.bat --enable_training --enable_training_on_device --build_nuget 

2 Nuget packages are built
1. Microsoft.ML.OnnxRuntime.Managed
2. Microsoft.ML.OnnxRuntime.Training OR
Microsoft.ML.OnnxRuntime.Training.Gpu



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2022-12-05 14:54:09 -08:00
..
Microsoft.AI.MachineLearning.Tests
Microsoft.AI.MachineLearning.Tests.DotNet5_0
Microsoft.AI.MachineLearning.Tests.Uwp Fix Microsoft.AI.MachineLearning NuGet App failure with multiple binaries copied to same destination (#10076) 2021-12-21 12:34:03 -08:00
Microsoft.ML.OnnxRuntime.EndToEndTests skip TestCUDAProviderOptions in End2EndTest (#13737) 2022-11-23 14:56:04 -08:00
Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile
Microsoft.ML.OnnxRuntime.Tests.Common Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00
Microsoft.ML.OnnxRuntime.Tests.Devices
Microsoft.ML.OnnxRuntime.Tests.Droid Add csharp docfx (#12596) 2022-08-25 09:51:32 -05:00
Microsoft.ML.OnnxRuntime.Tests.iOS Add .net6 support to the C# nuget package. (#11908) 2022-06-22 08:08:24 +10:00
Microsoft.ML.OnnxRuntime.Tests.NetCoreApp Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00