{"action":"created","issue":{"url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/21","repository_url":"https://api.github.com/repos/DanielHWe/sonar-fxcop","labels_url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/21/comments","events_url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/21/events","html_url":"https://github.com/DanielHWe/sonar-fxcop/issues/21","id":366537243,"node_id":"MDU6SXNzdWUzNjY1MzcyNDM=","number":21,"title":"Does not find assemblies at specific solution output directory","user":{"login":"rs200x","id":39993567,"node_id":"MDQ6VXNlcjM5OTkzNTY3","avatar_url":"https://avatars1.githubusercontent.com/u/39993567?v=4","gravatar_id":"","url":"https://api.github.com/users/rs200x","html_url":"https://github.com/rs200x","followers_url":"https://api.github.com/users/rs200x/followers","following_url":"https://api.github.com/users/rs200x/following{/other_user}","gists_url":"https://api.github.com/users/rs200x/gists{/gist_id}","starred_url":"https://api.github.com/users/rs200x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs200x/subscriptions","organizations_url":"https://api.github.com/users/rs200x/orgs","repos_url":"https://api.github.com/users/rs200x/repos","events_url":"https://api.github.com/users/rs200x/events{/privacy}","received_events_url":"https://api.github.com/users/rs200x/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-03T21:29:44Z","updated_at":"2018-10-28T10:01:10Z","closed_at":"2018-10-24T06:40:51Z","author_association":"NONE","body":"I've configured my solution to build with a specific output directory instead of using the projects /bin/[Configuration] path. \r\n\r\nBut even if I set the parameters, FxCop is trying to find the files at the default path.\r\n\r\nI'm starting the analysis with this:\r\n\r\n`##[debug]/d:sonar.cs.vstest.reportsPaths=\"D:\\TfsAgent\\_work\\6\\TestResults\\*.trx\" /d:sonar.cs.vscoveragexml.reportsPaths=\"**\\*.coveragexml\" /d:sonar.branch.name=\"master\" /d:sonar.cs.fxcop.slnFile=\"D:\\TfsAgent\\_work\\6\\s\\Seas.sln\" /d:sonar.dotnet.visualstudio.solution.file=\"D:\\TfsAgent\\_work\\6\\s\\Seas.sln\" /d:sonar.cs.fxcop.directory=\"D:\\TfsAgent\\_work\\6\\s\\Output\\Debug\"`\r\n\r\nAdditionally sonar.cs.fxcop.slnFile is also defined within SQ to \"s\\Seas.sln\"\r\n\r\nIn the log I get the following errors:\r\n```\r\n2018-10-03T21:25:13.2831382Z INFO: Work Dir: D\\TfsAgent\\_work\\6\\.sonarqube\\out\\.sonar\\seas_sq_seas_sq_ABDFDC60-4574-49F8-B96C-A0C14FFFC004\r\n \r\n2018-10-03T21:25:13.2831382Z INFO: FxCop start create FxCop configuration for 'D:\\TfsAgent\\_work\\6\\s\\Seas.sln'\r\n \r\n2018-10-03T21:25:13.2831382Z ##[error]ERROR: Servus.Common.dll was not found in any output directory (D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\Debug, D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\Release, D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\DebugCodeAnalysis), please build project before scan.\r\n \r\n2018-10-03T21:25:13.2831382Z INFO: D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\Debug\\Servus.Common.dll\r\n \r\n2018-10-03T21:25:13.2831382Z INFO: D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\Release\\Servus.Common.dll\r\n \r\n2018-10-03T21:25:13.2831382Z INFO: D:\\TfsAgent\\_work\\6\\s\\Common\\src\\Servus.Common\\bin\\DebugCodeAnalysis\\Servus.Common.dll\r\n```\r\nThe all the files reside at` D:\\TfsAgent\\_work\\6\\s\\Output\\Debug\\`\r\nWhat's going wrong here?\r\nWhy is it searching for all configurations?\r\nThe build was started with Debug.\r\n\r\n Did I miss some configuration?"},"comment":{"url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/comments/433691309","html_url":"https://github.com/DanielHWe/sonar-fxcop/issues/21#issuecomment-433691309","issue_url":"https://api.github.com/repos/DanielHWe/sonar-fxcop/issues/21","id":433691309,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY5MTMwOQ==","user":{"login":"rs200x","id":39993567,"node_id":"MDQ6VXNlcjM5OTkzNTY3","avatar_url":"https://avatars1.githubusercontent.com/u/39993567?v=4","gravatar_id":"","url":"https://api.github.com/users/rs200x","html_url":"https://github.com/rs200x","followers_url":"https://api.github.com/users/rs200x/followers","following_url":"https://api.github.com/users/rs200x/following{/other_user}","gists_url":"https://api.github.com/users/rs200x/gists{/gist_id}","starred_url":"https://api.github.com/users/rs200x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs200x/subscriptions","organizations_url":"https://api.github.com/users/rs200x/orgs","repos_url":"https://api.github.com/users/rs200x/repos","events_url":"https://api.github.com/users/rs200x/events{/privacy}","received_events_url":"https://api.github.com/users/rs200x/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T10:01:10Z","updated_at":"2018-10-28T10:01:10Z","author_association":"NONE","body":"I tried to get some data with sonar.verbose=true \r\nUnfortunately I can't pass the -X parameter through via the TFS SonarQube Task.\r\n[sonaranalysis.zip](https://github.com/DanielHWe/sonar-fxcop/files/2522639/sonaranalysis.zip)\r\n"}}
{"actor":{"display_login":"rs200x"}}