vs2010 references
-
Hello all, I'm having some headache with my project references. First off all, I have a common library which uses 3rd party .NET librarys. Now, the problem is that all these 3rd party dll's come from one program that needs to be installed on the system for my application to work. But still, vs2010 copys the dll's into it's output directory and uses those copys instead of the dll's located in the program folder of the 3rd party program. (Are you with me, I know my english isn't top of the notch) How can I prevent this, so that vs2010 doesn't copys those dll's again, and that my app will use the original dll's? Is it possible? The next problem I have, is that in my application, I use a usercontrol from my library that uses a 3rd party dll. And for some reason I really need to add that 3rd party dll to my application references allthough my library already references that 3rd party dll. Can I change this behaviour? So that referenced dll's from my library don't need to be referenced in my application itself? I hope that my questions are clear, Thanks in advance!
-
Hello all, I'm having some headache with my project references. First off all, I have a common library which uses 3rd party .NET librarys. Now, the problem is that all these 3rd party dll's come from one program that needs to be installed on the system for my application to work. But still, vs2010 copys the dll's into it's output directory and uses those copys instead of the dll's located in the program folder of the 3rd party program. (Are you with me, I know my english isn't top of the notch) How can I prevent this, so that vs2010 doesn't copys those dll's again, and that my app will use the original dll's? Is it possible? The next problem I have, is that in my application, I use a usercontrol from my library that uses a 3rd party dll. And for some reason I really need to add that 3rd party dll to my application references allthough my library already references that 3rd party dll. Can I change this behaviour? So that referenced dll's from my library don't need to be referenced in my application itself? I hope that my questions are clear, Thanks in advance!
have a read of this Take advantage of Reference Paths in Visual Studio and debug locally referenced libraries[^]
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
-
have a read of this Take advantage of Reference Paths in Visual Studio and debug locally referenced libraries[^]
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON
Thanks! This sounds really helpfull :) I have a question though, Say that I use this approach and on my development machine I have V1 of the 3rd party libraries, but on the customers machine, V2 of the 3rd party libraries are installed. Will that cause problems? (Let's presume the API is the same, the new version has only bug fixes and other enhancements) Because now I have a bindingredirect of a 3rd party dll in my app.config, that says, whatever version you think you need, use V1. Can this be changed to: Whatever version you think you need, use the version installed on this system?
-
Thanks! This sounds really helpfull :) I have a question though, Say that I use this approach and on my development machine I have V1 of the 3rd party libraries, but on the customers machine, V2 of the 3rd party libraries are installed. Will that cause problems? (Let's presume the API is the same, the new version has only bug fixes and other enhancements) Because now I have a bindingredirect of a 3rd party dll in my app.config, that says, whatever version you think you need, use V1. Can this be changed to: Whatever version you think you need, use the version installed on this system?
As far as I am aware, It will happily use what ever version of the 3rd partly library that is installed at that location. But you have to make sure that the functionality is available in the libraries that are installed on the local PC.
Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON