{"action":"opened","issue":{"url":"https://api.github.com/repos/yck1509/ConfuserEx/issues/393","labels_url":"https://api.github.com/repos/yck1509/ConfuserEx/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/yck1509/ConfuserEx/issues/393/comments","events_url":"https://api.github.com/repos/yck1509/ConfuserEx/issues/393/events","html_url":"https://github.com/yck1509/ConfuserEx/issues/393","id":122568056,"number":393,"title":"Trying to exclude certain methods from protection","user":{"login":"dspwhite","id":12847066,"avatar_url":"https://avatars.githubusercontent.com/u/12847066?v=3","gravatar_id":"","url":"https://api.github.com/users/dspwhite","html_url":"https://github.com/dspwhite","followers_url":"https://api.github.com/users/dspwhite/followers","following_url":"https://api.github.com/users/dspwhite/following{/other_user}","gists_url":"https://api.github.com/users/dspwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/dspwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dspwhite/subscriptions","organizations_url":"https://api.github.com/users/dspwhite/orgs","repos_url":"https://api.github.com/users/dspwhite/repos","events_url":"https://api.github.com/users/dspwhite/events{/privacy}","received_events_url":"https://api.github.com/users/dspwhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T18:05:41Z","updated_at":"2015-12-16T18:05:41Z","closed_at":null,"body":"From my C# project, I want to allow control flow obfuscation for all of it, except a single method or class. I am unable to do this.\r\n\r\n------------- First attempt\r\nI tried adding the following line above my Form partial class:\r\n`[Obfuscation(Exclude = true, Feature = \"ctrl flow\")]`\r\n\r\n...and even this line above the namespace in that same file:\r\n`[assembly: Obfuscation(Exclude = true, Feature = \"ctrl flow\")]`\r\n\r\nThen from the ConfuserEx 0.6 GUI, I saved a project with \"Control Flow protection\" added (with Preset: None). Then from the CLI, I executed:\r\n\r\n`Confuser.CLI.exe R:\\.crproj`\r\n\r\nUnfortunately, the exe was still control flow protected, evident by the slow running of the method/class which is supposed to exclude control flow protection.\r\n\r\n-------------- Second attempt\r\nThen I tried:\r\n`Confuser.CLI.exe -o=\"R:\\output\" myprog.exe my.dll`\r\n\r\nIn this situation, because I'm not using a crproj file, I am unable to get any protection added at all. I tried this to no avail (-ID is not a valid CLI parameter by the looks of it):\r\n`Confuser.CLI.exe -o=\"R:\\output\" myprog.exe my.dll` -ID=\"ctrl flow\"\r\n\r\nWhat am I missing?"}}