onnxruntime/tools/ci_build/github
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
..
android Add onnxruntime_BUILD_UNIT_TESTS=OFF definition to iOS package build options. (#13238) 2022-10-10 18:00:17 -07:00
apple Remove SafeInt dependency from Objective-C API. (#13698) 2022-11-18 17:06:12 -08:00
azure-pipelines Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00
js Use full ORT package for onnxruntime-react-native. (#13037) 2022-09-23 07:20:03 +10:00
linux Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
pai Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
python_checks
windows Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
Doxyfile_csharp.cfg Add Xamarin support (#9436) 2021-10-27 20:07:07 +10:00