{"action":"opened","issue":{"url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/156","repository_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet","labels_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/156/comments","events_url":"https://api.github.com/repos/PerfDotNet/BenchmarkDotNet/issues/156/events","html_url":"https://github.com/PerfDotNet/BenchmarkDotNet/issues/156","id":152950299,"number":156,"title":"Cleanup benchmark folders","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T07:58:28Z","updated_at":"2016-05-04T07:58:28Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm running version 0.9.5 in an xproj and whenever I run the tests there are folders created for each benchmark in the solution. This doesn't get cleaned up and becomes an issue for my source control. Oddly at the same level as my benchmark test project.\r\n\r\n\r\n![benchmark](https://cloud.githubusercontent.com/assets/385879/15008136/7628c936-1221-11e6-9b82-b98c53e091db.png)\r\n\r\nIs there a way to configure where these tests are created or a way to automatically cleanup afterward?\r\n\r\nI'm initialising the tests as follows. (Taken from your samples)\r\n\r\n```\r\n//Use reflection for a more maintainable way of creating the benchmark switcher,\r\nType[] benchmarks = typeof(Program).Assembly.GetTypes()\r\n    .Where(t => t.GetMethods(BindingFlags.Instance | BindingFlags.Public)\r\n                    .Any(m => m.GetCustomAttributes(typeof(BenchmarkAttribute), false).Any()))\r\n    .OrderBy(t => t.Namespace)\r\n    .ThenBy(t => t.Name)\r\n    .ToArray();\r\n\r\nBenchmarkSwitcher benchmarkSwitcher = new BenchmarkSwitcher(benchmarks);\r\nbenchmarkSwitcher.Run(args);\r\n```\r\n\r\nMany thanks!"}}