Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ namespace NativeMsh
// NOTE: The names must not include the .dll extension because it will be added programmatically.
static PCSTR trustedAssemblies[] =
{
"Markdig",
"Markdig.Signed",
"Microsoft.ApplicationInsights",
"Microsoft.CodeAnalysis",
"Microsoft.CodeAnalysis.CSharp",
Expand All @@ -686,13 +686,15 @@ namespace NativeMsh
"Microsoft.PowerShell.SDK",
"Microsoft.PowerShell.Security",
"Microsoft.VisualBasic",
"Microsoft.VisualBasic.Core",
"Microsoft.Win32.Primitives",
"Microsoft.Win32.Registry",
"Microsoft.Win32.Registry.AccessControl",
"Microsoft.Win32.SystemEvents",
"Microsoft.WSMan.Management",
"Microsoft.WSMan.Runtime",
"mscorlib",
"Namotion.Reflection",
"netstandard",
"Newtonsoft.Json",
"NJsonSchema",
Expand All @@ -709,6 +711,7 @@ namespace NativeMsh
"System.ComponentModel",
"System.ComponentModel.Annotations",
"System.ComponentModel.Composition",
"System.ComponentModel.Composition.Registration",
"System.ComponentModel.DataAnnotations",
"System.ComponentModel.EventBasedAsync",
"System.ComponentModel.Primitives",
Expand All @@ -721,6 +724,7 @@ namespace NativeMsh
"System.Data.Common",
"System.Data.DataSetExtensions",
"System.Data.Odbc",
"System.Data.OleDb",
"System.Data.SqlClient",
"System.Diagnostics.Contracts",
"System.Diagnostics.Debug",
Expand All @@ -741,6 +745,7 @@ namespace NativeMsh
"System.Drawing.Common",
"System.Drawing.Primitives",
"System.Dynamic.Runtime",
"System.Formats.Asn1",
"System.Globalization",
"System.Globalization.Calendars",
"System.Globalization.Extensions",
Expand Down Expand Up @@ -769,7 +774,9 @@ namespace NativeMsh
"System.Management.Automation",
"System.Memory",
"System.Net",
"System.Net.Connections",
"System.Net.Http",
"System.Net.Http.Json",
"System.Net.Http.WinHttpHandler",
"System.Net.HttpListener",
"System.Net.Mail",
Expand All @@ -796,6 +803,7 @@ namespace NativeMsh
"System.Private.Xml",
"System.Private.Xml.Linq",
"System.Reflection",
"System.Reflection.Context",
"System.Reflection.DispatchProxy",
"System.Reflection.Emit",
"System.Reflection.Emit.ILGeneration",
Expand All @@ -816,6 +824,7 @@ namespace NativeMsh
"System.Runtime.InteropServices",
"System.Runtime.InteropServices.RuntimeInformation",
"System.Runtime.InteropServices.WindowsRuntime",
"System.Runtime.Intrinsics",
"System.Runtime.Loader",
"System.Runtime.Numerics",
"System.Runtime.Serialization",
Expand Down Expand Up @@ -854,9 +863,11 @@ namespace NativeMsh
"System.Text.Encoding.CodePages",
"System.Text.Encoding.Extensions",
"System.Text.Encodings.Web",
"System.Text.Json",
"System.Text.RegularExpressions",
"System.Threading",
"System.Threading.AccessControl",
"System.Threading.Channels",
"System.Threading.Overlapped",
"System.Threading.Tasks",
"System.Threading.Tasks.Dataflow",
Expand All @@ -871,6 +882,7 @@ namespace NativeMsh
"System.Web",
"System.Web.HttpUtility",
"System.Windows",
"System.Windows.Extensions",
"System.Windows.Forms",
"System.Xml",
"System.Xml.Linq",
Expand All @@ -880,7 +892,8 @@ namespace NativeMsh
"System.Xml.XmlDocument",
"System.Xml.XmlSerializer",
"System.Xml.XPath",
"System.Xml.XPath.XDocument"
"System.Xml.XPath.XDocument",
"WindowsBase"
};

// Define the function pointer for the CLR entry point
Expand Down