开发者

"Copy Local" for website references

开发者 https://www.devze.com 2022-12-08 05:41 出处:网络
VS2005.NET I have a website project that references 3rd party dll\'s and i\'d like to have the DLL copied to the bin folder similar to the way Copy Local works for \"regular\" .Net Project

VS2005.NET

I have a website project that references 3rd party dll's and i'd like to have the DLL copied to the bin folder similar to the way Copy Local works for "regular" .Net Project

I'm not sure how to get the referenced file to the output folder for inclusion in the deployment besides dropping it into the project itself(ugly and slop开发者_运维百科py, imo).

Is there something like copy local for Web projects?

EDIT: i'm open to suggestions as to what a better solution is than what i'm trying.

Thanks


Are you adding a reference to the DLL in your project? Doing that SHOULD add it to the bin directory in your project and include it in your deployments.


Add the reference and just set "Copy Local" attribute to "true" from the property windows of assembly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号