-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Failed to define security permission set for 0x20000001 #19
Comments
nice
only with ? and what IL Assembler from your settings ? anyway, can you check with both type ? Thanks, |
Well, this is new.
I have used Direct-Mod... |
This only when you build with administrator privileges ?
My question about IL Assembler ! 1.5+ now provides also my modified version of coreclr /ILAsm [?] Look here: #17
<DllExportOurILAsm>true</DllExportOurILAsm> So, what coreclr version for this problem ? |
unfortunately I can't reproduce your problem on I need details - how to reproduce your problem ? You can also attach the build log and project file. But first, use diagnostic verbosity: For VS IDE:
For msbuild.exe:
|
|
Did I understand correctly that you have send me your build log with diagnostic verbosity ( if it's possible ). I will check the Costura.Fody later see also bug for Fody/ModuleInit - issue #17 |
@3F
<Costura.Fody + DllExportOurILAsm = true> ==> Failed to define security permission set for 0x20000001 <Costura.Fody + DllExportOurILAsm = false> ==> error : Undeclared identifier IL_0098
OR(when i delete part of AppDomain.AssemblyResolve Event)
Part of building log <Costura.Fody + DllExportOurILAsm = true> ==> Failed to define security permission set for 0x20000001 1> Deleting unused reference to DllExport. (TaskId:63) Example: |
Thanks for details ! Now it reproduced for me when I use the SecurityPermission.
0x02000004 For something like this: [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand)]
internal class ClassA
{ } your 0x20000001 For something like this: [assembly: SecurityPermission(SecurityAction.RequestMinimum)] So, our bug from Assembler::EmitSecurityInfo but mainly, the open ilasm on CoreCLR has a lot of restrictions :( like this, or this. |
Can't build the program any more, it fails because of this error:
I'm running VS2015 with administrator privileges, and I've just upgraded DllExport to v1.5.
The text was updated successfully, but these errors were encountered: