Skip to content

Commit 01de78e

Browse files
Update trusted platform assemblies list for latest PowerShell release (#56)
1 parent 0248e50 commit 01de78e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ namespace NativeMsh
668668
// NOTE: The names must not include the .dll extension because it will be added programmatically.
669669
static PCSTR trustedAssemblies[] =
670670
{
671-
"Markdig",
671+
"Markdig.Signed",
672672
"Microsoft.ApplicationInsights",
673673
"Microsoft.CodeAnalysis",
674674
"Microsoft.CodeAnalysis.CSharp",
@@ -686,13 +686,15 @@ namespace NativeMsh
686686
"Microsoft.PowerShell.SDK",
687687
"Microsoft.PowerShell.Security",
688688
"Microsoft.VisualBasic",
689+
"Microsoft.VisualBasic.Core",
689690
"Microsoft.Win32.Primitives",
690691
"Microsoft.Win32.Registry",
691692
"Microsoft.Win32.Registry.AccessControl",
692693
"Microsoft.Win32.SystemEvents",
693694
"Microsoft.WSMan.Management",
694695
"Microsoft.WSMan.Runtime",
695696
"mscorlib",
697+
"Namotion.Reflection",
696698
"netstandard",
697699
"Newtonsoft.Json",
698700
"NJsonSchema",
@@ -709,6 +711,7 @@ namespace NativeMsh
709711
"System.ComponentModel",
710712
"System.ComponentModel.Annotations",
711713
"System.ComponentModel.Composition",
714+
"System.ComponentModel.Composition.Registration",
712715
"System.ComponentModel.DataAnnotations",
713716
"System.ComponentModel.EventBasedAsync",
714717
"System.ComponentModel.Primitives",
@@ -721,6 +724,7 @@ namespace NativeMsh
721724
"System.Data.Common",
722725
"System.Data.DataSetExtensions",
723726
"System.Data.Odbc",
727+
"System.Data.OleDb",
724728
"System.Data.SqlClient",
725729
"System.Diagnostics.Contracts",
726730
"System.Diagnostics.Debug",
@@ -741,6 +745,7 @@ namespace NativeMsh
741745
"System.Drawing.Common",
742746
"System.Drawing.Primitives",
743747
"System.Dynamic.Runtime",
748+
"System.Formats.Asn1",
744749
"System.Globalization",
745750
"System.Globalization.Calendars",
746751
"System.Globalization.Extensions",
@@ -769,7 +774,9 @@ namespace NativeMsh
769774
"System.Management.Automation",
770775
"System.Memory",
771776
"System.Net",
777+
"System.Net.Connections",
772778
"System.Net.Http",
779+
"System.Net.Http.Json",
773780
"System.Net.Http.WinHttpHandler",
774781
"System.Net.HttpListener",
775782
"System.Net.Mail",
@@ -796,6 +803,7 @@ namespace NativeMsh
796803
"System.Private.Xml",
797804
"System.Private.Xml.Linq",
798805
"System.Reflection",
806+
"System.Reflection.Context",
799807
"System.Reflection.DispatchProxy",
800808
"System.Reflection.Emit",
801809
"System.Reflection.Emit.ILGeneration",
@@ -816,6 +824,7 @@ namespace NativeMsh
816824
"System.Runtime.InteropServices",
817825
"System.Runtime.InteropServices.RuntimeInformation",
818826
"System.Runtime.InteropServices.WindowsRuntime",
827+
"System.Runtime.Intrinsics",
819828
"System.Runtime.Loader",
820829
"System.Runtime.Numerics",
821830
"System.Runtime.Serialization",
@@ -854,9 +863,11 @@ namespace NativeMsh
854863
"System.Text.Encoding.CodePages",
855864
"System.Text.Encoding.Extensions",
856865
"System.Text.Encodings.Web",
866+
"System.Text.Json",
857867
"System.Text.RegularExpressions",
858868
"System.Threading",
859869
"System.Threading.AccessControl",
870+
"System.Threading.Channels",
860871
"System.Threading.Overlapped",
861872
"System.Threading.Tasks",
862873
"System.Threading.Tasks.Dataflow",
@@ -871,6 +882,7 @@ namespace NativeMsh
871882
"System.Web",
872883
"System.Web.HttpUtility",
873884
"System.Windows",
885+
"System.Windows.Extensions",
874886
"System.Windows.Forms",
875887
"System.Xml",
876888
"System.Xml.Linq",
@@ -880,7 +892,8 @@ namespace NativeMsh
880892
"System.Xml.XmlDocument",
881893
"System.Xml.XmlSerializer",
882894
"System.Xml.XPath",
883-
"System.Xml.XPath.XDocument"
895+
"System.Xml.XPath.XDocument",
896+
"WindowsBase"
884897
};
885898

886899
// Define the function pointer for the CLR entry point

0 commit comments

Comments
 (0)