From 911cad04353be9d852eff4ab553143f7e03c6f03 Mon Sep 17 00:00:00 2001 From: Tim Nugent Date: Wed, 1 Nov 2023 14:31:55 +1100 Subject: [PATCH] tweaked the privacy of some dlls --- sync-yarnspinner-dlls.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sync-yarnspinner-dlls.sh b/sync-yarnspinner-dlls.sh index ed86acb97..3fdc1aeef 100755 --- a/sync-yarnspinner-dlls.sh +++ b/sync-yarnspinner-dlls.sh @@ -28,7 +28,9 @@ cd $YARNSPINNER_FOLDER mkdir -p .build-tmp dotnet build --configuration Debug -o .build-tmp YarnSpinner.Compiler -assemblyalias --target-directory ".build-tmp" --prefix "Yarn." --assemblies-to-alias "System*;Antlr*;Csv*;Google*;Microsoft.Bcl*;Microsoft.Extensions*" +# some types we are going to want to use externally but the rest should be fully internal to Yarn Spinner itself +assemblyalias --target-directory ".build-tmp" --prefix "Yarn." --assemblies-to-alias "Antlr*;Csv*;Google*;" +assemblyalias --target-directory ".build-tmp" --internalize --prefix "Yarn." --assemblies-to-alias "System*;Microsoft.Bcl*;Microsoft.Extensions*" cp -v .build-tmp/*.dll $YARNSPINNER_DLLS_DIR cp -v .build-tmp/*.pdb $YARNSPINNER_DLLS_DIR