{"action":"created","issue":{"url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/9","labels_url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/9/comments","events_url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/9/events","html_url":"https://github.com/baseclass/Contrib.Nuget/issues/9","id":49351347,"number":9,"title":"Possibility to change ouput directory","user":{"login":"christianhuening","id":738953,"avatar_url":"https://avatars.githubusercontent.com/u/738953?v=3","gravatar_id":"","url":"https://api.github.com/users/christianhuening","html_url":"https://github.com/christianhuening","followers_url":"https://api.github.com/users/christianhuening/followers","following_url":"https://api.github.com/users/christianhuening/following{/other_user}","gists_url":"https://api.github.com/users/christianhuening/gists{/gist_id}","starred_url":"https://api.github.com/users/christianhuening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianhuening/subscriptions","organizations_url":"https://api.github.com/users/christianhuening/orgs","repos_url":"https://api.github.com/users/christianhuening/repos","events_url":"https://api.github.com/users/christianhuening/events{/privacy}","received_events_url":"https://api.github.com/users/christianhuening/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-19T09:02:45Z","updated_at":"2015-05-05T09:02:29Z","closed_at":null,"body":"Hi there and thanks for this awesome Nuget Extension! It did solve exactly my problem. That is almost ;-) \r\nI have a plugin architecture, where in one case a plugin requires native libraries. So I used your extension to copy the native libraries alongside the plugin's output directory. As it turns out the plugin uses a 3rd party library which searches for its native libraries only in the top level execution directory. \r\nDue to my directory structure the plugin and hence the native libraries reside in subfolders from that top level directory. \r\n\r\nSo what would be really great to have is the possiblity to configure the output directory in a relative way to the building directory of the project. \r\n\r\nIs that possible?\r\n\r\nCheers,\r\nChristian"},"comment":{"url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/comments/99000744","html_url":"https://github.com/baseclass/Contrib.Nuget/issues/9#issuecomment-99000744","issue_url":"https://api.github.com/repos/baseclass/Contrib.Nuget/issues/9","id":99000744,"user":{"login":"mnivet","id":5648584,"avatar_url":"https://avatars.githubusercontent.com/u/5648584?v=3","gravatar_id":"","url":"https://api.github.com/users/mnivet","html_url":"https://github.com/mnivet","followers_url":"https://api.github.com/users/mnivet/followers","following_url":"https://api.github.com/users/mnivet/following{/other_user}","gists_url":"https://api.github.com/users/mnivet/gists{/gist_id}","starred_url":"https://api.github.com/users/mnivet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnivet/subscriptions","organizations_url":"https://api.github.com/users/mnivet/orgs","repos_url":"https://api.github.com/users/mnivet/repos","events_url":"https://api.github.com/users/mnivet/events{/privacy}","received_events_url":"https://api.github.com/users/mnivet/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T09:02:29Z","updated_at":"2015-05-05T09:02:29Z","body":"Instead of trying to copy the native assembly in a parent folder of its output location, an other solution may be to extend the AssemblyResolver to search in subfolders of your plugins ?\r\n\r\nPersonally I use something like that in relation with this package to output native assemblies in amd64 and x86 subfolders of the standard output folder and resolve at runtime the load of the assembly by looking in the folder corresponding to the execution environment.\r\n\r\nMay be a similar solution can be applied to your problem by extending the assembly resolver to search in your plugins subfolders\r\n\r\nlook at the documentation here:\r\nhttps://msdn.microsoft.com/fr-fr/library/system.appdomain.assemblyresolve(v=vs.110).aspx\r\n"}}