Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use from simple winform demo ,i run is throw exception #60

Open
lozn00 opened this issue Apr 21, 2023 · 9 comments
Open

how to use from simple winform demo ,i run is throw exception #60

lozn00 opened this issue Apr 21, 2023 · 9 comments

Comments

@lozn00
Copy link

lozn00 commented Apr 21, 2023

1>ILC: Method '[IPRedirect]IPRedirect.Program.Main()' will always throw because: Failed to load assembly 'System.Windows.Forms'
1>"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.36.32522\bin\Hostx64\x64\link.exe" @"obj\Release\net7.0-windows\win-x64\native\link.rsp

but use rd.xml descript it,throw some exception

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

rd.xml join <Assembly Name="*Application*" Dynamic="Required All" />
throw error

1>Failed to load assembly '*Application*'
1>Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly '*Application*'

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

join


		<Assembly Name="System.Windows.Forms">
			<Type Name="System.Windows.Forms.PropertyGridInternal.PropertiesTab" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewColumn" Dynamic="Required All" />

			<Type Name="System.Windows.Forms.DataGridViewButtonColumn" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewComboBoxColumn" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewCheckBoxColumn" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewImageColumn" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewLinkColumn" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewTextBoxColumn" Dynamic="Required All" />

			<Type Name="System.Windows.Forms.DataGridViewButtonCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewComboBoxCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewCheckBoxCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewHeaderCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewImageCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewLinkCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewRowHeaderCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewTextBoxCell" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewTopLeftHeaderCell" Dynamic="Required All" />

			<Type Name="System.Windows.Forms.DataGridViewComboBoxEditingControl" Dynamic="Required All" />
			<Type Name="System.Windows.Forms.DataGridViewTextBoxEditingControl" Dynamic="Required All" />

			<Type Name="System.Windows.Forms.RadioButton" Dynamic="Required All" />
		</Assembly>

throw

1>Generating native code
1>"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\tools\\ilc" @"obj\Release\net7.0-windows\win-x64\native\IPRedirect.ilc.rsp"
1>Failed to load assembly 'System.Windows.Forms'
1>Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'System.Windows.Forms'
1>   at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in /_/src/coreclr/tools/Common/TypeSystem/Common/ThrowHelper.cs:line 35
1>   at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in /_/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 121
1>   at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 62
1>   at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 47
1>   at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformationProvider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Compilation.cs:line 64
1>   at ILCompiler.ILScannerBuilder.ToILScanner() in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ILScannerBuilder.cs:line 83
1>   at ILCompiler.Program.<Run>g__RunScanner|73_4(<>c__DisplayClass73_0&) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 884
1>   at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 866
1>   at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

try use demo https://github.com/kant2002/WinFormsComInterop/blob/b0bc9cfbc2608be20abbb15198ab8fe7d8ef0f5e/samples/SampleWindowsFormsbut ,still throw error

>已还原 D:\dev\myproject\WinFormsComInterop\samples\SampleWindowsForms\SampleWindowsForms.csproj (用时 494 毫秒)。
2>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe+ /checked- /nowarn:1701,1702,IL2121,1701,1702,2008 /fullpaths /nostdlib+ /platform:x64 /errorreport:prompt /warn:7 /define:TRACE;RELEASE;NET;NET7_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER /errorendlocation /preferreduilang:zh-CN /highentropyva+ /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\Accessibility.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.CSharp.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.VisualBasic.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\Microsoft.VisualBasic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\Microsoft.VisualBasic.Forms.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.Win32.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\Microsoft.Win32.Registry.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.Win32.Registry.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\Microsoft.Win32.SystemEvents.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\mscorlib.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\netstandard.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.AppContext.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Buffers.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.CodeDom.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Collections.Concurrent.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Collections.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Collections.Immutable.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Collections.NonGeneric.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Collections.Specialized.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ComponentModel.TypeConverter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Configuration.ConfigurationManager.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Configuration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Console.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Data.Common.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Data.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Design.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.Debug.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.DiagnosticSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.EventLog.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.FileVersionInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.PerformanceCounter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.Process.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.StackTrace.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.TextWriterTraceListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.Tools.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.TraceSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.DirectoryServices.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Drawing.Common.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Drawing.Design.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Drawing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Drawing.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Dynamic.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Formats.Asn1.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Formats.Tar.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Globalization.Calendars.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Globalization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Globalization.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Compression.Brotli.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Compression.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Compression.ZipFile.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.FileSystem.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.FileSystem.DriveInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.FileSystem.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.FileSystem.Watcher.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.IsolatedStorage.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.MemoryMappedFiles.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.IO.Packaging.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Pipes.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.Pipes.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.IO.UnmanagedMemoryStream.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Linq.Expressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Linq.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Linq.Queryable.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Memory.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Http.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Http.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.HttpListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Mail.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.NameResolution.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.NetworkInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Ping.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Quic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Requests.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Security.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.ServicePoint.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.Sockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.WebClient.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.WebHeaderCollection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.WebProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.WebSockets.Client.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Net.WebSockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Numerics.Vectors.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ObjectModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.DispatchProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Emit.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Metadata.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Reflection.TypeExtensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Resources.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Resources.Reader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Resources.ResourceManager.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Resources.Writer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.CompilerServices.Unsafe.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.CompilerServices.VisualC.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Handles.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.InteropServices.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.InteropServices.JavaScript.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Intrinsics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Loader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Serialization.Formatters.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Claims.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Algorithms.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Cng.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Csp.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.OpenSsl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Pkcs.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.ProtectedData.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.X509Certificates.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Security.Cryptography.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Security.Permissions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Principal.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.Principal.Windows.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Security.SecureString.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ServiceModel.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ServiceProcess.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.Encoding.CodePages.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.Encodings.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Text.RegularExpressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Threading.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Channels.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Overlapped.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Tasks.Dataflow.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Tasks.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Tasks.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Thread.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.ThreadPool.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Threading.Timer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Transactions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Transactions.Local.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.ValueTuple.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Web.HttpUtility.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Windows.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Windows.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Windows.Forms.Design.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Windows.Forms.Design.Editors.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Windows.Forms.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\ref\net7.0\System.Windows.Forms.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.XmlDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.XmlSerializer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.XPath.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\System.Xml.XPath.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\WindowsBase.dll" /reference:C:\Users\Administrator\.nuget\packages\winformscominterop\0.4.3\lib\net7.0\WinFormsComInterop.dll /debug- /debug:portable /filealign:512 /optimize+ /out:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.dll /refout:obj\Release\net7.0-windows\win-x64\refint\SampleWindowsForms.dll /resource:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.BrowserForm.resources /resource:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.DragDropForm.resources /resource:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.MainForm.resources /resource:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.Properties.Resources.resources /resource:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.SecondaryForm.resources /target:winexe /warnaserror- /utf8output /deterministic+ /langversion:11.0 /analyzerconfig:obj\Release\net7.0-windows\win-x64\SampleWindowsForms.GeneratedMSBuildEditorConfig.editorconfig /analyzer:"C:\Program Files\dotnet\sdk\7.0.100\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\sdk\7.0.100\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\Microsoft.CodeAnalysis.NetAnalyzers.dll" /analyzer:"C:\Program Files\dotnet\sdk\7.0.100\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\ILLink.CodeFixProvider.dll" /analyzer:"C:\Program Files\dotnet\sdk\7.0.100\Sdks\Microsoft.NET.Sdk\targets\..\analyzers\ILLink.RoslynAnalyzer.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\analyzers/dotnet/cs/Microsoft.Interop.JavaScript.JSImportGenerator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\analyzers/dotnet/cs/Microsoft.Interop.LibraryImportGenerator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\analyzers/dotnet/cs/Microsoft.Interop.SourceGeneration.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\analyzers/dotnet/cs/System.Text.Json.SourceGeneration.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\analyzers/dotnet/cs/System.Text.RegularExpressions.Generator.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\analyzers/dotnet/System.Windows.Forms.Analyzers.dll" /analyzer:"C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\7.0.0\analyzers/dotnet/cs/System.Windows.Forms.Analyzers.CSharp.dll" BrowserForm.cs BrowserForm.Designer.cs DragDropForm.cs DragDropForm.Designer.cs MainForm.cs MainForm.Designer.cs Program.cs Properties\Resources.Designer.cs SecondaryForm.cs SecondaryForm.Designer.cs obj\Release\net7.0-windows\win-x64\SampleWindowsForms.GlobalUsings.g.cs "obj\Release\net7.0-windows\win-x64\.NETCoreApp,Version=v7.0.AssemblyAttributes.cs" obj\Release\net7.0-windows\win-x64\SampleWindowsForms.AssemblyInfo.cs /warnaserror+:NU1605,SYSLIB0011
2>SampleWindowsForms -> D:\dev\myproject\WinFormsComInterop\samples\SampleWindowsForms\bin\Release\net7.0-windows\win-x64\SampleWindowsForms.dll
2>"C:\Program Files\dotnet\sdk\7.0.100\Sdks\Microsoft.DotNet.ILCompiler\build\findvcvarsall.bat" x64
2>优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
2>Property 'TrimmerDefaultAction' is deprecated in .NET 7 and will be ignored. Use TrimMode instead.
2>Generating native code
2>"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.0\tools\\ilc" @"obj\Release\net7.0-windows\win-x64\native\SampleWindowsForms.ilc.rsp"
2>Failed to load assembly 'System.Resources.Extensions'
2>Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'System.Resources.Extensions'
2>   at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in /_/src/coreclr/tools/Common/TypeSystem/Common/ThrowHelper.cs:line 35
2>   at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in /_/src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 121
2>   at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 62
2>   at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 47
2>   at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformationProvider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Compilation.cs:line 64
2>   at ILCompiler.ILScannerBuilder.ToILScanner() in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ILScannerBuilder.cs:line 83
2>   at ILCompiler.Program.<Run>g__RunScanner|73_4(<>c__DisplayClass73_0&) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 884
2>   at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 866
2>   at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
2>命令“"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.0\tools\\ilc" @"obj\Release\net7.0-windows\win-x64\native\SampleWindowsForms.ilc.rsp"”已退出,代码为 1。
========== 生成: 1 成功,0 失败,0 最新,0 已跳过 ==========
========= 生成 开始于 4:13 PM,并花费了 06.110 秒 ==========
========== 发布: 0 个成功,1 个失败,0 个已跳过 ==========

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

try use dotnet publish . compile


ect\IPRedirect1\IPRedirect.csproj]
IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
Generating native code
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
stem.Windows.Forms.dll : warning IL3053: Assembly 'System.Windows.Forms' produced AOT analysis warnings. [D:\dev\compa
y_project\IPRedirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
stem.Drawing.Common.dll : warning IL3053: Assembly 'System.Drawing.Common' produced AOT analysis warnings. [D:\dev\com
any_project\IPRedirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
stem.Windows.Forms.Design.dll : warning IL3053: Assembly 'System.Windows.Forms.Design' produced AOT analysis warnings.
[D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
stem.Windows.Forms.Primitives.dll : warning IL3053: Assembly 'System.Windows.Forms.Primitives' produced AOT analysis w
rnings. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will alwa
ys throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
stem.Xaml.dll : warning IL3053: Assembly 'System.Xaml' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ct1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
esentationFramework.dll : warning IL3053: Assembly 'PresentationFramework' produced AOT analysis warnings. [D:\dev\com
any_project\IPRedirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
esentationCore.dll : warning IL3053: Assembly 'PresentationCore' produced AOT analysis warnings. [D:\dev\company_proje
t\IPRedirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Private.Xml.d
l : warning IL3053: Assembly 'System.Private.Xml' produced AOT analysis warnings. [D:\dev\company_project\IPRedirect1
PRedirect.csproj]
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()'
will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw becaus
e: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
lass.UnregisterUserDictionary(System.String, System.String)'
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
.CreateSpellChecker(System.String)'
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterU
serDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoCla
ss.RegisterUserDictionary(System.String, System.String)'
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\R
achFramework.dll : warning IL3053: Assembly 'ReachFramework' produced AOT analysis warnings. [D:\dev\company_project\I
Redirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Linq.Expressi
ns.dll : warning IL3053: Assembly 'System.Linq.Expressions' produced AOT analysis warnings. [D:\dev\company_project\IP
edirect1\IPRedirect.csproj]
:\Users\Administrator.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\W
ndowsBase.dll : warning IL3053: Assembly 'WindowsBase' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ct1\IPRedirect.csproj]
ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
正在创建库 bin\Debug\net7.0-windows\win-x64\native\IPRedirect.lib 和对象 bin\Debug\net7.0-windows\win-x64\native\IPRedirect
.exp
IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish\


run is crash close ,no any error,  no window show

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

how to fix

ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
lass.UnregisterUserDictionary(System.String, System.String)'
ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
.CreateSpellChecker(System.String)'

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

image

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023

image

@lozn00
Copy link
Author

lozn00 commented Apr 21, 2023


D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>./IPRedirect.exe
'.' 不不是是内内部部或或外外部部命命令令,,也也不不是是可可运运行行的的程程序序
或或批批处处理理文文件件。。

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>IPRedirect.exe

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>IPRedirect.exe

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>IPRedirect.exe

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>IPRedirect.exe

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>IPRedirect.exe

D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish>cd ../../../

D:\dev\company_project\IPRedirect1\bin\Debug>cd ../../

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationFramework.dll : warning IL3053: Assembly 'PresentationFramework' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
  rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
  lass.UnregisterUserDictionary(System.String, System.String)'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
  llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
  .CreateSpellChecker(System.String)'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.dll : warning IL3053: Assembly 'System.Windows.Forms' produced AOT analysis warnings. [D:\dev\compa
ny_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Drawing.Common.dll : warning IL3053: Assembly 'System.Drawing.Common' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Design.dll : warning IL3053: Assembly 'System.Windows.Forms.Design' produced AOT analysis warnings.
 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Primitives.dll : warning IL3053: Assembly 'System.Windows.Forms.Primitives' produced AOT analysis w
arnings. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will alwa
  ys throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Xaml.dll : warning IL3053: Assembly 'System.Xaml' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationCore.dll : warning IL3053: Assembly 'PresentationCore' produced AOT analysis warnings. [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Private.Xml.d
ll : warning IL3053: Assembly 'System.Private.Xml' produced AOT analysis warnings. [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()'
  will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
  ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw becaus
  e: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterU
  serDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoCla
  ss.RegisterUserDictionary(System.String, System.String)'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\R
eachFramework.dll : warning IL3053: Assembly 'ReachFramework' produced AOT analysis warnings. [D:\dev\company_project\I
PRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Linq.Expressi
ons.dll : warning IL3053: Assembly 'System.Linq.Expressions' produced AOT analysis warnings. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\W
indowsBase.dll : warning IL3053: Assembly 'WindowsBase' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
    正在创建库 bin\Debug\net7.0-windows\win-x64\native\IPRedirect.lib 和对象 bin\Debug\net7.0-windows\win-x64\native\IPRedirect
  .exp
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish\

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
EXEC : error : Failed to load type 'SpellCheckerFactoryCoClass.UnregisterUserDictionary' from assembly 'PresentationFra
mework, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [D:\dev\company_project\IPRedirect1\IPRedire
ct.csproj]
  Internal.TypeSystem.TypeSystemException+TypeLoadException: Failed to load type 'SpellCheckerFactoryCoClass.Unregister
  UserDictionary' from assembly 'PresentationFramework, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e
  35'
     at Internal.TypeSystem.ThrowHelper.ThrowTypeLoadException(ExceptionStringID, String, String) in /_/src/coreclr/too
  ls/Common/TypeSystem/Common/ThrowHelper.cs:line 17
     at Internal.TypeSystem.CustomAttributeTypeNameParser.ResolveCustomAttributeTypeDefinitionName(String, ModuleDesc,
  Boolean) in /_/src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs:line 261
     at Internal.TypeSystem.CustomAttributeTypeNameParser.GetTypeByCustomAttributeTypeName(ModuleDesc, String, Boolean
  , Func`4 ) in /_/src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs:line 76
     at ILCompiler.RdXmlRootProvider.ProcessTypeDirective(IRootingServiceProvider, ModuleDesc, XElement) in /_/src/core
  clr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 98
     at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tool
  s/aot/ILCompiler/RdXmlRootProvider.cs:line 83
     at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompile
  r/RdXmlRootProvider.cs:line 47
     at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformation
  Provider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/
  Compilation.cs:line 64
     at ILCompiler.RyuJitCompilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInfor
  mationProvider, Logger, DevirtualizationManager, IInliningPolicy, InstructionSetSupport, ProfileDataManager, MethodIm
  portationErrorProvider, RyuJitCompilationOptions, Int32) in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJi
  tCompilation.cs:line 47
     at ILCompiler.RyuJitCompilationBuilder.ToCompilation() in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJ
  itCompilationBuilder.cs:line 133
     at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 950
     at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.tar
gets(278,5): error MSB3073: 命令“"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.
4\tools\\ilc" @"obj\Debug\net7.0-windows\win-x64\native\IPRedirect.ilc.rsp"”已退出,代码为 1。 [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
EXEC : error : Failed to load type 'SpellCheckerFactoryCoClass.UnregisterUserDictionary' from assembly 'PresentationFra
mework, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [D:\dev\company_project\IPRedirect1\IPRedire
ct.csproj]
  Internal.TypeSystem.TypeSystemException+TypeLoadException: Failed to load type 'SpellCheckerFactoryCoClass.Unregister
  UserDictionary' from assembly 'PresentationFramework, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e
  35'
     at Internal.TypeSystem.ThrowHelper.ThrowTypeLoadException(ExceptionStringID, String, String) in /_/src/coreclr/too
  ls/Common/TypeSystem/Common/ThrowHelper.cs:line 17
     at Internal.TypeSystem.CustomAttributeTypeNameParser.ResolveCustomAttributeTypeDefinitionName(String, ModuleDesc,
  Boolean) in /_/src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs:line 261
     at Internal.TypeSystem.CustomAttributeTypeNameParser.GetTypeByCustomAttributeTypeName(ModuleDesc, String, Boolean
  , Func`4 ) in /_/src/coreclr/tools/Common/TypeSystem/Common/Utilities/CustomAttributeTypeNameParser.cs:line 76
     at ILCompiler.RdXmlRootProvider.ProcessTypeDirective(IRootingServiceProvider, ModuleDesc, XElement) in /_/src/core
  clr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 98
     at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tool
  s/aot/ILCompiler/RdXmlRootProvider.cs:line 83
     at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompile
  r/RdXmlRootProvider.cs:line 47
     at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformation
  Provider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/
  Compilation.cs:line 64
     at ILCompiler.RyuJitCompilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInfor
  mationProvider, Logger, DevirtualizationManager, IInliningPolicy, InstructionSetSupport, ProfileDataManager, MethodIm
  portationErrorProvider, RyuJitCompilationOptions, Int32) in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJi
  tCompilation.cs:line 47
     at ILCompiler.RyuJitCompilationBuilder.ToCompilation() in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJ
  itCompilationBuilder.cs:line 133
     at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 950
     at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.tar
gets(278,5): error MSB3073: 命令“"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.
4\tools\\ilc" @"obj\Debug\net7.0-windows\win-x64\native\IPRedirect.ilc.rsp"”已退出,代码为 1。 [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
EXEC : error : Failed to load assembly 'Microsoft.WindowsDesktop.App.WindowsForms' [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
  Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'Microsoft.WindowsDesktop.App.
  WindowsForms'
     at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in /_/src/coreclr/tools/C
  ommon/TypeSystem/Common/ThrowHelper.cs:line 35
     at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in /_/src/coreclr/tools/Common/Co
  mpiler/CompilerTypeSystemContext.cs:line 121
     at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tool
  s/aot/ILCompiler/RdXmlRootProvider.cs:line 62
     at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompile
  r/RdXmlRootProvider.cs:line 47
     at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformation
  Provider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/
  Compilation.cs:line 64
     at ILCompiler.RyuJitCompilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInfor
  mationProvider, Logger, DevirtualizationManager, IInliningPolicy, InstructionSetSupport, ProfileDataManager, MethodIm
  portationErrorProvider, RyuJitCompilationOptions, Int32) in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJi
  tCompilation.cs:line 47
     at ILCompiler.RyuJitCompilationBuilder.ToCompilation() in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJ
  itCompilationBuilder.cs:line 133
     at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 950
     at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.tar
gets(278,5): error MSB3073: 命令“"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.
4\tools\\ilc" @"obj\Debug\net7.0-windows\win-x64\native\IPRedirect.ilc.rsp"”已退出,代码为 1。 [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
EXEC : error : Failed to load assembly 'WindowsForms' [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'WindowsForms'
     at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in /_/src/coreclr/tools/C
  ommon/TypeSystem/Common/ThrowHelper.cs:line 35
     at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in /_/src/coreclr/tools/Common/Co
  mpiler/CompilerTypeSystemContext.cs:line 121
     at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in /_/src/coreclr/tool
  s/aot/ILCompiler/RdXmlRootProvider.cs:line 62
     at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in /_/src/coreclr/tools/aot/ILCompile
  r/RdXmlRootProvider.cs:line 47
     at ILCompiler.Compilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInformation
  Provider, DevirtualizationManager, IInliningPolicy, Logger) in /_/src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/
  Compilation.cs:line 64
     at ILCompiler.RyuJitCompilation..ctor(DependencyAnalyzerBase`1, NodeFactory, IEnumerable`1, ILProvider, DebugInfor
  mationProvider, Logger, DevirtualizationManager, IInliningPolicy, InstructionSetSupport, ProfileDataManager, MethodIm
  portationErrorProvider, RyuJitCompilationOptions, Int32) in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJi
  tCompilation.cs:line 47
     at ILCompiler.RyuJitCompilationBuilder.ToCompilation() in /_/src/coreclr/tools/aot/ILCompiler.RyuJit/Compiler/RyuJ
  itCompilationBuilder.cs:line 133
     at ILCompiler.Program.Run(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 950
     at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.tar
gets(278,5): error MSB3073: 命令“"C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.
4\tools\\ilc" @"obj\Debug\net7.0-windows\win-x64\native\IPRedirect.ilc.rsp"”已退出,代码为 1。 [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]

D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.dll : warning IL3053: Assembly 'System.Windows.Forms' produced AOT analysis warnings. [D:\dev\compa
ny_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Drawing.Common.dll : warning IL3053: Assembly 'System.Drawing.Common' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Design.dll : warning IL3053: Assembly 'System.Windows.Forms.Design' produced AOT analysis warnings.
 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Primitives.dll : warning IL3053: Assembly 'System.Windows.Forms.Primitives' produced AOT analysis w
arnings. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will alwa
  ys throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Xaml.dll : warning IL3053: Assembly 'System.Xaml' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationFramework.dll : warning IL3053: Assembly 'PresentationFramework' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationCore.dll : warning IL3053: Assembly 'PresentationCore' produced AOT analysis warnings. [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Private.Xml.d
ll : warning IL3053: Assembly 'System.Private.Xml' produced AOT analysis warnings. [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()'
  will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
  ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw becaus
  e: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
  rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
  lass.UnregisterUserDictionary(System.String, System.String)'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
  llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
  .CreateSpellChecker(System.String)'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterU
  serDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoCla
  ss.RegisterUserDictionary(System.String, System.String)'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\R
eachFramework.dll : warning IL3053: Assembly 'ReachFramework' produced AOT analysis warnings. [D:\dev\company_project\I
PRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Linq.Expressi
ons.dll : warning IL3053: Assembly 'System.Linq.Expressions' produced AOT analysis warnings. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\W
indowsBase.dll : warning IL3053: Assembly 'WindowsBase' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
    正在创建库 bin\Debug\net7.0-windows\win-x64\native\IPRedirect.lib 和对象 bin\Debug\net7.0-windows\win-x64\native\IPRedirect
  .exp
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish\

D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  已还原 D:\dev\company_project\IPRedirect1\IPRedirect.csproj (用时 216 ms)。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(9,7): warning CS0105: “System.Net.NetworkInformation”的 using 指
令以前在此命名空间中出现过 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(10,7): warning CS0105: “System.Runtime.InteropServices”的 using
 指令以前在此命名空间中出现过 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(43,20): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project\IPRe
direct1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyConfigUtil.cs(16,24): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(11,23): warning CS8618: 在退出构造函数时,不可为 null 的 字段“listenAddress”必须包含非 nu
ll 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(13,23): warning CS8618: 在退出构造函数时,不可为 null 的 字段“connectaddress”必须包含非 n
ull 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(31,45): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(39,35): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(95,19): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(96,24): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(97,20): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(98,20): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(91,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RedirectRule.cs(14,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“LocalAddress”必须包含非 nu
ll 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RedirectRule.cs(16,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“RemoteAddress”必须包含非 n
ull 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteManager.cs(36,48): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company
_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(108,61): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(16,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请
考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(19,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Ip”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(25,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Getwary”必须包含非 null
值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(30,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Dns”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(35,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Mac”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(47,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“ID”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(48,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 n
ull 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(50,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“NetInterfaceType”必须
包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(54,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Speed”必须包含非 null 值。
请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(55,28): warning CS8618: 在退出构造函数时,不可为 null 的 字段“MacAddress”必须包含非 nu
ll 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(56,32): warning CS8618: 在退出构造函数时,不可为 null 的 字段“DhcpServerAddresses
”必须包含非 null 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(58,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“NetworkInterfaceID”
必须包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(66,29): warning CS8618: 在退出构造函数时,不可为 null 的 字段“src”必须包含非 null 值。请考
虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(102,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“DeviceInstancePath
”必须包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(121,62): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(56,45): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(59,34): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(51,9): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\CmdUtil.cs(78,31): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\compa
ny_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\CmdUtil.cs(110,31): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(14,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name”必须包含非 null 值。请考虑将
 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(15,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name2”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(16,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name3”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(17,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name4”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(18,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name5”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(19,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name6”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(20,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name7”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(21,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name8”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(22,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name9”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(23,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name10”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(24,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name11”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(25,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name12”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(26,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name13”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(27,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name14”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(153,28): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project
\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(191,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(210,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(241,13): warning CS0219: 变量“localPort”已被赋值,但从未使用过它的值 [D:\dev\company_projec
t\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(241,28): warning CS0219: 变量“remotePort”已被赋值,但从未使用过它的值 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(230,38): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(231,39): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(243,38): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(247,69): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(248,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(258,68): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(259,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(267,80): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(268,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(291,60): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(292,47): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(285,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(317,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(425,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(482,51): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\compan
y_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(483,21): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(409,45): warning CS0618: “IPAddress.Address”已过时:“IPAddress.Add
ress is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.” [D:\dev
\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(419,26): warning CS0618: “IPAddress.Address”已过时:“IPAddress.Add
ress is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.” [D:\dev
\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(324,31): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\I
PRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(440,24): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project
\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(387,21): warning CS0162: 检测到无法访问的代码 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(419,21): warning CS0162: 检测到无法访问的代码 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(351,38): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(443,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(525,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(543,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(576,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.Designer.cs(450,24): warning CS0169: 从不使用字段“Form1.button2” [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(15,22): warning CS0169: 从不使用字段“RouteConfig.listenAddressIsUnAvaiable”
 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.dll : warning IL3053: Assembly 'System.Windows.Forms' produced AOT analysis warnings. [D:\dev\compa
ny_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Drawing.Common.dll : warning IL3053: Assembly 'System.Drawing.Common' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Design.dll : warning IL3053: Assembly 'System.Windows.Forms.Design' produced AOT analysis warnings.
 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Windows.Forms.Primitives.dll : warning IL3053: Assembly 'System.Windows.Forms.Primitives' produced AOT analysis w
arnings. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will alwa
  ys throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\S
ystem.Xaml.dll : warning IL3053: Assembly 'System.Xaml' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationFramework.dll : warning IL3053: Assembly 'PresentationFramework' produced AOT analysis warnings. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\P
resentationCore.dll : warning IL3053: Assembly 'PresentationCore' produced AOT analysis warnings. [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Private.Xml.d
ll : warning IL3053: Assembly 'System.Private.Xml' produced AOT analysis warnings. [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()'
  will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
  ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw becaus
  e: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
  rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
  lass.UnregisterUserDictionary(System.String, System.String)'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
  llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
  .CreateSpellChecker(System.String)'
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterU
  serDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoCla
  ss.RegisterUserDictionary(System.String, System.String)'
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\R
eachFramework.dll : warning IL3053: Assembly 'ReachFramework' produced AOT analysis warnings. [D:\dev\company_project\I
PRedirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\7.0.4\framework\System.Linq.Expressi
ons.dll : warning IL3053: Assembly 'System.Linq.Expressions' produced AOT analysis warnings. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
C:\Users\Administrator\.nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\7.0.4\runtimes\win-x64\lib\net7.0\W
indowsBase.dll : warning IL3053: Assembly 'WindowsBase' produced AOT analysis warnings. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
    正在创建库 bin\Debug\net7.0-windows\win-x64\native\IPRedirect.lib 和对象 bin\Debug\net7.0-windows\win-x64\native\IPRedirect
  .exp
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\publish\

D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>
D:\dev\company_project\IPRedirect1>dotnet publish .
MSBuild version 17.6.0-preview-23179-01+dd5d9f746 for .NET
  正在确定要还原的项目…
  所有项目均是最新的,无法还原。
C:\Program Files\dotnet\sdk\7.0.300-preview.23179.2\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInfer
ence.targets(287,5): message NETSDK1057: 你正在使用 .NET 的预览版。请参阅 https://aka.ms/dotnet-support-policy [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(9,7): warning CS0105: “System.Net.NetworkInformation”的 using 指
令以前在此命名空间中出现过 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(10,7): warning CS0105: “System.Runtime.InteropServices”的 using
 指令以前在此命名空间中出现过 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(43,20): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project\IPRe
direct1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(31,45): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(39,35): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(95,19): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(96,24): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(97,20): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(98,20): warning CS8601: 可能的 null 引用赋值。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(91,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyConfigUtil.cs(16,24): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(11,23): warning CS8618: 在退出构造函数时,不可为 null 的 字段“listenAddress”必须包含非 nu
ll 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(13,23): warning CS8618: 在退出构造函数时,不可为 null 的 字段“connectaddress”必须包含非 n
ull 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RedirectRule.cs(14,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“LocalAddress”必须包含非 nu
ll 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RedirectRule.cs(16,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“RemoteAddress”必须包含非 n
ull 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(14,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name”必须包含非 null 值。请考虑将
 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(15,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name2”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(16,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name3”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(17,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name4”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(18,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name5”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(19,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name6”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(20,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name7”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(21,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name8”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(22,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name9”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(23,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name10”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(24,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name11”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(25,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name12”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(26,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name13”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\MyTestModel.cs(27,23): warning CS8618: 在退出构造函数时,不可为 null 的 属性“name14”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(51,9): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(153,28): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project
\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(191,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteManager.cs(36,48): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company
_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(108,61): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(121,62): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(230,38): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(231,39): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(243,38): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(247,69): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(248,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(258,68): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(259,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(267,80): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(268,27): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [
D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(16,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请
考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(19,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Ip”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(25,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Getwary”必须包含非 null
值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(30,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Dns”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(35,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Mac”必须包含非 null 值。请考
虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(47,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“ID”必须包含非 null 值。请考虑
将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(48,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 n
ull 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(50,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“NetInterfaceType”必须
包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(54,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“Speed”必须包含非 null 值。
请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(55,28): warning CS8618: 在退出构造函数时,不可为 null 的 字段“MacAddress”必须包含非 nu
ll 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(56,32): warning CS8618: 在退出构造函数时,不可为 null 的 字段“DhcpServerAddresses
”必须包含非 null 值。请考虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(58,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“NetworkInterfaceID”
必须包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(66,29): warning CS8618: 在退出构造函数时,不可为 null 的 字段“src”必须包含非 null 值。请考
虑将 字段 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapter.cs(102,19): warning CS8618: 在退出构造函数时,不可为 null 的 属性“DeviceInstancePath
”必须包含非 null 值。请考虑将 属性 声明为可以为 null。 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(291,60): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(292,47): warning CS8625: 无法将 null 字面量转换为非 null 的引用类型。 [D:\dev\
company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\CmdUtil.cs(78,31): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\compa
ny_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\CmdUtil.cs(110,31): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(56,45): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\FormEdit.cs(59,34): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(409,45): warning CS0618: “IPAddress.Address”已过时:“IPAddress.Add
ress is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.” [D:\dev
\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(419,26): warning CS0618: “IPAddress.Address”已过时:“IPAddress.Add
ress is address family dependent and has been deprecated. Use IPAddress.Equals to perform comparisons instead.” [D:\dev
\company_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(324,31): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\I
PRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(440,24): warning CS8603: 可能返回 null 引用。 [D:\dev\company_project
\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(387,21): warning CS0162: 检测到无法访问的代码 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(419,21): warning CS0162: 检测到无法访问的代码 [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(351,38): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\NetworkAdapterUtil.cs(443,26): warning CS0168: 声明了变量“e”,但从未使用过 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(210,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(241,13): warning CS0219: 变量“localPort”已被赋值,但从未使用过它的值 [D:\dev\company_projec
t\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(241,28): warning CS0219: 变量“remotePort”已被赋值,但从未使用过它的值 [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(285,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(317,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(425,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(482,51): warning CS8600: 将 null 文本或可能的 null 值转换为不可为 null 类型。 [D:\dev\compan
y_project\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(483,21): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(525,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(543,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.cs(576,13): warning CS8602: 解引用可能出现空引用。 [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
D:\dev\company_project\IPRedirect1\Form1.Designer.cs(450,24): warning CS0169: 从不使用字段“Form1.button2” [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
D:\dev\company_project\IPRedirect1\RouteConfig.cs(15,22): warning CS0169: 从不使用字段“RouteConfig.listenAddressIsUnAvaiable”
 [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  IPRedirect -> D:\dev\company_project\IPRedirect1\bin\Debug\net7.0-windows\win-x64\IPRedirect.dll
  优化程序集以调整大小可能会更改应用的行为。请务必在发布后进行测试。请参阅: https://aka.ms/dotnet-illink
  Generating native code
  ILC: Method '[PresentationFramework]MS.Internal.AppModel.AppSecurityManager+InternetSecurityManager..ctor()' will alw
  ays throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.DecomposeHmenuIdentityString(Byte&,UInt32,IntPtr
,UInt32&): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.DecomposeHmenuIdentityString(uint8&,uint32,native int
  ,uint32&)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.Decompo
  seHmenuIdentityString(Byte ByRef, UInt32, IntPtr, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ComposeHmenuIdentityString(_RemotableHandle&,UIn
t32,IntPtr,UInt32&): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ComposeHmenuIdentityString(_RemotableHandle&,uint32,n
  ative int,uint32&)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClas
  s.ComposeHmenuIdentityString(Accessibility._RemotableHandle ByRef, UInt32, IntPtr, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearHmenuProps(_RemotableHandle&,UInt32,Guid&,I
nt32): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect
.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearHmenuProps(_RemotableHandle&,uint32,Guid&,int32)
  ' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.ClearHmenuProps(
  Accessibility._RemotableHandle ByRef, UInt32, System.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle&,UInt32,Guid
&,Int32,IAccPropServer,AnnoScope): COM interop is not supported with full ahead of time compilation. [D:\dev\company_pr
oject\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle&,uint32,Guid&,int
  32,IAccPropServer,AnnoScope)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropSe
  rvicesClass.SetHmenuPropServer(Accessibility._RemotableHandle ByRef, UInt32, System.Guid ByRef, Int32, Accessibility.
  IAccPropServer, Accessibility.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuPropStr(_RemotableHandle&,UInt32,Guid,St
ring): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect
.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuPropStr(_RemotableHandle&,uint32,Guid,string)
  ' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHmenuPropStr(
  Accessibility._RemotableHandle ByRef, UInt32, System.Guid, System.String)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuProp(_RemotableHandle&,UInt32,Guid,Objec
t): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuProp(_RemotableHandle&,uint32,Guid,object)' w
  ill always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHmenuProp(Access
  ibility._RemotableHandle ByRef, UInt32, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.DecomposeHwndIdentityString(Byte&,UInt32,IntPtr,
UInt32&,UInt32&): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1
\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.DecomposeHwndIdentityString(uint8&,uint32,native int,
  uint32&,uint32&)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.
  DecomposeHwndIdentityString(Byte ByRef, UInt32, IntPtr, UInt32 ByRef, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ComposeHwndIdentityString(_RemotableHandle&,UInt
32,UInt32,IntPtr,UInt32&): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ComposeHwndIdentityString(_RemotableHandle&,uint32,ui
  nt32,native int,uint32&)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServic
  esClass.ComposeHwndIdentityString(Accessibility._RemotableHandle ByRef, UInt32, UInt32, IntPtr, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearHwndProps(_RemotableHandle&,UInt32,UInt32,G
uid&,Int32): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearHwndProps(_RemotableHandle&,uint32,uint32,Guid&,
  int32)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.ClearHwndP
  rops(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndPropServer(_RemotableHandle&,UInt32,UInt3
2,Guid&,Int32,IAccPropServer,AnnoScope): COM interop is not supported with full ahead of time compilation. [D:\dev\comp
any_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndPropServer(_RemotableHandle&,uint32,uint32,Gui
  d&,int32,IAccPropServer,AnnoScope)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAcc
  PropServicesClass.SetHwndPropServer(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid ByRef, Int32, A
  ccessibility.IAccPropServer, Accessibility.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndPropStr(_RemotableHandle&,UInt32,UInt32,G
uid,String): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndPropStr(_RemotableHandle&,uint32,uint32,Guid,s
  tring)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHwndPro
  pStr(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid, System.String)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndProp(_RemotableHandle&,UInt32,UInt32,Guid
,Object): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedir
ect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndProp(_RemotableHandle&,uint32,uint32,Guid,obje
  ct)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHwndProp(A
  ccessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearProps(Byte&,UInt32,Guid&,Int32): COM intero
p is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearProps(uint8&,uint32,Guid&,int32)' will always th
  row because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.ClearProps(Byte ByRef, UInt32, S
  ystem.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetPropServer(Byte&,UInt32,Guid&,Int32,IAccPropS
erver,AnnoScope): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1
\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetPropServer(uint8&,uint32,Guid&,int32,IAccPropServe
  r,AnnoScope)' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetP
  ropServer(Byte ByRef, UInt32, System.Guid ByRef, Int32, Accessibility.IAccPropServer, Accessibility.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetPropValue(Byte&,UInt32,Guid,Object): COM inte
rop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetPropValue(uint8&,uint32,Guid,object)' will always
  throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetPropValue(Byte ByRef, UInt3
  2, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.CAccPropServicesClass(): COM interop is not supp
orted with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass..ctor()' will always throw because: Invalid IL or CLR
   metadata in 'Void Accessibility.CAccPropServicesClass..ctor()'
ILC : AOT analysis warning IL3052: System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.XpsOMThumbnailGene
ratorClass(): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
  ILC: Method '[ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..ctor()' will always t
  hrow because: Invalid IL or CLR metadata in 'Void System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..
  ctor()'
ILC : AOT analysis warning IL3052: System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(
IXpsOMPage,XPS_IMAGE_TYPE,XPS_THUMBNAIL_SIZE,IOpcPartUri): COM interop is not supported with full ahead of time compila
tion. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(IXps
  OMPage,XPS_IMAGE_TYPE,XPS_THUMBNAIL_SIZE,IOpcPartUri)' will always throw because: Invalid IL or CLR metadata in 'Syst
  em.Windows.Xps.Serialization.RCW.IXpsOMImageResource System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClas
  s.GenerateThumbnail(System.Windows.Xps.Serialization.RCW.IXpsOMPage, System.Windows.Xps.Serialization.RCW.XPS_IMAGE_T
  YPE, System.Windows.Xps.Serialization.RCW.XPS_THUMBNAIL_SIZE, System.Windows.Xps.Serialization.RCW.IOpcPartUri)'
  ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw becaus
  e: Invalid IL or CLR metadata in 'Void AttachmentServices..ctor()'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.SpellChecker
FactoryCoClass(): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1
\IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()'
  will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass..ctor()'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.SupportedLan
guages.get: COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.get_Suppo
  rtedLanguages()' will always throw because: Invalid IL or CLR metadata in 'IEnumString SpellCheckerFactoryCoClass.get
  _SupportedLanguages()'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.UnregisterUs
erDictionary(String,String): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\
IPRedirect1\IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.Unregiste
  rUserDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoC
  lass.UnregisterUserDictionary(System.String, System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.RegisterUser
Dictionary(String,String): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterU
  serDictionary(string,string)' will always throw because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoCla
  ss.RegisterUserDictionary(System.String, System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.IsSupported(
String): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedire
ct.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.IsSupport
  ed(string)' will always throw because: Invalid IL or CLR metadata in 'Int32 SpellCheckerFactoryCoClass.IsSupported(Sy
  stem.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.CreateSpellC
hecker(String): COM interop is not supported with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\I
PRedirect.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpe
  llChecker(string)' will always throw because: Invalid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass
  .CreateSpellChecker(System.String)'
  ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will alwa
  ys throw because: Invalid IL or CLR metadata in 'Void InternetSecurityManager..ctor()'
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.CollectionUtils.ResolveEnumerableCollectionConstructor(Typ
e,Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break function
ality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.CollectionUtils.ResolveEnumerableCollectionConstructor(Typ
e,Type,Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break fun
ctionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\compan
y_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.CollectionUtils.ToMultidimensionalArray(IList,Type,Int32):
 Using member 'System.Array.CreateInstance(Type,Int32[])' which has 'RequiresDynamicCodeAttribute' can break functional
ity when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.ConvertUtils.GetTypeCode(Type,Boolean&): Using member 'Sys
tem.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling.
The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirec
t.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDynamicMethod(Strin
g,Type,Type[],Type): Using member 'System.Reflection.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Module,Boolean
)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Creating a DynamicMethod requir
es dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateDynamicMethod(Strin
g,Type,Type[],Type): Using member 'System.Reflection.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Type,Boolean)'
 which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Creating a DynamicMethod requires
 dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.FSharpUtils.CreateSeq(Type): Using member 'System.Reflecti
on.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT comp
iling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.FSharpUtils.CreateMap(Type,Type): Using member 'System.Ref
lection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT
 compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirec
t1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.FSharpUtils.BuildMapCreator<TKey,TValue>(): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.ImmutableCollectionsUtils.TryBuildImmutableForArrayContrac
t(Type,Type,Type&,ObjectConstructor`1<Object>&): Using member 'System.Type.MakeGenericType(Type[])' which has 'Requires
DynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be a
vailable at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.ImmutableCollectionsUtils.TryBuildImmutableForArrayContrac
t(Type,Type,Type&,ObjectConstructor`1<Object>&): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])'
which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantia
tion might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.ImmutableCollectionsUtils.TryBuildImmutableForDictionaryCo
ntract(Type,Type,Type,Type&,ObjectConstructor`1<Object>&): Using member 'System.Type.MakeGenericType(Type[])' which has
 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation migh
t not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.ImmutableCollectionsUtils.TryBuildImmutableForDictionaryCo
ntract(Type,Type,Type,Type&,ObjectConstructor`1<Object>&): Using member 'System.Reflection.MethodInfo.MakeGenericMethod
(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this
 instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultContractResolver.SetExtensionDataDelegates(Json
ObjectContract,MemberInfo): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute'
 can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
[D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultContractResolver.SetExtensionDataDelegates(Json
ObjectContract,MemberInfo): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute'
 can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
[D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDictionaryContract(Type)
: Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality w
hen AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultContractResolver.CreateDictionaryContract(Type)
: Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality w
hen AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultContractResolver.CreateArrayContract(Type): Usi
ng member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when A
OT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.DefaultSerializationBinder.GetGenericTypeFromTypeName(
String,Assembly): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break
 functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\co
mpany_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.JsonArrayContract(Type): Using membe
r 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compi
ling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.CreateWrapper(Object): Using member
'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.CreateWrapper(Object): Using member
'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonArrayContract.CreateTemporaryCollection(): Using m
ember 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT c
ompiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1
\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.JsonDictionaryContract(Type): U
sing member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when
 AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRed
irect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.JsonDictionaryContract(Type): U
sing member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when
 AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRed
irect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.JsonDictionaryContract(Type): U
sing member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when
 AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRed
irect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.JsonDictionaryContract(Type): U
sing member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when
 AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRed
irect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.CreateWrapper(Object): Using me
mber 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT co
mpiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\
IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonDictionaryContract.CreateTemporaryDictionary(): Us
ing member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when
AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedi
rect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader,Typ
e,JsonContract,JsonProperty,Object,String): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresD
ynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not
be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Converters.DataTableConverter.CreateRow(JsonReader,DataTable,JsonSer
ializer): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break fun
ctionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_proj
ect\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Converters.DataTableConverter.GetColumnDataType(JsonReader): Using m
ember 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling
. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.DynamicUtils.BinderWrapper.CreateSharpArgumentInfoArray(In
t32[]): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break funct
ionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_projec
t\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: Newtonsoft.Json.Utilities.DynamicUtils.BinderWrapper.CreateMemberCalls(): Using memb
er 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT comp
iling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IP
Redirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Design.ImageEditor.GetExtensions(): Using member 'System.Collections.
ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code
for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Design.ToolboxItem.Initialize(Type): Using member 'System.Collections
.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code
 for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Design.ToolboxItem.Serialize(SerializationInfo,StreamingContext): Usi
ng member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality
 when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedi
rect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.ArrayEditor.SetItems(Object,Object[]): Using member 'Sy
stem.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect
.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.DesignerActionService.GetComponentDesignerActions(IComp
onent,DesignerActionListCollection): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynam
icCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be a
vailable. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.InheritedPropertyDescriptor.InheritedPropertyDescriptor
(PropertyDescriptor,Object): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAt
tribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available
. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpressi
on(IDesignerSerializationManager,String,CodeExpression): Using member 'System.Array.CreateInstance(Type,Int32)' which h
as 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified ty
pe might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpressi
on(IDesignerSerializationManager,String,CodeExpression): Using member 'System.Array.CreateInstance(Type,Int32)' which h
as 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified ty
pe might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpressi
on(IDesignerSerializationManager,String,CodeExpression): Using member 'System.Array.CreateInstance(Type,Int32)' which h
as 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified ty
pe might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.Design.OleDragDropHandler.DoOleDragDrop(DragEventArgs): Using m
ember 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality whe
n AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect
1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.Design.StringArrayEditor.SetItems(Object,Object[]): Using membe
r 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT c
ompiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.TabControl.GetItems(Type): Using member 'System.Array.CreateIns
tance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an
 array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.ComponentModel.Design.Serialization.CodeDomComponentSerializationService.Code
DomSerializationStore.ComponentListCodeDomSerializer.Serialize(IDesignerSerializationManager,IDictionary,IDictionary,IL
ist): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break func
tionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_proje
ct\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.BindingSource.CreateBindingList(Type): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.CreateMarshalerArray(!0[]): Using member 'System.Runtime
.InteropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. Marshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_projec
t\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.FromAbiArray(Object): Using member 'System.Runtime.Inter
opServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. M
arshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_project\IPRe
direct1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.FromAbiArray(Object): Using member 'System.Runtime.Inter
opServices.Marshal.PtrToStructure(IntPtr,Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when A
OT compiling. Marshalling code for the object might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.CopyAbiArray(!0[],Object): Using member 'System.Runtime.
InteropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. Marshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_project
\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.CopyAbiArray(!0[],Object): Using member 'System.Runtime.
InteropServices.Marshal.PtrToStructure(IntPtr,Type)' which has 'RequiresDynamicCodeAttribute' can break functionality w
hen AOT compiling. Marshalling code for the object might not be available. [D:\dev\company_project\IPRedirect1\IPRedire
ct.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.FromManagedArray(!0[]): Using member 'System.Runtime.Int
eropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling.
 Marshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_project\IP
Redirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.CopyManagedArray(!0[],IntPtr): Using member 'System.Runt
ime.InteropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT com
piling. Marshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.DisposeAbiArrayElements(ValueTuple`2<Int32,IntPtr>): Usi
ng member 'System.Runtime.InteropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break func
tionality when AOT compiling. Marshalling code for the object might not be available. Use the SizeOf<T> overload instea
d. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalNonBlittable`1.DisposeAbiArrayElements(ValueTuple`2<Int32,IntPtr>): Usi
ng member 'System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr,Type)' which has 'RequiresDynamicCodeAttribute'
 can break functionality when AOT compiling. Marshalling code for the object might not be available. [D:\dev\company_pr
oject\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.MarshalInterface`1.BindAs(): Using member 'System.Reflection.MethodInfo.MakeGe
nericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native co
de for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.Projections.FindCustomHelperTypeMapping(Type): Using member 'System.Type.MakeG
enericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native cod
e for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.Projections.FindCustomPublicTypeForAbiType(Type): Using member 'System.Type.Ma
keGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native
code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.Projections.TryGetCompatibleWindowsRuntimeTypeForVariantType(Type,Type&): Usin
g member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AO
T compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedire
ct1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: WinRT.TypeExtensions.FindVftblType(Type): Using member 'System.Type.MakeGenericType(
Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this
instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.Windows.Data.Text.WordSegmentsTokenizingHandler..ccto
r(): Using member 'System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(Delegate)' which has 'RequiresD
ynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not be availab
le. Use the GetFunctionPointerForDelegate<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.c
sproj]
ILC : AOT analysis warning IL3050: System.Windows.Markup.BamlRecordReader.CheckExplicitCollectionTag(Boolean&): Using m
ember 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling
. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
ILC : AOT analysis warning IL3050: System.Windows.Markup.XamlTypeMapper.GetNamespaceMapEntries(String): Using member 'S
ystem.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT co
mpiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Markup.Primitives.MarkupWriter.NeedToWriteExplicitTag(MarkupProperty,
MarkupObject): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functional
ity when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPR
edirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Documents.FixedPage._CreateChildIndex(DependencyObject): Using member
 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT
 compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Documents.FixedTextBuilder.GetFixedNodesForFlowRange(FlowPosition,Flo
wPosition,FixedSOMElement[]&,Int32&,Int32&): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'Requi
resDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might
not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Documents.FlowPosition.GetFlowNodes(FlowPosition,FlowNode[]&,Int32&,I
nt32&): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break fu
nctionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Controls.DataGridColumn.CreateDefaultColumn(ItemPropertyInfo): Using
member 'System.Enum.GetValues(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. It might not be possible to create an array of the enum type at runtime. Use the GetValues<TEnum> overload or the Ge
tValuesAsUnderlyingType method instead. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerator`1.Vftbl.Vftbl(
IntPtr): Using member 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr,Type)' which has 'Re
quiresDynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not be
available. Use the GetDelegateForFunctionPointer<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerator`1.Vftbl..cctor
(): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can
break functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\d
ev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerator`1.Vftbl..cctor
(): Using member 'System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(Delegate)' which has 'RequiresDy
namicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not be availabl
e. Use the GetFunctionPointerForDelegate<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl.Vftb
l(IntPtr): Using member 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr,Type)' which has '
RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not b
e available. Use the GetDelegateForFunctionPointer<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl.Vftb
l(IntPtr): Using member 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr,Type)' which has '
RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not b
e available. Use the GetDelegateForFunctionPointer<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPR
edirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl..cct
or(): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' ca
n break functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:
\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl..cct
or(): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' ca
n break functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:
\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl..cct
or(): Using member 'System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(Delegate)' which has 'Requires
DynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not be availa
ble. Use the GetFunctionPointerForDelegate<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.
csproj]
ILC : AOT analysis warning IL3050: MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IReadOnlyList`1.Vftbl..cct
or(): Using member 'System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(Delegate)' which has 'Requires
DynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the delegate might not be availa
ble. Use the GetFunctionPointerForDelegate<TDelegate> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.
csproj]
ILC : AOT analysis warning IL3050: System.Windows.Ink.ExtendedProperty.Clone(): Using member 'System.Array.CreateInstan
ce(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an ar
ray of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Media.Imaging.PROPVARIANT.Init(Array,Type,VarEnum): Using member 'Sys
tem.Runtime.InteropServices.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when
 AOT compiling. Marshalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Media.Imaging.WriteableBitmap.ValidateArrayAndGetInfo(Array,Boolean,I
nt32&,Int32&,Type&): Using member 'System.Runtime.InteropServices.Marshal.SizeOf(Object)' which has 'RequiresDynamicCod
eAttribute' can break functionality when AOT compiling. Marshalling code for the object might not be available. Use the
 SizeOf<T> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Media.Imaging.WriteableBitmap.ValidateArrayAndGetInfo(Array,Boolean,I
nt32&,Int32&,Type&): Using member 'System.Runtime.InteropServices.Marshal.SizeOf(Object)' which has 'RequiresDynamicCod
eAttribute' can break functionality when AOT compiling. Marshalling code for the object might not be available. Use the
 SizeOf<T> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.DataObject.DataStore.SetData(String,Object,Boolean,DVASPECT,Int32): U
sing member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality
when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.DataObject.DataStore.SetData(String,Object,Boolean,DVASPECT,Int32): U
sing member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality
when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.IO.Packaging.StorageInfo.GetStreams(): Using member 'System.Collections.Array
List.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for a
n array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.IO.Packaging.StorageInfo.GetSubStorages(): Using member 'System.Collections.A
rrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code f
or an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Xaml.Schema.CollectionReflector.GetIsReadOnlyMethod(Type,Type): Using member
'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
ILC : AOT analysis warning IL3050: System.Xaml.Schema.XamlNamespace.TryGetXamlType(String,Type[]): Using member 'System
.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
 native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.c
sproj]
ILC : AOT analysis warning IL3050: System.Xaml.Schema.XamlNamespace.MakeArrayType(Type,String): Using member 'System.Ty
pe.MakeArrayType(Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code
for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Xaml.Schema.XamlNamespace.MakeArrayType(Type,String): Using member 'System.Ty
pe.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for a
n array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Markup.ArrayExtension.ProvideValue(IServiceProvider): Using member 'S
ystem.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT co
mpiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.Xaml.Runtime.ClrObjectRuntime.GetDictionaryItems(Object,XamlType): Using
 member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT
 compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirec
t1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.Xaml.Runtime.ClrObjectRuntime.GetDictionaryItems(Object,XamlType): Using
 member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT
 compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirec
t1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.Xaml.Runtime.ClrObjectRuntime.GetDictionaryItems(Object,XamlType): Using
 member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break fun
ctionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\compan
y_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.Xaml.Runtime.DynamicMethodRuntime.CreateDynamicMethod(String,Type,Type[]
): Using member 'System.Reflection.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Type)' which has 'RequiresDynami
cCodeAttribute' can break functionality when AOT compiling. Creating a DynamicMethod requires dynamic code. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: MS.Internal.Xaml.Runtime.DynamicMethodRuntime.CreateDynamicMethod(String,Type,Type[]
): Using member 'System.Reflection.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Module)' which has 'RequiresDyna
micCodeAttribute' can break functionality when AOT compiling. Creating a DynamicMethod requires dynamic code. [D:\dev\c
ompany_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.KeysConverter.ConvertTo(ITypeDescriptorContext,CultureInfo,Obje
ct,Type): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break
functionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_p
roject\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.ListView.ApplyUpdateCachedItems(): Using member 'System.Collect
ions.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.ComponentModel.Com2Interop.Com2TypeInfoProcessor.ModuleBuilder.
get: Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess)' wh
ich has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Defining a dynamic assembly requires
 dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Windows.Forms.Message.GetLParam(Type): Using member 'System.Runtime.InteropSe
rvices.Marshal.PtrToStructure(IntPtr,Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT c
ompiling. Marshalling code for the object might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj
]
ILC : AOT analysis warning IL3050: Interop.Oleaut32.VARIANT.CreateArrayFromSafeArray(SAFEARRAY*,VARENUM): Using member
'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT com
piling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedir
ect.csproj]
ILC : AOT analysis warning IL3050: Interop.Oleaut32.VARIANT.CreateArrayFromSafeArray(SAFEARRAY*,VARENUM): Using member
'System.Array.CreateInstance(Type,Int32[],Int32[])' which has 'RequiresDynamicCodeAttribute' can break functionality wh
en AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirec
t1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Font.ToLogFont(Object,Graphics): Using member 'System.Runtime.Interop
Services.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Mar
shalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_project\IPRedi
rect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Font.ToLogFont(Object,Graphics): Using member 'System.Runtime.Interop
Services.Marshal.PtrToStructure(IntPtr,Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when A
OT compiling. Marshalling code for the object might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
ILC : AOT analysis warning IL3050: MS.Internal.Printing.Configuration.WinSpoolPrinterCapabilities.GetArrayCapability<T>
(DeviceCapability,ReadArray`1<!!0>): Using member 'System.Runtime.InteropServices.Marshal.SizeOf(Type)' which has 'Requ
iresDynamicCodeAttribute' can break functionality when AOT compiling. Marshalling code for the object might not be avai
lable. Use the SizeOf<T> overload instead. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Font.FromLogFont(Object,IntPtr): Using member 'System.Runtime.Interop
Services.Marshal.SizeOf(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Mar
shalling code for the object might not be available. Use the SizeOf<T> overload instead. [D:\dev\company_project\IPRedi
rect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Drawing.Font.FromLogFont(Object,IntPtr): Using member 'System.Runtime.Interop
Services.Marshal.StructureToPtr(Object,IntPtr,Boolean)' which has 'RequiresDynamicCodeAttribute' can break functionalit
y when AOT compiling. Marshalling code for the object might not be available. Use the StructureToPtr<T> overload instea
d. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/NewArrayExpression.cs(172): AOT analysis warning I
L3050: System.Linq.Expressions.Expression.NewArrayInit(Type,IEnumerable`1<Expression>): Using member 'System.Type.MakeA
rrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array
of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/NewArrayExpression.cs(228): AOT analysis warning I
L3050: System.Linq.Expressions.Expression.NewArrayBounds(Type,IEnumerable`1<Expression>): Using member 'System.Type.Mak
eArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an arra
y of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/NewArrayExpression.cs(232): AOT analysis warning I
L3050: System.Linq.Expressions.Expression.NewArrayBounds(Type,IEnumerable`1<Expression>): Using member 'System.Type.Mak
eArrayType(Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an
 array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(98): AOT analysis warning IL30
50: System.Runtime.CompilerServices.CallSite.Create(Type,CallSiteBinder): Using member 'System.Type.MakeGenericType(Typ
e[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this ins
tantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3050: System.Text.RegularExpressions.RegexLWCGCompiler.RegexLWCGCompiler(): Using member '
System.Text.RegularExpressions.RegexCompiler.RegexCompiler()' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. Compiling a RegEx requires dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csp
roj]
ILC : AOT analysis warning IL3052: System.Management.WbemContext.WbemContext(): COM interop is not supported with full
ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[System.Management]System.Management.WbemContext..ctor()' will always throw because: Invalid IL or CLR m
  etadata in 'Void System.Management.WbemContext..ctor()'
ILC : AOT analysis warning IL3052: System.Management.WbemObjectTextSrc.WbemObjectTextSrc(): COM interop is not supporte
d with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[System.Management]System.Management.WbemObjectTextSrc..ctor()' will always throw because: Invalid IL or
   CLR metadata in 'Void System.Management.WbemObjectTextSrc..ctor()'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2CreateCoreWebView2EnvironmentComple
  tedHandlerProxy.Invoke(native int,int32,native int)' will always throw because: Failed to load assembly 'Microsoft.We
  b.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2WebResourceRequestedEventHandlerPro
  xy.Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebVie
  w2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ProcessFailedEventHandlerProxy.Invo
  ke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core
  '
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2AcceleratorKeyPressedEventHandlerPr
  oxy.Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebVi
  ew2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ContentLoadingEventHandlerProxy.Inv
  oke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Cor
  e'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2MoveFocusRequestedEventHandlerProxy
  .Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2
  .Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2WebMessageReceivedEventHandlerProxy
  .Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2
  .Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelper2Proxy.SetAs
  yncMethodContinuation(native int,Variant*,native int,int32,Variant*,native int)' will always throw because: Failed to
   load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2SourceChangedEventHandlerProxy.Invo
  ke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core
  '
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelper2Proxy.IsAsy
  ncMethod(native int,Variant*,native int,int32,int32*)' will always throw because: Failed to load assembly 'Microsoft.
  Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NavigationStartingEventHandlerProxy
  .Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2
  .Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NavigationCompletedEventHandlerProx
  y.Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView
  2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelperProxy.IsMeth
  odMember(native int,Variant*,native int,int32*)' will always throw because: Failed to load assembly 'Microsoft.Web.We
  bView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ZoomFactorChangedEventHandlerProxy.
  Invoke(native int,native int,Variant*)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Co
  re'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2CreateCoreWebView2ControllerComplet
  edHandlerProxy.Invoke(native int,int32,native int)' will always throw because: Failed to load assembly 'Microsoft.Web
  .WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.WebView2ComWrapper.CreateObject(native int,CreateObjectF
  lags)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptions2Proxy.set_Exclus
  iveUserDataFolderAccess(native int,int32)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2
  .Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2AddScriptToExecuteOnDocumentCreated
  CompletedHandlerProxy.Invoke(native int,int32,native int)' will always throw because: Failed to load assembly 'Micros
  oft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptions2Proxy.get_Exclus
  iveUserDataFolderAccess(native int,int32*)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView
  2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NewWindowRequestedEventHandlerProxy
  .Invoke(native int,native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2
  .Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.WebView2ComWrapper.ComputeVtables(object,CreateComInterf
  aceFlags,int32&)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_AllowSi
  ngleSignOnUsingOSPrimaryAccount(native int,int32)' will always throw because: Failed to load assembly 'Microsoft.Web.
  WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_AllowSi
  ngleSignOnUsingOSPrimaryAccount(native int,int32*)' will always throw because: Failed to load assembly 'Microsoft.Web
  .WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_TargetC
  ompatibleBrowserVersion(native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.Web
  View2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_TargetC
  ompatibleBrowserVersion(native int,native int*)' will always throw because: Failed to load assembly 'Microsoft.Web.We
  bView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_Languag
  e(native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_Languag
  e(native int,native int*)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_Additio
  nalBrowserArguments(native int,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView
  2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_Additio
  nalBrowserArguments(native int,native int*)' will always throw because: Failed to load assembly 'Microsoft.Web.WebVie
  w2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.MarshalSupport.GetIUnknownForObject(object)' will always
   throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/LambdaExpression.cs(628): AOT analysis warning IL3
050: System.Linq.Expressions.Expression.CreateLambda(Type,Expression,String,Boolean,ReadOnlyCollection`1<ParameterExpre
ssion>): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break function
ality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_pro
ject\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(114): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(115): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(116): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(117): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(118): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(119): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(120): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(121): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.TryMakeVBStyledCallSite(Type[]): Using member '
System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compilin
g. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(235): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(237): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(239): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(241): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(243): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(245): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(247): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(249): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(251): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(253): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(255): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(257): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(259): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(261): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(263): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(265): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetActionType(Type[]): Using member 'System.Typ
e.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nat
ive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspro
j]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(188): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(190): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(192): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(194): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(196): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(198): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(200): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(202): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(204): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(206): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(208): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(210): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(212): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(214): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(216): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(218): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Compiler/DelegateHelpers.Generated.cs(220): AOT an
alysis warning IL3050: System.Linq.Expressions.Compiler.DelegateHelpers.GetFuncType(Type[]): Using member 'System.Type.
MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The nativ
e code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
ILC : AOT analysis warning IL3052: System.Management.WbemStatusCodeText.WbemStatusCodeText(): COM interop is not suppor
ted with full ahead of time compilation. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[System.Management]System.Management.WbemStatusCodeText..ctor()' will always throw because: Invalid IL o
  r CLR metadata in 'Void System.Management.WbemStatusCodeText..ctor()'
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/BinaryExpression.cs(2239): AOT analysis warning IL
3050: System.Linq.Expressions.Expression.GetResultTypeOfShift(Type,Type): Using member 'System.Type.MakeGenericType(Typ
e[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this ins
tantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Dynamic/Utils/TypeUtils.cs(28): AOT analysis warning IL3050: System
.Dynamic.Utils.TypeUtils.GetNullableType(Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresD
ynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be av
ailable at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyEntry..ctor()'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will alway
  s throw because: Invalid IL or CLR metadata in 'Void PropertyValue..ctor()'
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(384): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(402): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(441): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(493): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(500): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(529): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(529): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(581): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(594): AOT analysis warning IL3
050: System.Runtime.CompilerServices.CallSite`1.CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection
.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/SymbolTable.cs(701): AOT analysis warning IL3050:
Microsoft.CSharp.RuntimeBinder.SymbolTable.ProcessSpecialTypeInChain(NamespaceOrAggregateSymbol,Type): Using member 'Sy
stem.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The cod
e for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/DataTypeImplementation.cs(1117): AOT analysis warning IL3050:
 System.Xml.Schema.Datatype_List.TryParseValue(String,XmlNameTable,IXmlNamespaceResolver,Object&): Using member 'System
.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.
csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/DataTypeImplementation.cs(1129): AOT analysis warning IL3050:
 System.Xml.Schema.Datatype_List.TryParseValue(String,XmlNameTable,IXmlNamespaceResolver,Object&): Using member 'System
.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.
csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/CodeGenerator.cs(1254): AOT analysis warning IL3050: S
ystem.Xml.Serialization.CodeGenerator.CreateAssemblyBuilder(String): Using member 'System.Reflection.Emit.AssemblyBuild
er.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. Defining a dynamic assembly requires dynamic code. [D:\dev\company_project\IPRedirect1\IPRe
direct.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ArrayOperations.cs(23): AOT analysis w
arning IL3050: System.Linq.Expressions.Interpreter.NewArrayInitInstruction.Run(InterpretedFrame): Using member 'System.
Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling.
The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.cspr
oj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ArrayOperations.cs(52): AOT analysis w
arning IL3050: System.Linq.Expressions.Interpreter.NewArrayInstruction.Run(InterpretedFrame): Using member 'System.Arra
y.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ArrayOperations.cs(87): AOT analysis w
arning IL3050: System.Linq.Expressions.Interpreter.NewArrayBoundsInstruction.Run(InterpretedFrame): Using member 'Syste
m.Array.CreateInstance(Type,Int32[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.
csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/NullableType.cs(51): AOT analysis
warning IL3050: Microsoft.CSharp.RuntimeBinder.Semantics.NullableType.AssociatedSystemType.get: Using member 'System.Ty
pe.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The na
tive code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cspr
oj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/ArrayType.cs(55): AOT analysis war
ning IL3050: Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType.AssociatedSystemType.get: Using member 'System.Type.Mak
eArrayType(Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an
 array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/ArrayType.cs(55): AOT analysis war
ning IL3050: Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType.AssociatedSystemType.get: Using member 'System.Type.Mak
eArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an arra
y of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(92): AOT analysis warning IL3050: System.Xm
l.Xsl.IlGen.XmlILModule.XmlILModule(Boolean,Boolean): Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynami
cAssembly(AssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AO
T compiling. Defining a dynamic assembly requires dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(169): AOT analysis warning IL3050: System.X
ml.Xsl.IlGen.XmlILModule.DefineMethod(String,Type,Type[],String[],XmlILMethodAttributes): Using member 'System.Reflecti
on.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Module)' which has 'RequiresDynamicCodeAttribute' can break func
tionality when AOT compiling. Creating a DynamicMethod requires dynamic code. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/ContentValidator.cs(1509): AOT analysis warning IL3050: Syste
m.Xml.Schema.ParticleContentValidator.BuildTransitionTable(BitSet,BitSet[],Int32): Using member 'System.Collections.Arr
ayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for
 an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1346): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.EnsureArrayIndex(Array,Int32,Type): Using member 'System.Array.
CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The co
de for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1348): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.EnsureArrayIndex(Array,Int32,Type): Using member 'System.Array.
CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The co
de for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1358): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.ShrinkArray(Array,Int32,Type,Boolean): Using member 'System.Arr
ay.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
 code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1361): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.ShrinkArray(Array,Int32,Type,Boolean): Using member 'System.Arr
ay.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
 code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1644): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.ReadArray(String,String): Using member 'System.Type.MakeArrayTy
pe()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the
 specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1650): AOT analysis warning
IL3050: System.Xml.Serialization.XmlSerializationReader.ReadArray(String,String): Using member 'System.Array.CreateInst
ance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an
array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriter.cs(91): AOT analysis warning IL
3050: System.Xml.Serialization.XmlSerializationWriter.Namespaces.set: Using member 'System.Collections.ArrayList.ToArra
y(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of
the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/NameTable.cs(99): AOT analysis warning IL3050: System.
Xml.Serialization.NameTable.ToArray(Type): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDy
namicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not b
e available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(576): AOT analysis
 warning IL3050: System.Xml.Serialization.ReflectionXmlSerializationReader.SetCollectionObjectWithCollectionMember(Obje
ct&,CollectionMember,Type): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttrib
ute' can break functionality when AOT compiling. The code for an array of the specified type might not be available. [D
:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/XmlValueConverter.cs(275): AOT analysis warning IL3050: Syste
m.Xml.Schema.XmlBaseConverter.XmlBaseConverter(XmlBaseConverter): Using member 'System.Array.CreateInstance(Type,Int32)
' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the spe
cified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Types/AggregateType.cs(332): AOT analysi
s warning IL3050: Microsoft.CSharp.RuntimeBinder.Semantics.AggregateType.CalculateAssociatedSystemType(): Using member
'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compili
ng. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRed
irect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(39): AOT analysis warning IL3050: System.Xm
l.Xsl.IlGen.XmlILModule.CreateLREModule(): Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(A
ssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling
. Defining a dynamic assembly requires dynamic code. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(110): AOT analysis warning IL3050: Syste
m.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorageMethods(Type): Using member 'System.Type.MakeGenericType(Type[])' which
 has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation
might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(123): AOT analysis warning IL3050: Syste
m.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorageMethods(Type): Using member 'System.Type.MakeGenericType(Type[])' which
 has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation
might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(126): AOT analysis warning IL3050: Syste
m.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorageMethods(Type): Using member 'System.Type.MakeGenericType(Type[])' which
 has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation
might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(1974): AOT analysi
s warning IL3050: System.Xml.Serialization.ReflectionXmlSerializationReader.WriteAttribute(Member,Object): Using member
 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT co
mpiling. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedi
rect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlReflectionImporter.cs(1948): AOT analysis warning I
L3050: System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping,FieldModel,XmlAttributes,Stri
ng,Type,Boolean,Boolean,RecursionLimiter): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'Require
sDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might no
t be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2577): AOT analysis war
ning IL3050: System.Xml.Serialization.ReflectionAwareILGen.WriteArrayLocalDecl(String,String,SourceInfo,TypeDesc): Usin
g member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compil
ing. The code for an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect
.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(1514): AOT analysis war
ning IL3050: System.Xml.Serialization.XmlSerializationWriterILGen.WriteArrayItems(ElementAccessor[],TextAccessor,Choice
IdentifierAccessor,TypeDesc,String,String): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynam
icCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be availa
ble at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReaderILGen.cs(2687): AOT analysis war
ning IL3050: System.Xml.Serialization.XmlSerializationReaderILGen.WriteMemberEnd(Member[],Boolean): Using member 'Syste
m.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code f
or an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReaderILGen.cs(2688): AOT analysis war
ning IL3050: System.Xml.Serialization.XmlSerializationReaderILGen.WriteMemberEnd(Member[],Boolean): Using member 'Syste
m.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code f
or an array of the specified type might not be available. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/CodeGenerator.cs(438): AOT analysis warning IL3050: Sy
stem.Xml.Serialization.CodeGenerator.StackallocSpan(Type,Int32): Using member 'System.Type.MakeGenericType(Type[])' whi
ch has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiatio
n might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/VariantArray.cs(93): AOT analysis warni
ng IL3050: Microsoft.CSharp.RuntimeBinder.ComInterop.VariantArray.GetStructType(Int32): Using member 'System.Type.MakeG
enericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native cod
e for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/MethodCallExpression.cs(1379): AOT analysis warnin
g IL3050: System.Linq.Expressions.Expression.ApplyTypeArgs(MethodInfo,Type[]): Using member 'System.Reflection.MethodIn
fo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The
native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.cs
proj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Tree/MethodInfo.cs(85): AOT analysis war
ning IL3050: Microsoft.CSharp.RuntimeBinder.Semantics.ExprMethodInfo.MethodInfo.get: Using member 'System.Reflection.Me
thodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling
. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedir
ect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(654): AOT analysis
 warning IL3050: System.Xml.Serialization.ReflectionXmlSerializationReader.GetSetMemberValueDelegate(Object,String): Us
ing member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break
functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\com
pany_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2456): AOT analysis war
ning IL3050: System.Xml.Serialization.ReflectionAwareILGen.ILGenForCreateInstance(CodeGenerator,Type,Type,Boolean): Usi
ng member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when A
OT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2458): AOT analysis war
ning IL3050: System.Xml.Serialization.ReflectionAwareILGen.ILGenForCreateInstance(CodeGenerator,Type,Type,Boolean): Usi
ng member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when A
OT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\company_project\IPRedir
ect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/IteratorDescriptor.cs(592): AOT analysis warning IL3050: S
ystem.Xml.Xsl.IlGen.IteratorDescriptor.EnsureLocal(String): Using member 'System.Type.MakeGenericType(Type[])' which ha
s 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation mig
ht not be available at runtime. [D:\dev\company_project\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/ComInterop/ComRuntimeHelpers.cs(363): AOT analysis
 warning IL3050: Microsoft.CSharp.RuntimeBinder.ComInterop.UnsafeMethods.DynamicModule.get: Using member 'System.Reflec
tion.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttr
ibute' can break functionality when AOT compiling. Defining a dynamic assembly requires dynamic code. [D:\dev\company_p
roject\IPRedirect1\IPRedirect.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(2031): AOT analysi
s warning IL3050: System.Xml.Serialization.ReflectionXmlSerializationReader.AddItemInArrayMember(Object,MemberInfo,Type
,Object): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break fun
ctionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\company_proj
ect\IPRedirect1\IPRedirect.csproj]

@NCLnclNCL
Copy link

i think you should using net7 newest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants