My dev machine has 2007 installed and the project references the corresponding version of PIAs but I would like my application to be able to run with 2003 at least when deployed. I tried setting the Specific Version property of the reference to false but this didn’t work. My Visual Studio version is 2005, BTW.
My dev machine has 2007 installed and the project references the corresponding version of
Share
Use late rather than early binding (in other words, don’t reference any PIAs). This MS kb article shows the difference.
However, to simplify development it can sometimes be easier to start off with early binding against the earliest version you want to support (so you get Intellisense support etc in Visual Studio) and then when you’re finished, you remove the references and change it over to late binding.