This PR introduces a change to the build process of the C# extension, specifically targeting the release builds. The primary change implemented by this PR is the removal of .pdb files from the release build of the C# extension.
Background
PDB files are used to store debugging information about a program or module, such as the names of variables and the lines of code that correspond to machine code instructions. While invaluable for debugging purposes, including them in release builds can unnecessarily increase the size of the deployment package and potentially expose sensitive debugging information in a production environment.
Changes Implemented
Build Script Modification: The build scripts have been updated to exclude .pdb files from the output of the release build process for the C# extension. This adjustment ensures that the release build output is leaner and more secure for production deployment.
Impact on Debug Builds: It's important to note that this change does not affect debug builds. .pdb files will continue to be generated and included in debug builds to facilitate development and debugging.
This PR introduces a change to the build process of the C# extension, specifically targeting the release builds. The primary change implemented by this PR is the removal of
.pdb
files from the release build of the C# extension.Background
PDB files are used to store debugging information about a program or module, such as the names of variables and the lines of code that correspond to machine code instructions. While invaluable for debugging purposes, including them in release builds can unnecessarily increase the size of the deployment package and potentially expose sensitive debugging information in a production environment.
Changes Implemented
Build Script Modification: The build scripts have been updated to exclude
.pdb
files from the output of the release build process for the C# extension. This adjustment ensures that the release build output is leaner and more secure for production deployment.Impact on Debug Builds: It's important to note that this change does not affect debug builds.
.pdb
files will continue to be generated and included in debug builds to facilitate development and debugging.