Why is the _bin_DeployableAssemblies folder specific to web applications?

被刻印的时光 ゝ 提交于 2019-12-20 02:55:32

问题


The _bin_DeployableAssemblies folder was added in VS 2010 SP1 as a common way to pull in assemblies for which no hard dependency exists.

I believe it was originally added as a way to allow folks to bin-deploy MVC, but it seems useful in environments outside of web applications. In particular, a lot of inversion of control scenarios will result in loosely coupled components that don't require a hard reference, but still require dependent assemblies to be located (usually in the bin directory).

I searched through the .targets files on my system, but the only references to _bin_DeployableAssemblies is in web-related targets. This seems short-sighted and I'm curious if anyone knows why Microsoft would not include this functionality for other application types.

来源:https://stackoverflow.com/questions/8389506/why-is-the-bin-deployableassemblies-folder-specific-to-web-applications

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!