开发者

what dlls do i need

开发者 https://www.devze.com 2022-12-17 04:15 出处:网络
i have a silverlight project it references other dlls in the开发者_JAVA百科 bin folder it looks like this

i have a silverlight project

it references other dlls

in the开发者_JAVA百科 bin folder it looks like this

myproject.dll otherproject.dll otherdll.dll

If I want to reference my project from another project what dlls do i need to copy over?

Can i just copy over the myproject.dll or will it break?


Your project will need all the libraries. I think the other DLLs will be automatically copied to your bin directory if you add the reference to myproject.dll through Visual Studio, but don't hold me to that.


It will break, unless otherproject.dll and otherdll.dll are in the GAC.

The system needs to be able to locate all references.


If you are referencing those libraries then those dll's will be added to xap package files when you build the project. You don't need to add them manually.

Only one xap file is created per one hosted silverlight solution. If you have multiple projects in a solution, only one xap will be built which will contain everything(the assemblies) you used or references.

0

精彩评论

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