This repository has been archived by the owner on Nov 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 511
Does IL compiler support .NET Core 3.0 WinForms? #6359
Labels
Comments
ghost
changed the title
Does CoreRT support .NET Core 3.0?
Does IL compiler support .NET Core 3.0?
Sep 21, 2018
jkotas
changed the title
Does IL compiler support .NET Core 3.0?
Does IL compiler support .NET Core 3.0 WinForms?
Sep 21, 2018
WinForms depends on COM interop. CoreRT does not support COM interop currently. It is tracked by #4219 |
Is there anything new regarding of .net core 3? |
After #7567, very basic WinForms apps will work. One needs to add a Also, add <Directives>
<Application>
<Assembly Name="System.Drawing.Primitives">
<Type Name="System.Drawing.KnownColorTable">
<Method Name="CreateGetter" Dynamic="Required">
<GenericArgument Name="Microsoft.Win32.UserPreferenceChangingEventArgs, System" />
<GenericArgument Name="Microsoft.Win32.UserPreferenceCategory, System" />
</Method>
</Type>
</Assembly>
</Application>
</Directives> This is to make some reflection lightup in System.Drawing to work. More complex WinForms apps are going to hit missing COM support (#4219), so don't get your hopes too high up. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't think it's an appropriate question or issue, but I think some one wondering about it.
To test Windows Forms support for .NET Core 3.0, I created a new Windows Forms project with a 3.0.100-alpha1-009616 daily build. Then, I added the package of CoreRT Daily Build 1.0.0-alpha-26921-02 to the project created and published it to win-x64 RID.
As a result, the publish command now fails with the following stack trace results (Please understand that I am using the Korean Windows locale for messages in Korean):
And for win-x86, which is a different RID, the following error message is displayed:
It is in the above state.
So, I would like to know the cause of the above error. And I want to know if CoreRT's next preview will support .NET Core 3.0.
The text was updated successfully, but these errors were encountered: