Skip to content

Commit 168e925

Browse files
chore: Remove onnxruntime.pdb from Publishing (#5291)
* Revert "Remove Orchestrator pdbs from Azure publish flow (#5275)" This reverts commit 0f4820f. * Dummy out onnxruntime.pdb * shorten comment Co-authored-by: Dong Lei <[email protected]>
1 parent b9bb2de commit 168e925

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

runtime/dotnet/azurewebapp/Microsoft.BotFramework.Composer.WebApp.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@
3939
<ItemGroup>
4040
<ProjectReference Include="..\core\Microsoft.BotFramework.Composer.Core.csproj" />
4141
</ItemGroup>
42+
43+
<!-- onnxruntime.pdb is dummied out for publishing due to its size. If you need these debug symbols in your published deployment, please comment out the section below. -->
44+
<Target Name="RemoveOnnxRuntimePdb" AfterTargets="Publish">
45+
<WriteLinesToFile File="$(PublishDir)\onnxruntime.pdb" Lines="" Overwrite="true" Encoding="Unicode" />
46+
</Target>
47+
4248
</Project>

0 commit comments

Comments
 (0)