Beantwortet SMO Versioning issues

  • Mittwoch, 18. Juli 2012 20:18
     
     

    I have a software package that installs SQL Server 2008 R2 Express, which uses SMO.

    On my development machine, I have installed SQL Server 2012 Express and will begin distrubuting that soon, however only new installs will get 2012 since only the Instance Name is checked as the prerequisite.

    The problem is, my SMO assemblies from 2012 don't seem to work with the previous installs that use 2008 R2. I thought that setting "Speficic Version" to false on the references that it would resolve, but that doesn't seem to be the case?

    What should I do to get this straight?

    Thanks!!!

Alle Antworten

  • Mittwoch, 18. Juli 2012 21:06
     
     Beantwortet

    Finally found some info on this. (I was searching for "specific version" thinking that was the key...)

    Looks like I will just have to foce the install of Management Objects and CLR objects of the latest version of SQL that I support. Bleh.

  • Montag, 23. Juli 2012 07:24
    Moderator
     
     
    Thanks for sharing, rev

    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.