Commit graph

2 commits

Author SHA1 Message Date
Yifan Li
25ab935664
[ORT 1.18.1 Release] Cherry pick 2nd round (#21111)
### Description
<!-- Describe your changes. -->
[#21062](https://github.com/microsoft/onnxruntime/pull/21062),
[#21096](https://github.com/microsoft/onnxruntime/pull/21096) to fix
Xamarin,

[#21095](https://github.com/microsoft/onnxruntime/pull/21095) and
[#21109](https://github.com/microsoft/onnxruntime/pull/21109) to fix
python on NuGet_Packaging stages

[#21104](https://github.com/microsoft/onnxruntime/pull/21104) to remove
failing roslynanalyzer on NuGet_Packaging stages

### 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. -->

---------

Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: Yi Zhang <zhanyi@microsoft.com>
Co-authored-by: Changming Sun <chasun@microsoft.com>
2024-06-20 17:01:57 -07:00
Scott McKay
fb4a8e12fc
Limit inclusion of Xamarin mobile target frameworks. (#9834)
- Only set them as targets for the ORT nuget package
    - Use OrtPackageId as the condition for inclusion, if installed
      - need to do the nuget restore via msbuild so that this property is set correctly
  - Add desktop-only version of the C# sln as there is no way to exclude the mobile specific csproj's from an sln
    - use this when applicable if someone is running build.py with the `--build_nuget` flag

Other
  - remove attempt to include symbols in the nuget package as nuget doesn't support symbols in native packages
  - update build.py to use `nuget` and not a windows specific path and filename for a linux build with `--build_nuget`
2021-11-23 11:29:53 +10:00