[Build] long paths in NuGet package breaking build on Windows #21369
Labels
build
build issues; typically submitted using template
.NET
Pull requests that update .net code
platform:mobile
issues related to ONNX Runtime mobile; typically submitted using template
platform:windows
issues related to the Windows platform
Describe the issue
The files in the runtimes folder of the NuGet package result in quite long path, e.g. runtimes/ios/native/onxxrumtime.xcframework/ios-arm64_x86_64-simulator/onnxrumtime.framework/Headers/onnxruntime_session_options_config_keys.h has 142 characters.
This can be problematic if the project referencing that package is at a (still reasonable) subdirectory.
This issue was originally reported in dotnet-smartcomponents/smartcomponents#16
Urgency
No response
Target platform
Windows
Build script
n/a
Error / output
Visual Studio Version
Visual Studio 2022 Preview (17.11.0 Preview 3.0)
GCC / Compiler Version
No response
The text was updated successfully, but these errors were encountered: