You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GetCustomAttributes fails to retrieve CmdletAttribute with ConfirmImpact property #1252
changed the title [-]ConfirmAttribute seems to be missing from Cmdlet class[/-][+]GetCustomAttributes fails to retrieve CmdletAttribute with ConfirmImpact property[/+]on Jul 6, 2016
This was caused by a bug in AssemblyLoadContext -- dynamic assemblies are not correctly associated with the right load context. This has been fixed in the .NET Core preview packages for Nov. release (1.1.0).
Activity
vors commentedon Jul 6, 2016
Dongbo Wang (@daxian-dbw) Andy Jordan (@andschwa) hey guys, I verified that this regression was introduced in #1235
Build for bd21c84
is https://ci.appveyor.com/project/PowerShell/powershell/build/0.5.0.2775/artifacts
Doesn't repro
Build for ef32e23 is https://ci.appveyor.com/project/PowerShell/powershell/build/0.5.0.2789/artifacts
Repros
[-]ConfirmAttribute seems to be missing from Cmdlet class[/-][+]GetCustomAttributes fails to retrieve CmdletAttribute with ConfirmImpact property[/+]daxian-dbw commentedon Jul 14, 2016
This issue has something to do with the new ALC model. I have brought up this to CoreCLR team.
daxian-dbw commentedon Jul 29, 2016
This is a reflection bug in CoreCLR. It has been reported to CoreCLR team.
daxian-dbw commentedon Aug 3, 2016
SandeepSutari I think we need to move this issue to future. This is a reflection bug in CoreCLR and it won't be fixed in the near future.
daxian-dbw commentedon Oct 14, 2016
Fixed via PR #2472
This was caused by a bug in
AssemblyLoadContext-- dynamic assemblies are not correctly associated with the right load context. This has been fixed in the .NET Core preview packages for Nov. release (1.1.0).Now it works fine: