I've had made a dll out of a class that makes use of ZedGraph dll. I simply added the ZedGraph dll inside my project, and it works fine.. until you need to use the same dll with different version.
Should it be dinamically linked so that I include my dll's ZedGraph dependency manually every project that uses it?
For example, if someone later wanted to use my dll with a different version of ZedGraph dll in a project, then an exception like this would be thrown:
The file or Assembly ZedGraph, Version=5.0.8.21916, Culture=neutral, PublicKeyToken=02a83cbd123fcd60 or a dependence on that was found not. The found manifesto definition of the Assembly does not agree with the Assemblyverweis. (Exception to HRESULT: 0x80131040)
Anyone knows anything about dll versioning ? or how I could "hide" the zedgraph.dll inside my dll so that it doesnt interfere with projects that want to use newer versions of zedgraph.dll ??
Pergunta
Thiago Alencar
Hello,
I've had made a dll out of a class that makes use of ZedGraph dll. I simply added the ZedGraph dll inside my project, and it works fine.. until you need to use the same dll with different version.
Should it be dinamically linked so that I include my dll's ZedGraph dependency manually every project that uses it?
For example, if someone later wanted to use my dll with a different version of ZedGraph dll in a project, then an exception like this would be thrown:
The file or Assembly ZedGraph, Version=5.0.8.21916, Culture=neutral, PublicKeyToken=02a83cbd123fcd60 or a dependence on that was found not. The found manifesto definition of the Assembly does not agree with the Assemblyverweis. (Exception to HRESULT: 0x80131040)
Anyone knows anything about dll versioning ? or how I could "hide" the zedgraph.dll inside my dll so that it doesnt interfere with projects that want to use newer versions of zedgraph.dll ??
I appreciate your attention,
Thiago.
Link para o comentário
Compartilhar em outros sites
4 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.