{"action":"closed","issue":{"url":"https://api.github.com/repos/pvandervelde/Sherlock/issues/61","labels_url":"https://api.github.com/repos/pvandervelde/Sherlock/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/pvandervelde/Sherlock/issues/61/comments","events_url":"https://api.github.com/repos/pvandervelde/Sherlock/issues/61/events","html_url":"https://github.com/pvandervelde/Sherlock/issues/61","id":68793850,"number":61,"title":"Unable to build projects which have a mixture of target frameworks","user":{"login":"knightpfhor","id":1761735,"avatar_url":"https://avatars.githubusercontent.com/u/1761735?v=3","gravatar_id":"","url":"https://api.github.com/users/knightpfhor","html_url":"https://github.com/knightpfhor","followers_url":"https://api.github.com/users/knightpfhor/followers","following_url":"https://api.github.com/users/knightpfhor/following{/other_user}","gists_url":"https://api.github.com/users/knightpfhor/gists{/gist_id}","starred_url":"https://api.github.com/users/knightpfhor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knightpfhor/subscriptions","organizations_url":"https://api.github.com/users/knightpfhor/orgs","repos_url":"https://api.github.com/users/knightpfhor/repos","events_url":"https://api.github.com/users/knightpfhor/events{/privacy}","received_events_url":"https://api.github.com/users/knightpfhor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-15T21:45:09Z","updated_at":"2015-04-15T21:56:52Z","closed_at":"2015-04-15T21:56:52Z","body":"If you try to build a solution that has a mixture of target frameworks (3.5 and 4.5.1 in my case) there are two problems that occur.  \r\n\r\n1. In the settings.props you can only set one target framework.  This can be worked around if you add a condition that ignore particular projects (or potentially just removed this entry in settings.props entirely)\r\n\r\n2. If you're running FxCop it tries to analyse all of the resultant assemblies in one call to FxCop.  FxCop errors when you try to do this as it has to resolve two different versions of the framework assemblies, which it can't.\r\n"}}