开发者

C# - adding a References directory to my project that is called "bin" just like in games installs?

i would like to add a "bin" directory (just like开发者_运维问答 in games install directories) that will include all the non-default Assemblies (only assemblies i add, and not things like System.Windows.Forms)


If I am understanding your question correctly, what you are looking for is post-build events.

This article does a great job of summing them up:

http://geekswithblogs.net/dchestnutt/archive/2006/05/30/80113.aspx

I used them awhile back to do something similar to what you are asking (where I wanted certain compiled assemblies to exist in a folder besides bin and debug).

Hope this helps!


i know its very old thread. but, adding answer if anybody looking into this.

  • Add reference from anywhere on hard drive.
  • click on reference go to
  • properties -> copy to local -> set to true if false

so that visual studio will copy file to bin while building your. project

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜