Skip to content

Commit

Permalink
Revert a change that includes onnxruntime pdbs for nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
sspintel committed Oct 31, 2023
1 parent 2efda9a commit 57a54e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/nuget/generate_nuspec_for_native_nuget.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,11 @@ def generate_files(line_list, args):
files_list.append(
"<file src=" + '"' + os.path.join(args.native_build_path, "onnxruntime.dll") + runtimes + " />"
)
if include_pdbs and os.path.exists(os.path.join(args.native_build_path, "onnxruntime.pdb")):
files_list.append(
"<file src=" + '"' + os.path.join(args.native_build_path, "onnxruntime.pdb") + runtimes + " />"
)

else:
files_list.append(
"<file src="
Expand Down

0 comments on commit 57a54e8

Please sign in to comment.