-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
RuntimeLicenseContext.GetSavedLicenseKey throws exception for dynamic assemblies #51924
Comments
Tagging subscribers to this area: @safern Issue DetailsDescriptionLines 80 to 83 in 1c9e200
In the However runtime/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs Line 105 in 1c9e200
Configuration.NET 5.0
|
@jkotas, @vitek-karas is this expected? It seems like this was changed on: b19d798 and on the PR review this is what was suggested to be done. |
We can either revert offending bit in the PR, or change the AssemblyBuilder |
Sounds good. It seems like this regressed 3.1 -> 5.0 on |
Tagging subscribers to this area: @vitek-karas, @agocke, @CoffeeFlux, @VSadov Issue DetailsDescriptionLines 80 to 83 in 1c9e200
In the However runtime/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs Line 105 in 1c9e200
Configuration.NET 5.0
|
Moving to System.Reflection.Emit to change the |
Hi, I made a PR for this issue #57396 |
Thanks to @pedrobsaila #57396 is merged and should fix the underlying issue in AssemblyBuilder. Could you please validate that the issue is fixed (in a couple of days one the fix makes it into the nightly build). |
This issue has been marked |
Seems to work now! |
Description
runtime/src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/DesigntimeLicenseContext.cs
Lines 80 to 83 in 1c9e200
In the
System.ComponentModel.Design.RuntimeLicenseContext
the following lines state thatLocation
returns null for in memory loaded assemblies.However
System.Reflection.Emit.InternalAssemblyBuilder
throws an exception whenLocation
is accessed:runtime/src/coreclr/System.Private.CoreLib/src/System/Reflection/Emit/AssemblyBuilder.cs
Line 105 in 1c9e200
Configuration
.NET 5.0
Windows x86
The text was updated successfully, but these errors were encountered: