dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.42k stars 200 forks source link

ILC Difference between Nuget version and locally built #1140

Closed kant2002 closed 3 years ago

kant2002 commented 3 years ago

I have strange issue. Because I have a habit mixing my nuget cache I will try to cancel-out that possibility.

When I compile WinForms application using Nuget version, application complain about unsupported marshalling. When I compile same application using same file with ILC built locally it works.

Not working command line "...cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\tools\ilc" @"obj\x64\Debug\net6.0-windows\win-x64\native\WindowsFormsApp1.ilc.rsp" then link

content of obj\x64\Debug\net6.0-windows\win-x64\native\WindowsFormsApp1.ilc.rsp

obj\x64\Debug\net6.0-windows\win-x64\WindowsFormsApp1.dll
-o:obj\x64\Debug\net6.0-windows\win-x64\native\WindowsFormsApp1.obj
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Accessibility.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\DirectWriteForwarder.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.VisualBasic.Forms.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.Win32.Registry.AccessControl.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.Win32.SystemEvents.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationCore.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemCore.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemData.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemDrawing.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemXml.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemXmlLinq.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Aero.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Aero2.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.AeroLite.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Classic.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Luna.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Royale.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationUI.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\ReachFramework.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.CodeDom.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Configuration.ConfigurationManager.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Design.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.EventLog.Messages.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.EventLog.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.PerformanceCounter.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.DirectoryServices.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Drawing.Common.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Drawing.Design.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.IO.Packaging.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Printing.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Resources.Extensions.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.Pkcs.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.ProtectedData.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.Xml.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Permissions.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Threading.AccessControl.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Controls.Ribbon.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Extensions.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Design.Editors.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Design.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Primitives.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Input.Manipulations.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Presentation.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Xaml.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationClient.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationClientSideProviders.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationProvider.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationTypes.dll
-r:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\WindowsFormsIntegration.dll
-r:D:\d\kant\GitHub\CoreRTWinFormsTestBed\WinFormsComInterop\bin\x64\Debug\net6.0\win-x64\WinFormsComInterop.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\Microsoft.CSharp.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\Microsoft.VisualBasic.Core.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\Microsoft.VisualBasic.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\Microsoft.Win32.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\Microsoft.Win32.Registry.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\mscorlib.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\netstandard.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.AppContext.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Buffers.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Collections.Concurrent.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Collections.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Collections.Immutable.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Collections.NonGeneric.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Collections.Specialized.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.Annotations.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.DataAnnotations.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.EventBasedAsync.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ComponentModel.TypeConverter.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Configuration.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Console.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Core.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Data.Common.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Data.DataSetExtensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Data.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.Contracts.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.Debug.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.DiagnosticSource.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.FileVersionInfo.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.Process.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.StackTrace.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.TextWriterTraceListener.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.Tools.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.TraceSource.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Diagnostics.Tracing.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Drawing.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Drawing.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Dynamic.Runtime.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Formats.Asn1.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Globalization.Calendars.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Globalization.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Globalization.Extensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Compression.Brotli.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Compression.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Compression.FileSystem.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Compression.ZipFile.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.FileSystem.AccessControl.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.FileSystem.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.FileSystem.DriveInfo.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.FileSystem.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.FileSystem.Watcher.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.IsolatedStorage.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.MemoryMappedFiles.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Pipes.AccessControl.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.Pipes.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.IO.UnmanagedMemoryStream.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Linq.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Linq.Expressions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Linq.Parallel.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Linq.Queryable.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Memory.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Http.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Http.Json.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.HttpListener.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Mail.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.NameResolution.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.NetworkInformation.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Ping.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Quic.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Requests.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Security.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.ServicePoint.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.Sockets.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.WebClient.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.WebHeaderCollection.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.WebProxy.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.WebSockets.Client.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Net.WebSockets.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Numerics.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Numerics.Vectors.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ObjectModel.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Private.DataContractSerialization.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Private.DeveloperExperience.Console.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Private.Uri.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Private.Xml.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Private.Xml.Linq.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.DispatchProxy.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Emit.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Emit.ILGeneration.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Emit.Lightweight.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Extensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Metadata.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Reflection.TypeExtensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Resources.Reader.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Resources.ResourceManager.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Resources.Writer.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.CompilerServices.Unsafe.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.CompilerServices.VisualC.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Extensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Handles.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.InteropServices.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.InteropServices.RuntimeInformation.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Intrinsics.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Loader.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Numerics.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Serialization.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Serialization.Formatters.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Serialization.Json.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Serialization.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Runtime.Serialization.Xml.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.AccessControl.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Claims.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.Algorithms.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.Cng.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.Csp.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.Encoding.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.OpenSsl.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.Primitives.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Cryptography.X509Certificates.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Principal.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.Principal.Windows.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Security.SecureString.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ServiceModel.Web.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ServiceProcess.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.Encoding.CodePages.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.Encoding.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.Encoding.Extensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.Encodings.Web.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.Json.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Text.RegularExpressions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Channels.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Overlapped.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Tasks.Dataflow.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Tasks.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Tasks.Extensions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Tasks.Parallel.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Thread.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.ThreadPool.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Threading.Timer.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Transactions.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Transactions.Local.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.ValueTuple.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Web.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Web.HttpUtility.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Windows.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.Linq.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.ReaderWriter.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.Serialization.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.XDocument.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.XmlDocument.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.XmlSerializer.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.XPath.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\System.Xml.XPath.XDocument.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\framework\WindowsBase.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.CoreLib.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.DisabledReflection.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.Interop.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.Reflection.Core.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.Reflection.Execution.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.Reflection.Metadata.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.StackTraceMetadata.dll
-r:cache\nuget\packages\runtime.win-x64.microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\sdk\System.Private.TypeLoader.dll
--targetarch:x64
-g
--initassembly:System.Private.CoreLib
--initassembly:System.Private.StackTraceMetadata
--initassembly:System.Private.TypeLoader
--initassembly:System.Private.Reflection.Execution
--initassembly:System.Private.Interop
--initassembly:System.Private.DeveloperExperience.Console
--appcontextswitch:Switch.System.Reflection.Assembly.SimulatedLocationInBaseDirectory
--directpinvoke:System.IO.Compression.Native
--directpinvokelist:cache\nuget\packages\microsoft.dotnet.ilcompiler\6.0.0-preview.5.21268.1\build\WindowsAPIs.txt
--feature:System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=false
--scanreflection
--methodbodyfolding
--nowarn:"1701;1702;IL2026;1701;1702;IL2041;IL2042;IL2043;IL2056;IL2045;IL2046;IL2050;IL2032;IL2055;IL2057;IL2058;IL2059;IL2060;IL2061;IL2096;IL2062;IL2063;IL2064;IL2065;IL2066;IL2067;IL2068;IL2069;IL2070;IL2071;IL2072;IL2073;IL2074;IL2075;IL2076;IL2077;IL2078;IL2079;IL2080;IL2081;IL2082;IL2083;IL2084;IL2085;IL2086;IL2087;IL2088;IL2089;IL2090;IL2091;IL2092;IL2093;IL2094;IL2095;IL2097;IL2098;IL2099"
--singlewarn
--root:obj\x64\Debug\net6.0-windows\win-x64\WindowsFormsApp1.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Accessibility.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\DirectWriteForwarder.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.VisualBasic.Forms.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.Win32.Registry.AccessControl.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\Microsoft.Win32.SystemEvents.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationCore.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemCore.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemData.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemDrawing.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemXml.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework-SystemXmlLinq.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Aero.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Aero2.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.AeroLite.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Classic.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Luna.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.Royale.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationFramework.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\PresentationUI.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\ReachFramework.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.CodeDom.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Configuration.ConfigurationManager.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Design.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.EventLog.Messages.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.EventLog.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Diagnostics.PerformanceCounter.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.DirectoryServices.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Drawing.Common.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Drawing.Design.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.IO.Packaging.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Printing.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Resources.Extensions.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.Pkcs.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.ProtectedData.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Cryptography.Xml.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Security.Permissions.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Threading.AccessControl.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Controls.Ribbon.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Extensions.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Design.Editors.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Design.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.Primitives.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Forms.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Input.Manipulations.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Windows.Presentation.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\System.Xaml.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationClient.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationClientSideProviders.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationProvider.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\UIAutomationTypes.dll
--conditionalroot:cache\nuget\packages\microsoft.windowsdesktop.app.runtime.win-x64\6.0.0-preview.4.21223.2\runtimes\win-x64\lib\net6.0\WindowsFormsIntegration.dll
--conditionalroot:GitHub\CoreRTWinFormsTestBed\WinFormsComInterop\bin\x64\Debug\net6.0\win-x64\WinFormsComInterop.dll
--conditionalroot:obj\x64\Debug\net6.0-windows\win-x64\WindowsFormsApp1.dll
--nosinglewarnassembly:WinFormsComInterop
--nosinglewarnassembly:WindowsFormsApp1
--feature:System.Runtime.Serialization.DataContractSerializer.IsReflectionOnly=true
--feature:System.Xml.Serialization.XmlSerializer.IsReflectionOnly=true
jkotas commented 3 years ago

What is the exact error that you see?

kant2002 commented 3 years ago

image

jkotas commented 3 years ago

What is the commit that you are building locally? In particular, make sure that you have #1115 locally.

kant2002 commented 3 years ago

I'm running from 7fb90f46a243b27cfa7cecc98021f81288c4eb4c so probbaly that's it. Aarh. My apologies for trivial stuff. This commit likely broke that for me. Checking now.

On side note, what should I do to fix that? additional marshalling for VARIANT? or something else?

MichalStrehovsky commented 3 years ago

This commit likely broke that for me

This commit likely broke that for me prevented the bad marshalling :).

Yes, this looks like variant marshalling. Hopefully we will only need for marshalling strings (BSTR) and integral types. The IDispatch case looks hairy.

kant2002 commented 3 years ago