Cleanup file descriptions baked into Windows unmanaged .dlls (#77080)
authorJan Kotas <jkotas@microsoft.com>
Sat, 15 Oct 2022 21:29:34 +0000 (14:29 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Oct 2022 21:29:34 +0000 (14:29 -0700)
Delete Microsoft and .NET Framework from the descriptions

15 files changed:
src/coreclr/debug/createdump/createdump.rc
src/coreclr/dlls/clretwrc/clretwrc.rc
src/coreclr/dlls/mscordac/Native.rc
src/coreclr/dlls/mscordbi/Native.rc
src/coreclr/dlls/mscoree/Native.rc
src/coreclr/dlls/mscorrc/mscorrc.rc
src/coreclr/gc/windows/Native.rc
src/coreclr/hosts/corerun/native.rc
src/coreclr/ilasm/Native.rc
src/coreclr/ildasm/dasm.rc
src/coreclr/jit/Native.rc
src/coreclr/tools/aot/jitinterface/Native.rc
src/coreclr/tools/metainfo/Native.rc
src/native/libs/System.IO.Compression.Native/CMakeLists.txt
src/native/libs/System.IO.Compression.Native/Native.rc [deleted file]

index 57cd32e..563bfff 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime Crash Dump Generator\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Crash Dump Generator"
 
 #include <fxver.h>
 #include <fxver.rc>
index e1099a5..9f3f019 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime resources\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime resources"
 
 #include <fxver.h>
 #include <fxver.rc>
index c16246a..22ea7e9 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET External Data Access Support\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime External Data Access Support"
 
 #include <fxver.h>
 #include <fxver.rc>
index b64e37e..52eabb4 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime Debugging Services\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Debugging Services"
 
 #include <fxver.h>
 #include <fxver.rc>
index a0e4fe8..01d78ef 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime"
 
 #include <fxver.h>
 #include <fxver.rc>
index e0978db..62c867c 100644 (file)
@@ -13,7 +13,7 @@
 #include <winresrc.h>
 
 #ifndef FX_VER_FILEDESCRIPTION_STR
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime resources\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime resources"
 #endif
 
 #include <fxver.h>
index d98a45c..f73556c 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime Standalone GC\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Standalone GC"
 
 #include <fxver.h>
 #include <fxver.rc>
index cc7e7da..0a49d6b 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft CoreCLR EXE launcher\0"
+#define FX_VER_FILEDESCRIPTION_STR "CoreCLR test host"
 
 #include <fxver.h>
 #include <fxver.rc>
index b9622b6..68cb143 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Framework IL assembler\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET IL Assembler"
 
 #include <fxver.h>
 #include <fxver.rc>
index 73f2ffb..057398f 100644 (file)
@@ -15,7 +15,7 @@
 #undef APSTUDIO_READONLY_SYMBOLS
 #endif // !TARGET_UNIX
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Framework IL disassembler\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET IL Disassembler"
 
 #include <fxver.h>
 #include <fxver.rc>
index f145a7d..6aaafcd 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime Just-In-Time Compiler\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Just-In-Time Compiler"
 
 #include <fxver.h>
 #include <fxver.rc>
index 73b9adf..e06d533 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime Just-In-Time Compiler Type System Interface\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Runtime Just-In-Time Compiler Type System Interface"
 
 #include <fxver.h>
 #include <fxver.rc>
index eebbf95..c134e78 100644 (file)
@@ -1,7 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-#define FX_VER_FILEDESCRIPTION_STR "Microsoft Common Language Runtime Metadata Info\0"
+#define FX_VER_FILEDESCRIPTION_STR ".NET Metadata Info"
 
 #include <fxver.h>
 #include <fxver.rc>
index ef54840..a44f847 100644 (file)
@@ -109,11 +109,11 @@ else ()
     set(NATIVECOMPRESSION_SOURCES ${ZLIB_SOURCES} ${NATIVECOMPRESSION_SOURCES})
 
     if (GEN_SHARED_LIB)
+        add_definitions(-DVER_FILEDESCRIPTION_STR="System.IO.Compression.Native")
         add_library(System.IO.Compression.Native
             SHARED
             ${NATIVECOMPRESSION_SOURCES}
             System.IO.Compression.Native.def
-            # This will add versioning to the library
             ${VERSION_FILE_RC_PATH}
         )
     endif ()
diff --git a/src/native/libs/System.IO.Compression.Native/Native.rc b/src/native/libs/System.IO.Compression.Native/Native.rc
deleted file mode 100644 (file)
index 433ff70..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#define FX_VER_FILEDESCRIPTION_STR "Native data compression routines\0"
-
-#include <fxver.h>
-#include <fxver.rc>